|
@@ -6,73 +6,73 @@ import lombok.*;
|
|
import javax.validation.constraints.*;
|
|
import javax.validation.constraints.*;
|
|
import java.time.LocalDateTime;
|
|
import java.time.LocalDateTime;
|
|
|
|
|
|
-@Schema(description = "管理后台 - 维修工单新增/修改 Request VO")
|
|
|
|
|
|
+//@Schema(description = "管理后台 - 维修工单新增/修改 Request VO")
|
|
@Data
|
|
@Data
|
|
public class IotMaintainSaveReqVO {
|
|
public class IotMaintainSaveReqVO {
|
|
|
|
|
|
- @Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED, example = "20489")
|
|
|
|
|
|
+ //@Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED, example = "20489")
|
|
private Long id;
|
|
private Long id;
|
|
|
|
|
|
- @Schema(description = "故障编码", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
|
|
|
+ //@Schema(description = "故障编码", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
private String failureCode;
|
|
private String failureCode;
|
|
|
|
|
|
- @Schema(description = "故障名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
|
|
|
|
|
|
+ //@Schema(description = "故障名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
|
|
private String failureName;
|
|
private String failureName;
|
|
|
|
|
|
- @Schema(description = "设备id", requiredMode = Schema.RequiredMode.REQUIRED, example = "11515")
|
|
|
|
- @NotNull(message = "设备id不能为空")
|
|
|
|
|
|
+ //@Schema(description = "设备id", requiredMode = Schema.RequiredMode.REQUIRED, example = "11515")
|
|
|
|
+// @NotNull(message = "设备id不能为空")
|
|
private Long deviceId;
|
|
private Long deviceId;
|
|
|
|
|
|
- @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
|
|
|
- @NotEmpty(message = "状态不能为空")
|
|
|
|
|
|
+ //@Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
|
|
|
+// @NotEmpty(message = "状态不能为空")
|
|
private String status;
|
|
private String status;
|
|
|
|
|
|
- @Schema(description = "是否停机")
|
|
|
|
|
|
+ //@Schema(description = "是否停机")
|
|
private Boolean ifStop;
|
|
private Boolean ifStop;
|
|
|
|
|
|
- @Schema(description = "故障时间")
|
|
|
|
|
|
+ //@Schema(description = "故障时间")
|
|
private LocalDateTime failureTime;
|
|
private LocalDateTime failureTime;
|
|
|
|
|
|
- @Schema(description = "故障影响")
|
|
|
|
|
|
+ //@Schema(description = "故障影响")
|
|
private String failureInfluence;
|
|
private String failureInfluence;
|
|
|
|
|
|
- @Schema(description = "故障系统")
|
|
|
|
|
|
+ //@Schema(description = "故障系统")
|
|
private String failureSystem;
|
|
private String failureSystem;
|
|
|
|
|
|
- @Schema(description = "故障描述", example = "你猜")
|
|
|
|
|
|
+ //@Schema(description = "故障描述", example = "你猜")
|
|
private String description;
|
|
private String description;
|
|
|
|
|
|
- @Schema(description = "图片")
|
|
|
|
|
|
+ //@Schema(description = "图片")
|
|
private String pic;
|
|
private String pic;
|
|
|
|
|
|
- @Schema(description = "解决办法")
|
|
|
|
|
|
+ //@Schema(description = "解决办法")
|
|
private String solution;
|
|
private String solution;
|
|
|
|
|
|
- @Schema(description = "维修开始时间")
|
|
|
|
|
|
+ //@Schema(description = "维修开始时间")
|
|
private LocalDateTime maintainStartTime;
|
|
private LocalDateTime maintainStartTime;
|
|
|
|
|
|
- @Schema(description = "维修结束时间")
|
|
|
|
|
|
+ //@Schema(description = "维修结束时间")
|
|
private LocalDateTime maintainEndTime;
|
|
private LocalDateTime maintainEndTime;
|
|
|
|
|
|
- @Schema(description = "备注", example = "随便")
|
|
|
|
|
|
+ //@Schema(description = "备注", example = "随便")
|
|
private String remark;
|
|
private String remark;
|
|
|
|
|
|
- @Schema(description = "设备名称", example = "王五")
|
|
|
|
|
|
+ //@Schema(description = "设备名称", example = "王五")
|
|
private String deviceName;
|
|
private String deviceName;
|
|
|
|
|
|
- @Schema(description = "流程实例id", example = "6913")
|
|
|
|
|
|
+ //@Schema(description = "流程实例id", example = "6913")
|
|
private String processInstanceId;
|
|
private String processInstanceId;
|
|
|
|
|
|
- @Schema(description = "审核状态", example = "2")
|
|
|
|
|
|
+ //@Schema(description = "审核状态", example = "2")
|
|
private Integer auditStatus;
|
|
private Integer auditStatus;
|
|
|
|
|
|
- @Schema(description = "部门id", example = "27456")
|
|
|
|
|
|
+ //@Schema(description = "部门id", example = "27456")
|
|
private Long deptId;
|
|
private Long deptId;
|
|
|
|
|
|
- @Schema(description = "维修描述")
|
|
|
|
- @NotEmpty(message = "维修描述不能为空")
|
|
|
|
|
|
+ //@Schema(description = "维修描述")
|
|
|
|
+// @NotEmpty(message = "维修描述不能为空")
|
|
private String maintainDescription;
|
|
private String maintainDescription;
|
|
- @Schema(description = "维修负责人")
|
|
|
|
- @NotEmpty(message = "维修负责人不能为空")
|
|
|
|
|
|
+ //@Schema(description = "维修负责人")
|
|
|
|
+// @NotEmpty(message = "维修负责人不能为空")
|
|
private String maintainPerson;
|
|
private String maintainPerson;
|
|
}
|
|
}
|