23 lines
556 B
TypeScript
23 lines
556 B
TypeScript
import type { InspectionViewMoel } from "../inspectionPlan/inspectionPlan.models";
|
|
import type { VehicleTypeViewModel } from "../vehicleType/vehicleType.models";
|
|
|
|
export interface VehicleViewModel {
|
|
id: string;
|
|
name: string;
|
|
location: string;
|
|
vehicleTypeId: string;
|
|
vehicleType: VehicleTypeViewModel;
|
|
inspections: Array<InspectionViewMoel>;
|
|
}
|
|
|
|
export interface CreateVehicleViewModel {
|
|
name: string;
|
|
location: string;
|
|
vehicleTypeId: string;
|
|
}
|
|
|
|
export interface UpdateVehicleViewModel {
|
|
id: string;
|
|
name: string;
|
|
location: string;
|
|
}
|