add domain to update restuarant
This commit is contained in:
@@ -13,6 +13,11 @@ export class CreateRestaurantDto {
|
|||||||
@IsString()
|
@IsString()
|
||||||
slug?: string;
|
slug?: string;
|
||||||
|
|
||||||
|
@ApiPropertyOptional({ example: 'zhivan.dmenu.ir', description: 'دامنه اختصاصی رستوران' })
|
||||||
|
@IsOptional()
|
||||||
|
@IsString()
|
||||||
|
domain?: string;
|
||||||
|
|
||||||
@ApiPropertyOptional({ example: 2020, description: 'سال تأسیس' })
|
@ApiPropertyOptional({ example: 2020, description: 'سال تأسیس' })
|
||||||
@IsOptional()
|
@IsOptional()
|
||||||
@IsNumber()
|
@IsNumber()
|
||||||
|
|||||||
Reference in New Issue
Block a user