Merge branch 'master' into production
This commit is contained in:
@@ -100,13 +100,13 @@ export class Restaurant extends BaseEntity {
|
||||
@Enum(() => PlanEnum)
|
||||
plan: PlanEnum = PlanEnum.Base;
|
||||
|
||||
@Property({unique: true})
|
||||
subscriptionId!: string;
|
||||
@Property({unique: true,nullable: true})
|
||||
subscriptionId?: string;
|
||||
|
||||
@Property()
|
||||
subscriptionEndDate!: Date;
|
||||
@Property({nullable: true})
|
||||
subscriptionEndDate?: Date;
|
||||
|
||||
@Property()
|
||||
subscriptionStartDate!: Date;
|
||||
@Property({nullable: true})
|
||||
subscriptionStartDate?: Date;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user