m
This commit is contained in:
@@ -0,0 +1,80 @@
|
||||
import { PaginatedDto } from 'src/app/common/api';
|
||||
import { Repository } from 'typeorm';
|
||||
import { OrderBy } from '../../app/common/enum/order_by.enum';
|
||||
import { Expression } from '../../app/common/enum/expression.enum';
|
||||
import { RedPacketModel } from '../../model/red_packet.model';
|
||||
declare class GeneratedRed_packetFindOrderDto {
|
||||
id?: OrderBy;
|
||||
createTime?: OrderBy;
|
||||
updateTime?: OrderBy;
|
||||
deleteTime?: OrderBy;
|
||||
totalAmount?: OrderBy;
|
||||
totalCount?: OrderBy;
|
||||
remainingAmount?: OrderBy;
|
||||
remainingCount?: OrderBy;
|
||||
claimedUserId?: OrderBy;
|
||||
status?: OrderBy;
|
||||
groupId?: OrderBy;
|
||||
type?: OrderBy;
|
||||
createdAt?: OrderBy;
|
||||
expireTime?: OrderBy;
|
||||
}
|
||||
declare class GeneratedRed_packetFindRelationDto {
|
||||
user?: boolean;
|
||||
}
|
||||
declare class GeneratedRed_packetFindExpressionDto {
|
||||
id?: Expression;
|
||||
createTime?: Expression;
|
||||
updateTime?: Expression;
|
||||
deleteTime?: Expression;
|
||||
totalAmount?: Expression;
|
||||
totalCount?: Expression;
|
||||
remainingAmount?: Expression;
|
||||
remainingCount?: Expression;
|
||||
claimedUserId?: Expression;
|
||||
status?: Expression;
|
||||
groupId?: Expression;
|
||||
type?: Expression;
|
||||
createdAt?: Expression;
|
||||
expireTime?: Expression;
|
||||
}
|
||||
declare class GeneratedRed_packetFindExtraDto {
|
||||
expression: GeneratedRed_packetFindExpressionDto;
|
||||
order: GeneratedRed_packetFindOrderDto[];
|
||||
relations?: GeneratedRed_packetFindRelationDto;
|
||||
}
|
||||
declare class GeneratedRed_packetFindWhereDto {
|
||||
id?: number;
|
||||
createTime?: string;
|
||||
updateTime?: string;
|
||||
deleteTime?: string;
|
||||
totalAmount?: number;
|
||||
totalCount?: number;
|
||||
remainingAmount?: number;
|
||||
remainingCount?: number;
|
||||
claimedUserId?: number;
|
||||
status?: number;
|
||||
groupId?: string;
|
||||
type?: number;
|
||||
createdAt?: number;
|
||||
expireTime?: number;
|
||||
}
|
||||
declare class GeneratedRed_packetFindDto {
|
||||
paginated?: PaginatedDto;
|
||||
where?: GeneratedRed_packetFindWhereDto;
|
||||
extra?: GeneratedRed_packetFindExtraDto;
|
||||
}
|
||||
declare const GeneratedRed_packetDetailWhereDto_base: import("@nestjs/common").Type<Partial<Omit<GeneratedRed_packetFindWhereDto, "id">>>;
|
||||
declare class GeneratedRed_packetDetailWhereDto extends GeneratedRed_packetDetailWhereDto_base {
|
||||
}
|
||||
declare class GeneratedRed_packetDetailDto {
|
||||
where: GeneratedRed_packetDetailWhereDto;
|
||||
extra: GeneratedRed_packetFindExtraDto;
|
||||
}
|
||||
export declare class GeneratedRed_packetController {
|
||||
private repos;
|
||||
constructor(repos: Repository<RedPacketModel>);
|
||||
list(dto: GeneratedRed_packetFindDto): Promise<import("src/app/common/api").ApiResponseVo<import("src/app/common/api").PaginatedVo<RedPacketModel[]>>>;
|
||||
detail(id: number, dto: GeneratedRed_packetDetailDto): Promise<import("src/app/common/api").ApiResponseVo<RedPacketModel | null | undefined>>;
|
||||
}
|
||||
export {};
|
||||
Reference in New Issue
Block a user