updated uscib member flag and holder type to required false and allow any length
This commit is contained in:
parent
203caabe5e
commit
cb74d0a2d1
@ -18,11 +18,9 @@ export class GOVAGENCYFLAG_DTO {
|
||||
}
|
||||
|
||||
export class USCIBMEMBERFLAG_DTO {
|
||||
@ApiProperty({ required: true })
|
||||
@Length(0, 1, { message: 'Property P_USCIBMEMBERFLAG must be between 0 to 1 character' })
|
||||
@ApiProperty({ required: false })
|
||||
@IsString({ message: 'Property P_USCIBMEMBERFLAG must be a string' })
|
||||
@IsDefined({ message: 'Property P_USCIBMEMBERFLAG is required' })
|
||||
P_USCIBMEMBERFLAG: string;
|
||||
P_USCIBMEMBERFLAG: string | null;
|
||||
}
|
||||
|
||||
export class LOCATIONID_DTO {
|
||||
@ -58,11 +56,9 @@ export class HOLDERNO_DTO {
|
||||
}
|
||||
|
||||
export class HOLDERTYPE_DTO {
|
||||
@ApiProperty({ required: true })
|
||||
@Length(0, 4, { message: 'Property P_HOLDERTYPE must be between 0 to 6 characters' })
|
||||
@ApiProperty({ required: false })
|
||||
@IsString({ message: 'Property P_HOLDERTYPE must be a string' })
|
||||
@IsDefined({ message: 'Property P_HOLDERTYPE is required' })
|
||||
P_HOLDERTYPE: string;
|
||||
P_HOLDERTYPE: string | null;
|
||||
}
|
||||
|
||||
export class HOLDERNAME_DTO {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user