mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-30 11:08:12 +00:00
fleet
This commit is contained in:
@@ -88,4 +88,21 @@ export class Vehicle extends BaseEntity {
|
||||
|
||||
@Column({ name: 'location_id', type: 'uuid', nullable: true })
|
||||
locationId?: string;
|
||||
|
||||
// --- Compliance / expiry tracking ---
|
||||
@Column({ name: 'vin', type: 'varchar', nullable: true })
|
||||
vin?: string;
|
||||
|
||||
/** Owned | Leased | Rented */
|
||||
@Column({ name: 'ownership', type: 'varchar', nullable: true })
|
||||
ownership?: string;
|
||||
|
||||
@Column({ name: 'insurance_expiry', type: 'date', nullable: true })
|
||||
insuranceExpiry?: string;
|
||||
|
||||
@Column({ name: 'registration_expiry', type: 'date', nullable: true })
|
||||
registrationExpiry?: string;
|
||||
|
||||
@Column({ name: 'next_inspection_date', type: 'date', nullable: true })
|
||||
nextInspectionDate?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user