This commit is contained in:
mahyargdz
2025-09-14 15:15:03 +03:30
commit be82059172
534 changed files with 51310 additions and 0 deletions
@@ -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;
}