chore: add referral module

This commit is contained in:
mahyargdz
2025-04-14 16:26:37 +03:30
parent 99ca2461f1
commit bec73658d5
21 changed files with 378 additions and 8 deletions
@@ -21,7 +21,7 @@ export class Discount extends BaseEntity {
@Column({ type: "enum", enum: DiscountCalculationType })
calculationType: DiscountCalculationType;
@Column({ type: "decimal", precision: 10, scale: 2, nullable: false, transformer: new DecimalTransformer() })
@Column({ type: "decimal", precision: 16, scale: 2, nullable: false, transformer: new DecimalTransformer() })
amount: Decimal;
@Column({ type: "boolean", default: true })