forked from Yara724/api
YARA-883 + Side ID fixes
This commit is contained in:
@@ -9,8 +9,8 @@ import { UserReplyEnum } from "src/Types&Enums/claim-request-management/userRepl
|
||||
|
||||
@Schema({ _id: false })
|
||||
export class ClaimPartPricing {
|
||||
@Prop({ type: String })
|
||||
partId: string;
|
||||
@Prop({ type: Number })
|
||||
partId: number;
|
||||
|
||||
/**
|
||||
* Unified outer-part snapshot `{ id?, name, side, label_fa, catalogKey? }` (same as
|
||||
@@ -269,6 +269,12 @@ export class ClaimPriceDrop {
|
||||
|
||||
@Prop({ type: Number })
|
||||
sumOfSeverity?: number;
|
||||
|
||||
@Prop({ type: Number })
|
||||
coefficientYear?: number;
|
||||
|
||||
@Prop({ type: [MongooseSchema.Types.Mixed], default: [] })
|
||||
partLines?: Array<Record<string, unknown>>;
|
||||
}
|
||||
export const ClaimPriceDropSchema = SchemaFactory.createForClass(ClaimPriceDrop);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user