rest
This commit is contained in:
@@ -65,10 +65,6 @@ export class CreateRestaurantDto {
|
|||||||
@IsNumber()
|
@IsNumber()
|
||||||
establishedYear?: number;
|
establishedYear?: number;
|
||||||
|
|
||||||
@ApiPropertyOptional({ example: '+989123456789', description: 'شماره تماس' })
|
|
||||||
@IsOptional()
|
|
||||||
@IsString()
|
|
||||||
phoneNumber?: string;
|
|
||||||
|
|
||||||
@ApiPropertyOptional({ example: '09123456789', description: 'شماره تلفن' })
|
@ApiPropertyOptional({ example: '09123456789', description: 'شماره تلفن' })
|
||||||
@IsOptional()
|
@IsOptional()
|
||||||
|
|||||||
@@ -42,8 +42,6 @@ export class Restaurant extends BaseEntity {
|
|||||||
@Property({ nullable: true })
|
@Property({ nullable: true })
|
||||||
establishedYear?: number;
|
establishedYear?: number;
|
||||||
|
|
||||||
@Property({ nullable: true })
|
|
||||||
phoneNumber?: string;
|
|
||||||
|
|
||||||
@Property({ nullable: true })
|
@Property({ nullable: true })
|
||||||
phone?: string;
|
phone?: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user