forked from Yara724/api
YARA-858
This commit is contained in:
@@ -123,6 +123,9 @@ export class DamageExpertModel {
|
||||
@Prop({ type: Types.ObjectId })
|
||||
clientKey?: Types.ObjectId;
|
||||
|
||||
@Prop({ type: Types.ObjectId, index: true })
|
||||
branchId?: Types.ObjectId;
|
||||
|
||||
@Prop({ type: PersonalInfoSchema })
|
||||
personalInfo?: PersonalInfo;
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ export class ExpertFileActivity {
|
||||
@Prop({ type: Date, default: Date.now, index: true })
|
||||
occurredAt: Date;
|
||||
|
||||
@Prop({ type: String, required: false, index: true })
|
||||
@Prop({ type: String, required: false })
|
||||
idempotencyKey?: string;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { Prop, Schema, SchemaFactory } from "@nestjs/mongoose";
|
||||
import { Types } from "mongoose";
|
||||
import { Degrees } from "src/Types&Enums/degrees.enum";
|
||||
import { RoleEnum } from "src/Types&Enums/role.enum";
|
||||
import { UserType } from "src/Types&Enums/userType.enum";
|
||||
@@ -65,6 +66,9 @@ export class ExpertModel {
|
||||
@Prop({})
|
||||
clientKey?: string;
|
||||
|
||||
@Prop({ type: Types.ObjectId, index: true })
|
||||
branchId?: Types.ObjectId;
|
||||
|
||||
@Prop({ type: "string" })
|
||||
otp: string;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user