module provinces
This commit is contained in:
@@ -25,6 +25,12 @@ export class CreateSalonDto {
|
||||
@Matches(/^09\d{9}$/)
|
||||
phone: string;
|
||||
|
||||
@IsUUID()
|
||||
provinceId: string;
|
||||
|
||||
@IsUUID()
|
||||
cityId: string;
|
||||
|
||||
@IsOptional()
|
||||
@IsUUID()
|
||||
ownerId?: string;
|
||||
|
||||
Reference in New Issue
Block a user