|
@@ -0,0 +1,177 @@
|
|
|
+package cn.iocoder.yudao.module.pms.controller.admin.iotmaintenancebom.vo;
|
|
|
+
|
|
|
+import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
|
|
+import com.alibaba.excel.annotation.ExcelProperty;
|
|
|
+import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
+import lombok.Data;
|
|
|
+
|
|
|
+import java.math.BigDecimal;
|
|
|
+import java.time.LocalDateTime;
|
|
|
+
|
|
|
+@Schema(description = "管理后台 - PMS 需要保养的明细BOM Response VO")
|
|
|
+@Data
|
|
|
+@ExcelIgnoreUnannotated
|
|
|
+public class IotTobeMaintenanceBomRespVO {
|
|
|
+
|
|
|
+ @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "27423")
|
|
|
+ @ExcelProperty("主键")
|
|
|
+ private Long id;
|
|
|
+
|
|
|
+ @Schema(description = "部门id", example = "11371")
|
|
|
+ @ExcelProperty("部门id")
|
|
|
+ private Long deptId;
|
|
|
+
|
|
|
+ @Schema(description = "保养计划id", example = "11371")
|
|
|
+ @ExcelProperty("保养计划id")
|
|
|
+ private Long planId;
|
|
|
+
|
|
|
+ @Schema(description = "保养计划名称", example = "11371")
|
|
|
+ private String planName;
|
|
|
+
|
|
|
+ @Schema(description = "负责人")
|
|
|
+ private String responsiblePerson;
|
|
|
+
|
|
|
+ @Schema(description = "保养计划编码")
|
|
|
+ @ExcelProperty("保养计划编码")
|
|
|
+ private String serialNumber;
|
|
|
+
|
|
|
+ @Schema(description = "保养计划明细id", example = "17738")
|
|
|
+ @ExcelProperty("保养计划明细id")
|
|
|
+ private Long planDetailId;
|
|
|
+
|
|
|
+ @Schema(description = "所属设备分类", example = "21283")
|
|
|
+ @ExcelProperty("所属设备分类")
|
|
|
+ private Long deviceCategoryId;
|
|
|
+
|
|
|
+ @Schema(description = "设备id", example = "19729")
|
|
|
+ @ExcelProperty("设备id")
|
|
|
+ private Long deviceId;
|
|
|
+
|
|
|
+ @Schema(description = "保养规则(量程 运行时间 自然日期) 可多选")
|
|
|
+ @ExcelProperty("保养规则(量程 运行时间 自然日期) 可多选")
|
|
|
+ private String rule;
|
|
|
+
|
|
|
+ @Schema(description = "保养规则-里程(0启用 1停用)", example = "2")
|
|
|
+ private Integer mileageRule;
|
|
|
+ @Schema(description = "保养规则-自然日期(0启用 1停用)", example = "2")
|
|
|
+ private Integer naturalDateRule;
|
|
|
+ @Schema(description = "保养规则-运行时间(0启用 1停用)", example = "2")
|
|
|
+ private Integer runningTimeRule;
|
|
|
+
|
|
|
+ @Schema(description = "上次保养运行时长(小时)")
|
|
|
+ @ExcelProperty("上次保养运行时长(小时)")
|
|
|
+ private BigDecimal lastRunningTime;
|
|
|
+
|
|
|
+ @Schema(description = "下次保养运行时长(小时)")
|
|
|
+ @ExcelProperty("下次保养运行时长(小时)")
|
|
|
+ private BigDecimal nextRunningTime;
|
|
|
+
|
|
|
+ @Schema(description = "运行时长周期提前量 H")
|
|
|
+ @ExcelProperty("运行时长周期提前量 H")
|
|
|
+ private BigDecimal timePeriodLead;
|
|
|
+
|
|
|
+ @Schema(description = "上次保养运行公里数(千米)")
|
|
|
+ @ExcelProperty("上次保养运行公里数(千米)")
|
|
|
+ private BigDecimal lastRunningKilometers;
|
|
|
+
|
|
|
+ @Schema(description = "下次保养运行公里数(千米)")
|
|
|
+ @ExcelProperty("下次保养运行公里数(千米)")
|
|
|
+ private BigDecimal nextRunningKilometers;
|
|
|
+
|
|
|
+ @Schema(description = "公里数周期-提前量 km")
|
|
|
+ @ExcelProperty("公里数周期-提前量 km")
|
|
|
+ private BigDecimal kiloCycleLead;
|
|
|
+
|
|
|
+ @Schema(description = "上次保养自然日期(天)")
|
|
|
+ @ExcelProperty("上次保养自然日期(天)")
|
|
|
+ private LocalDateTime lastNaturalDate;
|
|
|
+
|
|
|
+ @Schema(description = "下次保养自然日期(天)")
|
|
|
+ @ExcelProperty("下次保养自然日期(天)")
|
|
|
+ private BigDecimal nextNaturalDate;
|
|
|
+
|
|
|
+ @Schema(description = "自然日周期-提前量(天)")
|
|
|
+ @ExcelProperty("自然日周期-提前量(天)")
|
|
|
+ private BigDecimal naturalDatePeriodLead;
|
|
|
+
|
|
|
+ @Schema(description = "BOM节点 id", example = "18063")
|
|
|
+ private Long bomNodeId;
|
|
|
+
|
|
|
+ @Schema(description = "BOM名称", example = "张三")
|
|
|
+ @ExcelProperty("BOM名称")
|
|
|
+ private String nodeName;
|
|
|
+
|
|
|
+ @Schema(description = "BOM编码")
|
|
|
+ @ExcelProperty("BOM编码")
|
|
|
+ private String code;
|
|
|
+
|
|
|
+ @Schema(description = "父BOM id 顶级为0", example = "18063")
|
|
|
+ @ExcelProperty("父BOM id 顶级为0")
|
|
|
+ private Long parentId;
|
|
|
+
|
|
|
+ @Schema(description = "子节点id 逗号分隔")
|
|
|
+ @ExcelProperty("子节点id 逗号分隔")
|
|
|
+ private String childIds;
|
|
|
+
|
|
|
+ @Schema(description = "层级")
|
|
|
+ @ExcelProperty("层级")
|
|
|
+ private Integer level;
|
|
|
+
|
|
|
+ @Schema(description = "是否叶子节点 0是 1否")
|
|
|
+ @ExcelProperty("是否叶子节点 0是 1否")
|
|
|
+ private Integer leafFlag;
|
|
|
+
|
|
|
+ @Schema(description = "显示顺序")
|
|
|
+ @ExcelProperty("显示顺序")
|
|
|
+ private Integer sort;
|
|
|
+
|
|
|
+ @Schema(description = "M维修 S保养 维修+保养", example = "2")
|
|
|
+ @ExcelProperty("M维修 S保养 维修+保养")
|
|
|
+ private String type;
|
|
|
+
|
|
|
+ @Schema(description = "状态 0启用 1停用", example = "2")
|
|
|
+ @ExcelProperty("状态 0启用 1停用")
|
|
|
+ private Integer status;
|
|
|
+
|
|
|
+ @Schema(description = "备注", example = "你说的对")
|
|
|
+ @ExcelProperty("备注")
|
|
|
+ private String remark;
|
|
|
+
|
|
|
+ @Schema(description = "版本")
|
|
|
+ @ExcelProperty("版本")
|
|
|
+ private Integer version;
|
|
|
+
|
|
|
+ @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
+ @ExcelProperty("创建时间")
|
|
|
+ private LocalDateTime createTime;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 设备关联字段
|
|
|
+ */
|
|
|
+ @Schema(description = "设备名称")
|
|
|
+ private String deviceName;
|
|
|
+ @Schema(description = "设备编码")
|
|
|
+ private String deviceCode;
|
|
|
+ @Schema(description = "设备状态")
|
|
|
+ private String deviceStatus;
|
|
|
+ @Schema(description = "资产性质")
|
|
|
+ private String assetProperty;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 触发的保养类型
|
|
|
+ */
|
|
|
+ @Schema(description = "需要根据自然日周期保养")
|
|
|
+ private Integer needMaintainByDate;
|
|
|
+
|
|
|
+ @Schema(description = "需要根据运行公里数周期保养")
|
|
|
+ private Integer needMaintainByMileage;
|
|
|
+
|
|
|
+ @Schema(description = "需要根据运行时长周期保养")
|
|
|
+ private Integer needMaintainByTime;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 新生成的保养工单id
|
|
|
+ */
|
|
|
+ @Schema(description = "需要根据自然日周期保养")
|
|
|
+ private Long workOrderId;
|
|
|
+}
|