2025-03-26 12:45:14 +01:00
|
|
|
import type { EquipmentTypeViewModel } from "../equipmentType/equipmentType.models";
|
2025-05-16 10:27:08 +02:00
|
|
|
import type { InspectionViewModel } from "../inspection/inspection.models";
|
2025-03-26 12:45:14 +01:00
|
|
|
|
|
|
|
export interface EquipmentViewModel {
|
|
|
|
id: string;
|
2025-05-13 12:30:57 +02:00
|
|
|
code?: string;
|
2025-03-26 12:45:14 +01:00
|
|
|
name: string;
|
|
|
|
location: string;
|
|
|
|
equipmentTypeId: string;
|
|
|
|
equipmentType: EquipmentTypeViewModel;
|
2025-05-14 09:13:47 +02:00
|
|
|
inspections: Array<InspectionViewModel>;
|
2025-03-26 12:45:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface CreateEquipmentViewModel {
|
2025-05-13 12:30:57 +02:00
|
|
|
code?: string;
|
2025-03-26 12:45:14 +01:00
|
|
|
name: string;
|
|
|
|
location: string;
|
|
|
|
equipmentTypeId: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface UpdateEquipmentViewModel {
|
|
|
|
id: string;
|
2025-05-13 12:30:57 +02:00
|
|
|
code?: string;
|
2025-03-26 12:45:14 +01:00
|
|
|
name: string;
|
|
|
|
location: string;
|
|
|
|
}
|