14 lines
426 B
TypeScript
14 lines
426 B
TypeScript
import { WalletBillModel, WalletBillType } from 'src/model/wallet_bill.model';
|
|
import { Repository } from 'typeorm';
|
|
export interface BalanceLogParams {
|
|
userId: number;
|
|
type: WalletBillType;
|
|
before: string;
|
|
after: string;
|
|
amount: string;
|
|
remark?: string;
|
|
}
|
|
export declare class BalanceLogHelp {
|
|
static record(walletBillRepo: Repository<WalletBillModel>, params: BalanceLogParams): Promise<void>;
|
|
}
|