package org.jeecg.modules.eam.dto; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; 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: Lius * @Date: 2025-04-03 */ @Data @TableName("eam_repair_order") @EqualsAndHashCode(callSuper = false) @Accessors(chain = true) @ApiModel(value = "eam_repair_order对象", description = "维修工单导出") public class EamRepairOrderExport { /**主键*/ @TableId(type = IdType.ASSIGN_ID) @ApiModelProperty(value = "主键") private String id; /** 报修ID*/ @ApiModelProperty(value = "报修ID") private String reportId; /**设备名称*/ @ApiModelProperty(value = "设备ID") @Dict(dictTable = "eam_equipment", dicCode = "id", dicText = "equipment_name") private String equipmentId; /** * 设备编码 */ @Excel(name = "统一编码", width = 15) @TableField(exist = false) @ApiModelProperty(value = "统一编码") private String equipmentCode; /** * 设备名称 */ @Excel(name = "设备名称", width = 15) @TableField(exist = false) @ApiModelProperty(value = "设备名称") private String equipmentName; /** * 设备型号 */ @Excel(name = "设备型号", width = 15) @TableField(exist = false) @ApiModelProperty(value = "设备型号") private String equipmentModel; /**维修状态*/ @Excel(name = "维修状态", width = 15,dicCode = "repair_status") @ApiModelProperty(name = "维修状态",notes = "待维修、维修中、待确认、维修完成") @Dict(dicCode = "repair_status") private String repairStatus; /**领取状态*/ @Excel(name = "领取状态", width = 15,dicCode = "claim_status") @ApiModelProperty(name = "领取状态",notes = "未领取、已领取") @Dict(dicCode = "claim_status") private String claimStatus; /** * 工单编号 */ @Excel(name = "工单编号", width = 15) @ApiModelProperty(value = "工单编号") private String repairCode; /**故障类型*/ @Excel(name = "故障类型", width = 15,dicCode = "fault_type") @ApiModelProperty(value = "故障类型") @Dict(dicCode = "fault_type") private String faultType; /**报修人*/ @Excel(name = "报修人", width = 15,dictTable = "sys_user", dicCode = "username", dicText = "realname") @ApiModelProperty(value = "报修人") @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname") private String reportPerson; /**故障开始时间*/ @Excel(name = "故障开始时间", width = 15,format = "yyyy-MM-dd HH:mm:ss") @ApiModelProperty(name = "故障开始时间",notes = "") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") private Date faultStartTime; /** 维修开始时间 */ @Excel(name = "维修开始时间", width = 15,format = "yyyy-MM-dd HH:mm:ss") @ApiModelProperty(name = "维修开始时间",notes = "") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") private Date actualStartTime; /** 维修结束时间 */ @Excel(name = "维修结束时间", width = 15,format = "yyyy-MM-dd HH:mm:ss") @ApiModelProperty(name = "维修结束时间",notes = "") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") private Date actualEndTime; /** 维修时长*/ @Excel(name = "维修时长", width = 15) @ApiModelProperty(name = "维修时长",notes = "") private String repairDuration; /**故障时长*/ @Excel(name = "故障时长", width = 15) @ApiModelProperty(name = "故障时长",notes = "") private String faultDuration; /** 维修确认 */ @Excel(name = "维修确认", width = 15,dictTable = "sys_user", dicCode = "username", dicText = "realname") @ApiModelProperty(name = "维修确认",notes = "") @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname") private String repairConfirm; /** 维修确认意见 */ @Excel(name = "维修确认意见", width = 15) @ApiModelProperty(name = "维修确认意见",notes = "") private String repairConfirmComment; /** 维修确认时间 */ @Excel(name = "维修确认时间", width = 15,format = "yyyy-MM-dd HH:mm:ss") @ApiModelProperty(name = "维修确认时间",notes = "") private Date repairConfirmTime; /**故障现象*/ @Excel(name = "故障现象", width = 15) @ApiModelProperty(value = "故障现象") private String faultPhenomenon; /** 故障原因 */ @Excel(name = "故障原因", width = 15) @ApiModelProperty(name = "故障原因",notes = "") private String faultReason; /** 故障分析 */ @Excel(name = "故障分析", width = 15) @ApiModelProperty(name = "故障分析",notes = "") private String faultAnalysis; /** 排故过程 */ @Excel(name = "排故过程", width = 15) @ApiModelProperty(name = "排故过程",notes = "") private String faultProcess; /** 预防措施 */ @Excel(name = "预防措施", width = 15) @ApiModelProperty(name = "预防措施",notes = "") private String faultPrevent; /** 操作工 */ @Excel(name = "操作工", width = 15,dictTable = "sys_user", dicCode = "username", dicText = "realname") @ApiModelProperty(name = "操作工",notes = "") @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname") private String confirmer; /** 操作工确认结果*/ @Excel(name = "操作工确认结果", width = 15) @ApiModelProperty(name = "操作工确认结果",notes = "") private String confirmResult; /** 操作工确认意见 */ @Excel(name = "操作工确认意见", width = 15) @ApiModelProperty(name = "操作工确认意见",notes = "") private String confirmComment; /** 操作工确认时间*/ @Excel(name = "操作工确认时间", width = 15,format = "yyyy-MM-dd HH:mm:ss") @ApiModelProperty(value = "操作工确认时间") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") private Date confirmTime; @TableField(exist = false) private String installationPosition; }