forked from Yara724/api
Add case identity filters and description validation
This commit is contained in:
@@ -81,6 +81,14 @@ export class InquiryParticipantInputDto {
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
licenseType?: string;
|
||||
|
||||
@ApiPropertyOptional({
|
||||
description:
|
||||
"Driver licence issue date. Required only for a driver who has a licence; Jalali YYYY/MM/DD is recommended.",
|
||||
example: "1400/01/15",
|
||||
})
|
||||
@IsOptional()
|
||||
driverLicenseDate?: string | number;
|
||||
}
|
||||
|
||||
export class InquiryVehicleInputDto {
|
||||
@@ -168,6 +176,9 @@ export class InquiryParticipantFieldsDto {
|
||||
@ApiHideProperty()
|
||||
driverLicense?: string;
|
||||
|
||||
@ApiHideProperty()
|
||||
driverLicenseDate?: string;
|
||||
|
||||
@ApiHideProperty()
|
||||
licenseType?: string;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user