first
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import { Types } from "mongoose";
|
||||
|
||||
export enum TransactionType {
|
||||
CREDIT = "CREDIT",
|
||||
DEBIT = "DEBIT",
|
||||
WITHDRAWAL = "WITHDRAWAL",
|
||||
}
|
||||
|
||||
export interface ITransaction {
|
||||
wallet: Types.ObjectId;
|
||||
order: number;
|
||||
amount: number;
|
||||
transactionType: TransactionType;
|
||||
reason: string;
|
||||
}
|
||||
Reference in New Issue
Block a user