changed fax_no_dto and middle_initial_dto to required: false
This commit is contained in:
parent
d3c029173e
commit
a012287e19
@ -40,7 +40,7 @@ export class LASTNAME_DTO {
|
||||
}
|
||||
|
||||
export class MIDDLE_INITIAL_DTO {
|
||||
@ApiProperty({ required: true })
|
||||
@ApiProperty({ required: false })
|
||||
@Length(0, 3, { message: 'Property P_MIDDLEINITIAL must be between 0 to 3 characters' })
|
||||
@IsString({ message: 'Property P_MIDDLEINITIAL must be a string' })
|
||||
P_MIDDLEINITIAL: string;
|
||||
@ -70,7 +70,7 @@ export class MOBILE_NO_DTO {
|
||||
}
|
||||
|
||||
export class FAX_NO_DTO {
|
||||
@ApiProperty({ required: true })
|
||||
@ApiProperty({ required: false })
|
||||
@Length(0, 20, { message: 'Property FAXNO must be between 0 to 20 characters' })
|
||||
@IsString({ message: 'Property FAXNO must be a string' })
|
||||
P_FAXNO: string;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user