vehicle update and code
This commit is contained in:
parent
8766bbce08
commit
0ea9601ea3
8 changed files with 135 additions and 112 deletions
|
@ -3,7 +3,7 @@ import type { InspectionViewMoel } from "../inspectionPlan/inspectionPlan.models
|
|||
|
||||
export interface EquipmentViewModel {
|
||||
id: string;
|
||||
code: string;
|
||||
code?: string;
|
||||
name: string;
|
||||
location: string;
|
||||
equipmentTypeId: string;
|
||||
|
@ -12,7 +12,7 @@ export interface EquipmentViewModel {
|
|||
}
|
||||
|
||||
export interface CreateEquipmentViewModel {
|
||||
code: string;
|
||||
code?: string;
|
||||
name: string;
|
||||
location: string;
|
||||
equipmentTypeId: string;
|
||||
|
@ -20,7 +20,7 @@ export interface CreateEquipmentViewModel {
|
|||
|
||||
export interface UpdateEquipmentViewModel {
|
||||
id: string;
|
||||
code: string;
|
||||
code?: string;
|
||||
name: string;
|
||||
location: string;
|
||||
}
|
||||
|
|
|
@ -3,6 +3,7 @@ import type { VehicleTypeViewModel } from "../vehicleType/vehicleType.models";
|
|||
|
||||
export interface VehicleViewModel {
|
||||
id: string;
|
||||
code?: string;
|
||||
name: string;
|
||||
location: string;
|
||||
vehicleTypeId: string;
|
||||
|
@ -11,6 +12,7 @@ export interface VehicleViewModel {
|
|||
}
|
||||
|
||||
export interface CreateVehicleViewModel {
|
||||
code?: string;
|
||||
name: string;
|
||||
location: string;
|
||||
vehicleTypeId: string;
|
||||
|
@ -18,6 +20,7 @@ export interface CreateVehicleViewModel {
|
|||
|
||||
export interface UpdateVehicleViewModel {
|
||||
id: string;
|
||||
code?: string;
|
||||
name: string;
|
||||
location: string;
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@ import type { WearableTypeViewModel } from "../wearableType/wearableType.models"
|
|||
|
||||
export interface WearableViewModel {
|
||||
id: string;
|
||||
code: string;
|
||||
code?: string;
|
||||
name: string;
|
||||
location?: string;
|
||||
wearerId?: string;
|
||||
|
@ -13,7 +13,7 @@ export interface WearableViewModel {
|
|||
}
|
||||
|
||||
export interface CreateWearableViewModel {
|
||||
code: string;
|
||||
code?: string;
|
||||
name: string;
|
||||
wearerId?: string;
|
||||
location?: string;
|
||||
|
@ -22,7 +22,7 @@ export interface CreateWearableViewModel {
|
|||
|
||||
export interface UpdateWearableViewModel {
|
||||
id: string;
|
||||
code: string;
|
||||
code?: string;
|
||||
name: string;
|
||||
location?: string;
|
||||
wearerId?: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue