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-04-29
|
* @Version: V1.0
|
*/
|
@Data
|
@TableName("eam_third_maintenance_order")
|
@EqualsAndHashCode(callSuper = false)
|
@Accessors(chain = true)
|
@ApiModel(value = "eam_third_maintenance_order对象", description = "设备三级保养")
|
public class EamThirdMaintenanceOrder extends JeecgEntity implements Serializable {
|
|
private static final long serialVersionUID = 2805431980389464185L;
|
|
/**
|
* 删除标记
|
*/
|
@ApiModelProperty(value = "删除标记")
|
private Integer delFlag;
|
/**
|
* 工单号
|
*/
|
@Excel(name = "工单号", width = 15)
|
@ApiModelProperty(value = "工单号")
|
private String orderNum;
|
/**
|
* 设备ID
|
*/
|
@Excel(name = "设备ID", width = 15)
|
@ApiModelProperty(value = "设备ID")
|
private String equipmentId;
|
/**
|
* 标准ID
|
*/
|
@Excel(name = "标准ID", width = 15)
|
@ApiModelProperty(value = "标准ID")
|
@Dict(dictTable = "eam_maintenance_standard", dicCode = "id", dicText = "standard_name")
|
private String standardId;
|
/**
|
* 计划保养日期
|
*/
|
@ApiModelProperty(value = "计划保养日期;提前70天生成工单")
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
private Date maintenanceDate;
|
/**
|
* 锁定工单日期
|
*/
|
@ApiModelProperty(value = "锁定工单日期;提前55天锁定工单")
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
private Date freezeOrderDate;
|
/**
|
* 工单过期日期
|
*/
|
@ApiModelProperty(value = "工单过期日期;到期未做直接过期")
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
private Date orderExpirationDate;
|
/**
|
* 实际开始时间
|
*/
|
@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")
|
@ApiModelProperty(value = "实际开始时间")
|
private Date actualStartTime;
|
/**
|
* 实际结束时间
|
*/
|
@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")
|
@ApiModelProperty(value = "实际结束时间")
|
private Date actualEndTime;
|
/**
|
* 维修人
|
*/
|
@Excel(name = "维修人", width = 15)
|
@ApiModelProperty(value = "维修人")
|
@Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname")
|
private String repairman;
|
/**
|
* 保养状态
|
*/
|
@Excel(name = "保养状态", width = 15)
|
@ApiModelProperty(value = "保养状态;待保养、保养中、待检查、操作人签字、维修人签字、维修室主任签字、设备检查人签字、已完成、已锁定、变更中、已取消")
|
@Dict(dicCode = "third_maintenance_status")
|
private String maintenanceStatus;
|
/**
|
* 创建方式
|
*/
|
@Excel(name = "创建方式", width = 15)
|
@ApiModelProperty(value = "创建方式")
|
@Dict(dicCode = "order_creation_method")
|
private String creationMethod;
|
/**
|
* 设备功能是否齐备;是否
|
*/
|
@Excel(name = "设备功能是否齐备;是否", width = 15)
|
@ApiModelProperty(value = "设备功能是否齐备;是否")
|
@Dict(dicCode = "yn")
|
private String fullyFunctional;
|
/**
|
* 设备功能是否齐备;是否
|
*/
|
@Excel(name = "设备能否正常运转;是否", width = 15)
|
@ApiModelProperty(value = "设备功能是否齐备;是否")
|
@Dict(dicCode = "yn")
|
private String runningNormally;
|
/**
|
* 问题描述
|
*/
|
@Excel(name = "问题描述", width = 30)
|
@ApiModelProperty(value = "问题描述")
|
private String problemDescription;
|
/**
|
* 检查人
|
*/
|
@Excel(name = "检查人", width = 15)
|
@ApiModelProperty(value = "检查人")
|
@Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname")
|
private String inspector;
|
/**
|
* 检查时间
|
*/
|
@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 inspectTime;
|
/**
|
* 操作人签字
|
*/
|
@Excel(name = "操作人签字", width = 15)
|
@ApiModelProperty(value = "操作人签字")
|
@Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname")
|
private String operatorSignature;
|
/**
|
* 协助操作人
|
*/
|
@Excel(name = "协助操作人", width = 15)
|
@ApiModelProperty(value = "协助操作人")
|
private String assistantOperator;
|
/**
|
* 操作人签字时间
|
*/
|
@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 operatorSignatureTime;
|
/**
|
* 维修人签字
|
*/
|
@Excel(name = "维修人签字", width = 15)
|
@ApiModelProperty(value = "维修人签字")
|
@Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname")
|
private String repairmanSignature;
|
/**
|
* 协助维修人
|
*/
|
@Excel(name = "协助维修人", width = 15)
|
@ApiModelProperty(value = "协助维修人")
|
private String assistantRepairman;
|
/**
|
* 维修人签字时间
|
*/
|
@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 repairmanSignatureTime;
|
/**
|
* 维修室主任签字
|
*/
|
@Excel(name = "维修室主任签字", width = 15)
|
@ApiModelProperty(value = "维修室主任签字")
|
@Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname")
|
private String repairManagerSignature;
|
/**
|
* 维修室主任签字时间
|
*/
|
@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 repairManagerSignatureTime;
|
/**
|
* 设备检查人签字
|
*/
|
@Excel(name = "设备检查人签字", width = 15)
|
@ApiModelProperty(value = "设备检查人签字")
|
@Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname")
|
private String inspectorSignature;
|
/**
|
* 设备检查人签字时间
|
*/
|
@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 inspectorSignatureTime;
|
/**
|
* 备注
|
*/
|
@Excel(name = "备注", width = 15)
|
@ApiModelProperty(value = "备注")
|
private String remark;
|
/**
|
* 移交单HF编码
|
*/
|
@Excel(name = "移交单HF编码", width = 15)
|
@ApiModelProperty(value = "移交单HF编码")
|
private String hfCodeA;
|
/**
|
* 验收单HF编码
|
*/
|
@Excel(name = "验收单HF编码", width = 15)
|
@ApiModelProperty(value = "验收单HF编码")
|
private String hfCodeB;
|
//列表展示
|
@TableField(exist = false)
|
private String equipmentCode;
|
@TableField(exist = false)
|
private String equipmentName;
|
}
|