rest
This commit is contained in:
@@ -83,4 +83,17 @@ export class Restaurant extends BaseEntity {
|
|||||||
// --- روشهای ارسال ---
|
// --- روشهای ارسال ---
|
||||||
@OneToMany(() => Delivery, delivery => delivery.restaurant)
|
@OneToMany(() => Delivery, delivery => delivery.restaurant)
|
||||||
deliveries = new Collection<Delivery>(this);
|
deliveries = new Collection<Delivery>(this);
|
||||||
|
|
||||||
|
@Property({ type: 'json', nullable: true })
|
||||||
|
score: {
|
||||||
|
purchaseAmount: string;
|
||||||
|
purchaseScore: string;
|
||||||
|
scoreAmount: string;
|
||||||
|
scoreCredit: string;
|
||||||
|
// bonus score
|
||||||
|
birthdayScore: string;
|
||||||
|
registerScore: string;
|
||||||
|
marriageDateScore: string;
|
||||||
|
referrerScore: string;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user