2025-05-13 12:16:39 +02:00
|
|
|
import type { InspectionViewMoel } from "../inspectionPlan/inspectionPlan.models";
|
2025-05-11 16:44:16 +02:00
|
|
|
import type { VehicleTypeViewModel } from "../vehicleType/vehicleType.models";
|
|
|
|
|
2025-03-24 15:12:03 +01:00
|
|
|
export interface VehicleViewModel {
|
|
|
|
id: string;
|
2025-03-26 12:45:14 +01:00
|
|
|
name: string;
|
2025-04-28 12:29:44 +02:00
|
|
|
location: string;
|
|
|
|
vehicleTypeId: string;
|
2025-05-11 16:44:16 +02:00
|
|
|
vehicleType: VehicleTypeViewModel;
|
2025-05-13 12:16:39 +02:00
|
|
|
inspections: Array<InspectionViewMoel>;
|
2025-03-24 15:12:03 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface CreateVehicleViewModel {
|
2025-03-26 12:45:14 +01:00
|
|
|
name: string;
|
2025-04-28 12:29:44 +02:00
|
|
|
location: string;
|
|
|
|
vehicleTypeId: string;
|
2025-03-24 15:12:03 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface UpdateVehicleViewModel {
|
|
|
|
id: string;
|
2025-03-26 12:45:14 +01:00
|
|
|
name: string;
|
2025-04-28 12:29:44 +02:00
|
|
|
location: string;
|
2025-03-24 15:12:03 +01:00
|
|
|
}
|