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.system.base.entity.JeecgEntity; import org.jeecgframework.poi.excel.annotation.Excel; import org.springframework.format.annotation.DateTimeFormat; import java.io.Serializable; import java.util.Date; /** * @Description: 三保变更 * @Author: jeecg-boot * @Date: 2025-07-11 * @Version: V1.0 */ @Data @TableName("eam_third_maintenance_change") @EqualsAndHashCode(callSuper = false) @Accessors(chain = true) @ApiModel(value = "eam_third_maintenance_change对象", description = "三保变更") public class EamThirdMaintenanceChange extends JeecgEntity implements Serializable { private static final long serialVersionUID = -5589051394307488593L; /** * 删除标记 */ @Excel(name = "删除标记", width = 15) @ApiModelProperty(value = "删除标记") private Integer delFlag; /** * 三保工单ID */ @Excel(name = "三保工单ID", width = 15) @ApiModelProperty(value = "三保工单ID") @Dict(dictTable = "eam_third_maintenance_order", dicCode = "id", dicText = "order_num") private String orderId; /** * 变更单号 */ @Excel(name = "变更单号", width = 15) @ApiModelProperty(value = "变更单号") private String changeOrderNum; /** * 申请人 */ @Excel(name = "申请人", width = 15) @ApiModelProperty(value = "申请人") @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname") private String applicant; /** * 申请部门 */ @Excel(name = "申请部门", width = 15) @ApiModelProperty(value = "申请部门") @Dict(dictTable = "eam_base_factory",dicText = "factory_name",dicCode = "org_code") private String factoryOrgCode; /** * 申请日期 */ @ApiModelProperty(value = "申请日期") @Excel(name = "申请日期", width = 20, format = "yyyy-MM-dd") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd") private Date applyDate; /** * 申请类型;报废、延保 */ @Excel(name = "申请类型;报废、延保", width = 15) @ApiModelProperty(value = "申请类型;报废、延保") @Dict(dicCode = "third_maintenance_change_category") private String applyCategory; /** * 变更状态;待提交、待主管审核、待部门确认、待保障部确认、已作废、已完成 */ @Excel(name = "变更状态;待提交、待主管审核、待部门确认、待保障部确认、已作废、已完成", width = 15) @ApiModelProperty(value = "变更状态;待提交、待主管审核、待部门确认、待保障部确认、已作废、已完成") @Dict(dicCode = "third_maintenance_change_status") private String changeStatus; /** * 延保原因类型;生产任务、设备故障、报废、大修项修、搬迁 */ @Excel(name = "延保原因类型;生产任务、设备故障、报废、大修项修、搬迁", width = 15) @ApiModelProperty(value = "延保原因类型;生产任务、设备故障、报废、大修项修、搬迁") @Dict(dicCode = "third_maintenance_change_reason") private String applyReasonType; /** * 延保(变更)原因 */ @Excel(name = "延保(变更)原因", width = 15) @ApiModelProperty(value = "延保(变更)原因") private String applyReason; /** * 延迟保养日期 */ @ApiModelProperty(value = "延迟保养日期") @Excel(name = "延迟保养日期", width = 20, format = "yyyy-MM-dd") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd") private Date deferredMaintenanceDate; /** * 主管领导签字 */ @Excel(name = "主管领导签字", width = 15) @ApiModelProperty(value = "主管领导签字") @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname") private String equipmentManagerSignature; /** * 主管领导签字时间 */ @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 Date equipmentManagerSignatureTime; /** * 部门领导签字;根据延保原因类型区分不同的人审批 */ @Excel(name = "部门领导签字;根据延保原因类型区分不同的人审批", width = 15) @ApiModelProperty(value = "部门领导签字;根据延保原因类型区分不同的人审批") @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname") private String departManagerSignature; /** * 部门领导签字时间 */ @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 Date departManagerSignatureTime; /** * 部门领导意见 */ @Excel(name = "部门领导意见", width = 15) @ApiModelProperty(value = "部门领导意见") private String departManagerComment; /** * 生产保障部领导签字 */ @Excel(name = "生产保障部领导签字", width = 15) @ApiModelProperty(value = "生产保障部领导签字") @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname") private String productionSupportSignature; /** * 生产保障部领导签字时间 */ @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 Date productionSupportSignatureTime; /** * 生产保障部领导意见 */ @Excel(name = "生产保障部领导意见", width = 15) @ApiModelProperty(value = "生产保障部领导意见") private String productionSupportComment; /** * HF编码 */ @Excel(name = "HF编码", width = 15) @ApiModelProperty(value = "HF编码") private String hfCode; //列表展示 @TableField(exist = false) private String equipmentCode; @TableField(exist = false) private String equipmentName; @TableField(exist = false) private String equipmentModel; }