25 lines
499 B
TypeScript
25 lines
499 B
TypeScript
|
import type { EquipmentTypeViewModel } from "../equipmentType/equipmentType.models";
|
||
|
|
||
|
export interface EquipmentViewModel {
|
||
|
id: string;
|
||
|
code: string;
|
||
|
name: string;
|
||
|
location: string;
|
||
|
equipmentTypeId: string;
|
||
|
equipmentType: EquipmentTypeViewModel;
|
||
|
}
|
||
|
|
||
|
export interface CreateEquipmentViewModel {
|
||
|
code: string;
|
||
|
name: string;
|
||
|
location: string;
|
||
|
equipmentTypeId: string;
|
||
|
}
|
||
|
|
||
|
export interface UpdateEquipmentViewModel {
|
||
|
id: string;
|
||
|
code: string;
|
||
|
name: string;
|
||
|
location: string;
|
||
|
}
|