YARA-1034

This commit is contained in:
SepehrYahyaee
2026-06-20 14:30:29 +03:30
parent 15fcb011aa
commit 2e4b10455b
7 changed files with 28 additions and 5 deletions

View File

@@ -159,6 +159,9 @@ export class DamageExpertModel {
@Prop({ type: "string" })
city: string;
@Prop({type: "string", required: false})
expertCode?: string;
createdAt: Date;
}

View File

@@ -72,6 +72,9 @@ export class ExpertModel {
@Prop({ type: "string" })
otp: string;
@Prop({type: "string", required: false})
expertCode?: string;
createdAt: Date;
}

View File

@@ -46,6 +46,9 @@ export class FieldExpertModel {
@Prop({ type: "string", default: "" })
otp: string;
@Prop({type: "string", required: false})
expertCode?: string;
createdAt: Date;
}

View File

@@ -41,6 +41,9 @@ export class InsurerExpertModel {
@Prop()
address?: string;
@Prop({type: "string", required: false})
expertCode?: string;
createdAt: Date;
}
export const InsurerExpertDbSchema =

View File

@@ -27,6 +27,9 @@ export class RegistrarModel {
@Prop({ type: "string", default: "" })
otp: string;
@Prop({type: "string", required: false})
expertCode?: string;
}
export const RegistrarDbSchema = SchemaFactory.createForClass(RegistrarModel);