This commit is contained in:
2025-12-02 22:57:30 +03:30
parent 40442686be
commit f193266235
19 changed files with 219 additions and 404 deletions
@@ -77,6 +77,9 @@ export class Restaurant extends BaseEntity {
@Property({ type: 'decimal', default: 0 })
vat?: number = 0;
@Property()
domain!: string;
// --- روش‌های ارسال ---
@OneToMany(() => Delivery, delivery => delivery.restaurant)
deliveries = new Collection<Delivery>(this);