coupon module

This commit is contained in:
2025-12-06 12:50:51 +03:30
parent 7a5b181af2
commit 816cb639e7
15 changed files with 804 additions and 3 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ export class Order extends BaseEntity {
@Property({ type: 'decimal', precision: 10, scale: 0, default: 0 })
couponDiscount: number = 0;
@Property({ type: 'json', nullable: true })
@Property({ type: 'jsonb', nullable: true })
couponDetail: {
couponId: string;
couponName: string;