package org.jeecg.modules.eam.entity; 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.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_second_maintenance_order") @EqualsAndHashCode(callSuper = false) @Accessors(chain = true) @ApiModel(value = "eam_second_maintenance_order对象", description = "设备二级保养") public class EamSecondMaintenanceOrder implements Serializable { /** * 主键 */ @TableId(type = IdType.ASSIGN_ID) @ApiModelProperty(value = "主键") private String id; /** * 创建人 */ @ApiModelProperty(value = "创建人") private String createBy; /** * 创建时间 */ @ApiModelProperty(value = "创建时间") private Date createTime; /** * 更新人 */ @ApiModelProperty(value = "更新人") private String updateBy; /** * 更新时间 */ @ApiModelProperty(value = "更新时间") private Date updateTime; /** * 删除标记 */ @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(dicCode = "eam_maintenance_standard, standard_name, id") private String standardId; /** * 计划保养日期 */ @ApiModelProperty(value = "计划保养日期") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd") private Date maintenanceDate; /** * 实际开始时间 */ @ApiModelProperty(value = "实际开始时间") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date actualStartTime; /** * 实际结束时间 */ @ApiModelProperty(value = "实际结束时间") @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(value = "保养人") @Dict(dicCode = "sys_user, realname, username") private String operator; /** * 保养状态 */ @Excel(name = "保养状态", width = 15) @ApiModelProperty(value = "保养状态") @Dict(dicCode = "second_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 = "sys_user, realname, username") private String confirmUser; /** * 确认意见 */ @ApiModelProperty(value = "确认意见") private String confirmComment; /** * 确认时间 */ @ApiModelProperty(value = "确认时间") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date confirmTime; /** * 单位领导确认 */ @Excel(name = "单位领导确认", width = 15) @ApiModelProperty(value = "单位领导确认") @Dict(dicCode = "sys_user, realname, username") private String confirmLeader; /** * 领导意见 */ @ApiModelProperty(value = "领导意见") private String leaderConfirmComment; /** * 领导确认时间 */ @ApiModelProperty(value = "领导确认时间") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date leaderConfirmTime; /** * 保养上传图片 */ @Excel(name = "保养上传图片", width = 15) @ApiModelProperty(value = "保养上传图片") private String imageFiles; /** * 备注 */ @Excel(name = "备注", width = 15) @ApiModelProperty(value = "备注") private String remark; //列表展示 @TableField(exist = false) private String equipmentCode; @TableField(exist = false) private String equipmentName; }