import { Prop, Schema, SchemaFactory } from "@nestjs/mongoose"; /** * Immutable snapshot of the expert at reply time (field expert or damage expert). * Stored on blame `expert.decision` and claim `evaluation.damageExpertReply*`. */ @Schema({ _id: false }) export class ExpertProfileSnapshot { @Prop() firstName?: string; @Prop() lastName?: string; @Prop() email?: string; @Prop() insuActivityCo?: string; @Prop() mobile?: string; } export const ExpertProfileSnapshotSchema = SchemaFactory.createForClass(ExpertProfileSnapshot);