seed
This commit is contained in:
@@ -10,6 +10,10 @@ export class CreateRestaurantDto {
|
||||
@IsString()
|
||||
slug!: string;
|
||||
|
||||
@ApiProperty({ example: 'zhivan.example.com', description: 'دامنه رستوران' })
|
||||
@IsString()
|
||||
domain!: string;
|
||||
|
||||
@ApiPropertyOptional({ example: 'https://example.com/logo.png', description: 'آدرس تصویر لوگو' })
|
||||
@IsOptional()
|
||||
@IsUrl()
|
||||
|
||||
Reference in New Issue
Block a user