Add case identity filters and description validation

This commit is contained in:
SepehrYahyaee
2026-09-27 09:54:56 +03:30
parent 8ac185c861
commit b758346af1
15 changed files with 339 additions and 13 deletions

View File

@@ -23,6 +23,7 @@ export class Person {
@Prop() nationalCodeOfDriver?: string;
@Prop() insurerLicense?: string;
@Prop() driverLicense?: string;
@Prop() driverLicenseDate?: string;
/** Driving licence type code from the Fanavaran lookup (GET /lookups/driving-licence-types). */
@Prop() licenseType?: string;
@@ -66,6 +67,7 @@ export class InquiryParticipant {
@Prop({ type: Boolean }) hasDrivingLicense?: boolean;
@Prop() licenseNumber?: string;
@Prop() licenseType?: string;
@Prop() driverLicenseDate?: string;
}
export const InquiryParticipantSchema =
SchemaFactory.createForClass(InquiryParticipant);

View File

@@ -53,6 +53,7 @@ export class CarDetail {
insurerBirthday?: string;
driverBirthday?: string | null;
driverLicenseDate?: string;
}
export class InsuranceDetail {