Fixed VIN placement for when the users use vin-based inquiry

This commit is contained in:
SepehrYahyaee
2026-08-10 12:14:51 +03:30
parent 210e96fcf1
commit ca7200e17d
3 changed files with 9 additions and 3 deletions

View File

@@ -53,6 +53,8 @@ export const PersonSchema = SchemaFactory.createForClass(Person);
@Schema({ _id: false })
export class Vehicle {
@Prop() plateId?: string;
/** VIN / chassis number — populated only when the inquiry was performed via VIN lookup. */
@Prop() vin?: string;
@Prop() name?: string;
@Prop() model?: string;
@Prop() type?: string;