2025-03-26 12:45:14 +01:00
|
|
|
import type { EquipmentTypeViewModel } from "../equipmentType/equipmentType.models";
|
2025-05-13 10:11:26 +02:00
|
|
|
import type { InspectionViewMoel } from "../inspectionPlan/inspectionPlan.models";
|
2025-03-26 12:45:14 +01:00
|
|
|
|
|
|
|
export interface EquipmentViewModel {
|
|
|
|
id: string;
|
|
|
|
code: string;
|
|
|
|
name: string;
|
|
|
|
location: string;
|
|
|
|
equipmentTypeId: string;
|
|
|
|
equipmentType: EquipmentTypeViewModel;
|
2025-05-13 10:11:26 +02:00
|
|
|
inspections: Array<InspectionViewMoel>;
|
2025-03-26 12:45:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface CreateEquipmentViewModel {
|
|
|
|
code: string;
|
|
|
|
name: string;
|
|
|
|
location: string;
|
|
|
|
equipmentTypeId: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface UpdateEquipmentViewModel {
|
|
|
|
id: string;
|
|
|
|
code: string;
|
|
|
|
name: string;
|
|
|
|
location: string;
|
|
|
|
}
|