change models
This commit is contained in:
parent
d5c33d899f
commit
05555425ce
7 changed files with 39 additions and 5 deletions
|
@ -1,3 +1,4 @@
|
|||
import type InspectionPlan from "../../../../views/admin/unit/inspectionPlan/InspectionPlan.vue";
|
||||
import type { EquipmentTypeViewModel } from "../equipmentType/equipmentType.models";
|
||||
|
||||
export interface InspectionPlanViewModel {
|
||||
|
@ -31,3 +32,19 @@ export interface InspectionPointViewModel {
|
|||
description: string;
|
||||
type: "iO-niO" | "text" | "number";
|
||||
}
|
||||
|
||||
export interface InspectionViewMoel {
|
||||
id: string;
|
||||
inspectionPlanId: string;
|
||||
date: Date;
|
||||
status: "open" | "finished";
|
||||
results: Array<InspectionPointResultViewMoel>;
|
||||
}
|
||||
|
||||
export interface InspectionPointResultViewMoel {
|
||||
id: string;
|
||||
inspectionId: string;
|
||||
inspectionPlanId: string;
|
||||
inspectionPointId: string;
|
||||
value: string;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue