Skip to content
Snippets Groups Projects
Commit c9b9c7b7 authored by roshan's avatar roshan
Browse files

create doctor dto change

parent b9623159
Branches
No related tags found
No related merge requests found
......@@ -33,9 +33,9 @@ export class CreateDoctorDto {
example: 'fd3a0d17-5a61-4b2f-9c88-abcdeff12345',
required: false,
})
@IsOptional()
@IsUUID()
doctorSpecialityId?: string;
@IsNotEmpty({ message: 'Doctor speciality is required' })
doctorSpecialityId: string;
@ApiProperty({
description: 'Full name of the doctor',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment