verify cash paymnt
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { Collection, Entity, Index, OneToMany, Property } from '@mikro-orm/core';
|
||||
import { Collection, Entity, Enum, Index, OneToMany, Property } from '@mikro-orm/core';
|
||||
import { BaseEntity } from '../../../common/entities/base.entity';
|
||||
import { Delivery } from '../../delivery/entities/delivery.entity';
|
||||
import { PlanEnum } from '../interface/plan.interface';
|
||||
|
||||
@Entity({ tableName: 'restaurants' })
|
||||
@Index({ properties: ['isActive'] })
|
||||
@@ -42,7 +43,6 @@ export class Restaurant extends BaseEntity {
|
||||
@Property({ nullable: true })
|
||||
establishedYear?: number;
|
||||
|
||||
|
||||
@Property({ nullable: true })
|
||||
phone?: string;
|
||||
|
||||
@@ -96,4 +96,7 @@ export class Restaurant extends BaseEntity {
|
||||
marriageDateScore: string;
|
||||
referrerScore: string;
|
||||
} | null = null;
|
||||
|
||||
@Enum(() => PlanEnum)
|
||||
plan: PlanEnum = PlanEnum.Base;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user