command Handlers and schema update
This commit is contained in:
parent
0f6401953f
commit
7883bb7d7f
42 changed files with 1076 additions and 159 deletions
20
src/command/unit/inspection/inspectionPlanCommand.ts
Normal file
20
src/command/unit/inspection/inspectionPlanCommand.ts
Normal file
|
@ -0,0 +1,20 @@
|
|||
import { PlanTimeDefinition } from "../../../viewmodel/admin/unit/inspection/inspectionPlan.models";
|
||||
|
||||
export interface CreateInspectionPlanCommand {
|
||||
title: string;
|
||||
inspectionInterval: PlanTimeDefinition;
|
||||
remindTime: PlanTimeDefinition;
|
||||
relatedId: string;
|
||||
assigned: "vehicle" | "equipment";
|
||||
}
|
||||
|
||||
export interface UpdateInspectionPlanCommand {
|
||||
id: string;
|
||||
title: string;
|
||||
inspectionInterval: PlanTimeDefinition;
|
||||
remindTime?: PlanTimeDefinition;
|
||||
}
|
||||
|
||||
export interface DeleteInspectionPlanCommand {
|
||||
id: string;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue