79 lines
2.6 KiB
TypeScript
79 lines
2.6 KiB
TypeScript
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 { WithdrawModel } from '../../model/withdraw.model';
|
|
declare class GeneratedWithdrawFindOrderDto {
|
|
id?: OrderBy;
|
|
createTime?: OrderBy;
|
|
updateTime?: OrderBy;
|
|
deleteTime?: OrderBy;
|
|
amount?: OrderBy;
|
|
actualAmount?: OrderBy;
|
|
status?: OrderBy;
|
|
userBankId?: OrderBy;
|
|
cardNo?: OrderBy;
|
|
bankName?: OrderBy;
|
|
phone?: OrderBy;
|
|
rejectReason?: OrderBy;
|
|
remark?: OrderBy;
|
|
}
|
|
declare class GeneratedWithdrawFindRelationDto {
|
|
user?: boolean;
|
|
userBank?: boolean;
|
|
}
|
|
declare class GeneratedWithdrawFindExpressionDto {
|
|
id?: Expression;
|
|
createTime?: Expression;
|
|
updateTime?: Expression;
|
|
deleteTime?: Expression;
|
|
amount?: Expression;
|
|
actualAmount?: Expression;
|
|
status?: Expression;
|
|
userBankId?: Expression;
|
|
cardNo?: Expression;
|
|
bankName?: Expression;
|
|
phone?: Expression;
|
|
rejectReason?: Expression;
|
|
remark?: Expression;
|
|
}
|
|
declare class GeneratedWithdrawFindExtraDto {
|
|
expression: GeneratedWithdrawFindExpressionDto;
|
|
order: GeneratedWithdrawFindOrderDto[];
|
|
relations?: GeneratedWithdrawFindRelationDto;
|
|
}
|
|
declare class GeneratedWithdrawFindWhereDto {
|
|
id?: number;
|
|
createTime?: string;
|
|
updateTime?: string;
|
|
deleteTime?: string;
|
|
amount?: string;
|
|
actualAmount?: string;
|
|
status?: number;
|
|
userBankId?: number;
|
|
cardNo?: string;
|
|
bankName?: string;
|
|
phone?: string;
|
|
rejectReason?: string;
|
|
remark?: string;
|
|
}
|
|
declare class GeneratedWithdrawFindDto {
|
|
paginated?: PaginatedDto;
|
|
where?: GeneratedWithdrawFindWhereDto;
|
|
extra?: GeneratedWithdrawFindExtraDto;
|
|
}
|
|
declare const GeneratedWithdrawDetailWhereDto_base: import("@nestjs/common").Type<Partial<Omit<GeneratedWithdrawFindWhereDto, "id">>>;
|
|
declare class GeneratedWithdrawDetailWhereDto extends GeneratedWithdrawDetailWhereDto_base {
|
|
}
|
|
declare class GeneratedWithdrawDetailDto {
|
|
where: GeneratedWithdrawDetailWhereDto;
|
|
extra: GeneratedWithdrawFindExtraDto;
|
|
}
|
|
export declare class GeneratedWithdrawController {
|
|
private repos;
|
|
constructor(repos: Repository<WithdrawModel>);
|
|
list(dto: GeneratedWithdrawFindDto): Promise<import("src/app/common/api").ApiResponseVo<import("src/app/common/api").PaginatedVo<WithdrawModel[]>>>;
|
|
detail(id: number, dto: GeneratedWithdrawDetailDto): Promise<import("src/app/common/api").ApiResponseVo<WithdrawModel | null | undefined>>;
|
|
}
|
|
export {};
|