update: add review count and also verification from admin panel

This commit is contained in:
mahyargdz
2025-03-02 11:49:26 +03:30
parent 27f4c9c633
commit af9f365bc7
13 changed files with 175 additions and 98 deletions
@@ -36,7 +36,7 @@ export class Discount extends BaseEntity {
@Column({ type: "timestamptz" })
endDate: Date;
@ManyToMany(() => SubscriptionPlan, (subscriptionPlan) => subscriptionPlan.discounts, { nullable: true })
@ManyToMany(() => SubscriptionPlan, { nullable: true })
@JoinTable()
subscriptionPlans: SubscriptionPlan[];