add phone
This commit is contained in:
@@ -50,6 +50,11 @@ export class CreateRestaurantDto {
|
||||
@IsString()
|
||||
phoneNumber?: string;
|
||||
|
||||
@ApiPropertyOptional({ example: '09123456789', description: 'شماره تلفن' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
phone?: string;
|
||||
|
||||
@ApiPropertyOptional({ example: 'https://instagram.com/cafemorteza', description: 'آدرس اینستاگرام' })
|
||||
@IsOptional()
|
||||
@IsUrl()
|
||||
|
||||
Reference in New Issue
Block a user