forked from Yara724/api
YARA-913
This commit is contained in:
@@ -150,6 +150,12 @@ export class DamageExpertModel {
|
||||
@Prop({ type: "string" })
|
||||
otp: string;
|
||||
|
||||
@Prop({ default: null })
|
||||
captcha?: string | null;
|
||||
|
||||
@Prop({ default: 0 })
|
||||
captchaExpire?: number;
|
||||
|
||||
@Prop({ type: "string" })
|
||||
address: string;
|
||||
|
||||
|
||||
@@ -72,6 +72,12 @@ export class ExpertModel {
|
||||
@Prop({ type: "string" })
|
||||
otp: string;
|
||||
|
||||
@Prop({ default: null })
|
||||
captcha?: string | null;
|
||||
|
||||
@Prop({ default: 0 })
|
||||
captchaExpire?: number;
|
||||
|
||||
|
||||
createdAt: Date;
|
||||
}
|
||||
|
||||
@@ -37,6 +37,12 @@ export class FieldExpertModel {
|
||||
@Prop({ type: "string", default: "" })
|
||||
otp: string;
|
||||
|
||||
@Prop({ default: null })
|
||||
captcha?: string | null;
|
||||
|
||||
@Prop({ default: 0 })
|
||||
captchaExpire?: number;
|
||||
|
||||
createdAt: Date;
|
||||
}
|
||||
|
||||
|
||||
@@ -41,6 +41,12 @@ export class InsurerExpertModel {
|
||||
@Prop()
|
||||
address?: string;
|
||||
|
||||
@Prop({ default: null })
|
||||
captcha?: string | null;
|
||||
|
||||
@Prop({ default: 0 })
|
||||
captchaExpire?: number;
|
||||
|
||||
createdAt: Date;
|
||||
}
|
||||
export const InsurerExpertDbSchema =
|
||||
|
||||
@@ -27,6 +27,12 @@ export class RegistrarModel {
|
||||
|
||||
@Prop({ type: "string", default: "" })
|
||||
otp: string;
|
||||
|
||||
@Prop({ default: null })
|
||||
captcha?: string | null;
|
||||
|
||||
@Prop({ default: 0 })
|
||||
captchaExpire?: number;
|
||||
}
|
||||
|
||||
export const RegistrarDbSchema = SchemaFactory.createForClass(RegistrarModel);
|
||||
|
||||
Reference in New Issue
Block a user