add additional fields
This commit is contained in:
parent
43f46c0fad
commit
b83b22d806
16 changed files with 97 additions and 3 deletions
|
@ -6,6 +6,8 @@ export interface EquipmentViewModel {
|
|||
code?: string;
|
||||
name: string;
|
||||
location: string;
|
||||
commissioned: Date;
|
||||
decommissioned?: Date;
|
||||
equipmentTypeId: string;
|
||||
equipmentType: EquipmentTypeViewModel;
|
||||
inspections: Array<InspectionViewModel>;
|
||||
|
@ -15,6 +17,7 @@ export interface CreateEquipmentViewModel {
|
|||
code?: string;
|
||||
name: string;
|
||||
location: string;
|
||||
commissioned: Date;
|
||||
equipmentTypeId: string;
|
||||
}
|
||||
|
||||
|
@ -23,4 +26,6 @@ export interface UpdateEquipmentViewModel {
|
|||
code?: string;
|
||||
name: string;
|
||||
location: string;
|
||||
commissioned: Date;
|
||||
decommissioned?: Date;
|
||||
}
|
||||
|
|
|
@ -26,6 +26,7 @@ export interface InspectionPointViewModel {
|
|||
title: string;
|
||||
description: string;
|
||||
type: "iO-niO" | "text" | "number";
|
||||
min?: number;
|
||||
}
|
||||
|
||||
export interface InspectionPointResultViewModel {
|
||||
|
|
|
@ -6,6 +6,8 @@ export interface VehicleViewModel {
|
|||
code?: string;
|
||||
name: string;
|
||||
location: string;
|
||||
commissioned: Date;
|
||||
decommissioned?: Date;
|
||||
vehicleTypeId: string;
|
||||
vehicleType: VehicleTypeViewModel;
|
||||
inspections: Array<InspectionViewModel>;
|
||||
|
@ -15,6 +17,7 @@ export interface CreateVehicleViewModel {
|
|||
code?: string;
|
||||
name: string;
|
||||
location: string;
|
||||
commissioned: Date;
|
||||
vehicleTypeId: string;
|
||||
}
|
||||
|
||||
|
@ -23,4 +26,6 @@ export interface UpdateVehicleViewModel {
|
|||
code?: string;
|
||||
name: string;
|
||||
location: string;
|
||||
commissioned: Date;
|
||||
decommissioned?: Date;
|
||||
}
|
||||
|
|
|
@ -5,7 +5,9 @@ export interface WearableViewModel {
|
|||
id: string;
|
||||
code?: string;
|
||||
name: string;
|
||||
location?: string;
|
||||
location: string;
|
||||
commissioned: Date;
|
||||
decommissioned?: Date;
|
||||
wearerId?: string;
|
||||
wearer?: MemberViewModel;
|
||||
wearableTypeId: string;
|
||||
|
@ -17,6 +19,7 @@ export interface CreateWearableViewModel {
|
|||
name: string;
|
||||
wearerId?: string;
|
||||
location?: string;
|
||||
commissioned: Date;
|
||||
wearableTypeId: string;
|
||||
}
|
||||
|
||||
|
@ -25,5 +28,7 @@ export interface UpdateWearableViewModel {
|
|||
code?: string;
|
||||
name: string;
|
||||
location?: string;
|
||||
commissioned: Date;
|
||||
decommissioned?: Date;
|
||||
wearerId?: string;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue