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,20 @@
import { Types } from "mongoose";
export interface ICoupon {
shopId: Types.ObjectId;
discountAmount: number;
discountPercentage: number;
usageLimit: number;
usageCount: number;
userUsageLimit: number;
code: string;
minPurchaseAmount: number;
category: Types.ObjectId[];
includedProducts: number[];
excludedProducts: number[];
description: string;
isActive: boolean;
includeSpecialSale: boolean;
expirationDate: string;
deleted: boolean;
}