package org.jeecg.modules.eam.entity; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; import org.jeecg.common.aspect.annotation.Dict; import org.jeecg.common.constant.CommonConstant; import org.jeecg.common.system.base.entity.JeecgEntity; import org.jeecgframework.poi.excel.annotation.Excel; import org.springframework.format.annotation.DateTimeFormat; @TableName("mom_eam_project_maintenance_order_detail") @Data @Accessors(chain = true) @EqualsAndHashCode(callSuper = false) @ApiModel(value = "mom_eam_project_maintenance_order_detail对象", description = "mom_eam_project_maintenance_order_detail") public class ProjectMaintenanceOrderDetail extends JeecgEntity { private static final long serialVersionUID = 1L; /** * 状态 */ @Excel(name = "状态", width = 15, dicCode = "type_status") @Dict(dicCode = "type_status") @ApiModelProperty(value = "状态") private String typeStatus; /** * 项目性维修单id */ @Excel(name = "项目性维修单id", width = 15) @ApiModelProperty(value = "项目性维修单id") private String projectMaintenanceOrderId; @Excel(name = "任务编码", width = 15) @ApiModelProperty(value = "任务编码") private String taskNum; @Excel(name = "设备ID", width = 15) @ApiModelProperty(value = "设备ID") private String equipmentId; @Excel(name = "设备编码", width = 15) @ApiModelProperty(value = "设备编码") private String equipmentNum; @Excel(name = "资产编码", width = 15) @ApiModelProperty(value = "资产编码") private String assetNumber; /**特种设备(是、否)*/ @Excel(name = "特种设备(是、否)", width = 15) @ApiModelProperty(value = "特种设备(是、否)") @Dict(dicCode = "specific_equipment") private String specificEquipment; /**设备名称*/ @Excel(name = "设备名称", width = 15) @ApiModelProperty(value = "设备名称") private String equipmentName; /**设备型号*/ @Excel(name = "设备型号", width = 15) @ApiModelProperty(value = "设备型号") private String model; /**设备规格*/ @Excel(name = "设备规格", width = 15) @ApiModelProperty(value = "设备规格") private String specification; /**设备状态*/ @Excel(name = "设备状态", width = 15, dicCode = "equipment_status") @Dict(dicCode = "equipment_status") @ApiModelProperty(value = "设备状态") private String equipmentStatus; /**技术状态*/ @Excel(name = "技术状态", width = 15, dicCode = "technology_status") @ApiModelProperty(value = "技术状态") @Dict(dicCode = "technology_status") private String technologyStatus; /**委外单位ID*/ @Excel(name = "委外单位ID", width = 15) @ApiModelProperty(value = "委外单位ID") @Dict(dictTable = "mom_base_supplier",dicCode = "id",dicText = "name") private String supplierId; /**维保方式*/ @Excel(name = "维保方式", width = 15) @ApiModelProperty(value = "维保方式") @Dict(dicCode = "maintenance_method") private String maintenanceMode; /**项目内容*/ @Excel(name = "项目内容", width = 15) @ApiModelProperty(value = "项目内容") private String itemName; /**紧急程度*/ @Excel(name = "紧急程度", width = 15) @ApiModelProperty(value = "紧急程度") @Dict(dicCode = "urgency") private String urgency; /** * 责任班组ID * */ @Excel(name = "责任班组ID", width = 15) @Dict(dictTable = "mom_base_team",dicCode = "id",dicText = "name") @ApiModelProperty(value = "责任班组ID") private String teamId; /** * 责任人ID * */ @Excel(name = "责任人ID", width = 15) @ApiModelProperty(value = "责任人ID") @Dict(dictTable = "sys_user",dicCode = "id",dicText = "realname") private String userId; /** * 计划开始时间 */ @ApiModelProperty(value = "计划开始时间") @Excel(name = "计划开始日期", width = 20, format = "yyyy-MM-dd HH:mm:ss") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private java.util.Date planStartTime; /** * 计划结束时间 */ @ApiModelProperty(value = "计划结束时间") @Excel(name = "计划结束时间", width = 20, format = "yyyy-MM-dd HH:mm:ss") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private java.util.Date planEndTime; /** * 实际开始时间 */ @ApiModelProperty(value = "实际开始时间") @Excel(name = "实际开始时间", width = 20, format = "yyyy-MM-dd HH:mm:ss") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private java.util.Date actualStartTime; /** * 实际完成时间 */ @ApiModelProperty(value = "实际完成时间") @Excel(name = "实际完成时间", width = 20, format = "yyyy-MM-dd HH:mm:ss") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private java.util.Date actualEndTime; /** * 企业id */ @Excel(name = "企业id", width = 15) @ApiModelProperty(value = "企业id") private String enterpriseId; /** * 租户id */ @Excel(name = "租户id", width = 15) @ApiModelProperty(value = "租户id") private String tenantId; /** * 删除状态(0-正常,1-已删除) */ @Excel(name = "删除状态(0-正常,1-已删除)", width = 15) @ApiModelProperty(value = "删除状态(0-正常,1-已删除)") private Integer delFlag = CommonConstant.DEL_FLAG_0; /** * 状态 0 禁用 1 启用 */ @Excel(name = "状态 0 禁用 1 启用", width = 15) @ApiModelProperty(value = "状态 0 禁用 1 启用") private String status = CommonConstant.STATUS_1; /** * 备用字段1 */ @Excel(name = "备用字段1", width = 15) @ApiModelProperty(value = "备用字段1") private String uda1; /** * 备用字段2 */ @Excel(name = "备用字段2", width = 15) @ApiModelProperty(value = "备用字段2") private String uda2; /** * 备用字段3 */ @Excel(name = "备用字段3", width = 15) @ApiModelProperty(value = "备用字段3") private String uda3; /** * 备用字段4 */ @Excel(name = "备用字段4", width = 15) @ApiModelProperty(value = "备用字段4") private String uda4; /** * 备用字段5 */ @Excel(name = "备用字段5", width = 15) @ApiModelProperty(value = "备用字段5") private String uda5; @ApiModelProperty(value = "是否已生成工单(0:否,1:是)") private Integer isCreateOrder; @TableField(exist = false) private String typeStatusName; @TableField(exist = false) private String urgencyName; @TableField(exist = false) private String maintenanceModeName; @TableField(exist = false) private String teamName; @TableField(exist = false) private String userName; @TableField(exist = false) private String departName; @TableField(exist = false) private String equipmentModel; }