sservice area
This commit is contained in:
@@ -35,10 +35,13 @@ export class CreateRestaurantDto {
|
||||
@IsNumber()
|
||||
longitude?: number;
|
||||
|
||||
@ApiPropertyOptional({ example: 5000, description: 'حوزه سرویسدهی به متر' })
|
||||
@ApiPropertyOptional({
|
||||
example: 'POLYGON((51.389 35.6892, 51.390 35.6892, 51.390 35.6902, 51.389 35.6902, 51.389 35.6892))',
|
||||
description: 'محدوده سرویسدهی به صورت PostGIS Polygon (WKT format)',
|
||||
})
|
||||
@IsOptional()
|
||||
@IsNumber()
|
||||
serviceArea?: number;
|
||||
@IsString()
|
||||
serviceArea?: string;
|
||||
|
||||
@ApiPropertyOptional({ example: 2020, description: 'سال تأسیس' })
|
||||
@IsOptional()
|
||||
|
||||
Reference in New Issue
Block a user