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