package org.jeecg.modules.eam.entity; import java.io.Serializable; import java.io.UnsupportedEncodingException; import java.util.Date; import java.math.BigDecimal; 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 lombok.Data; import com.fasterxml.jackson.annotation.JsonFormat; import org.jeecg.common.constant.CommonConstant; import org.jeecg.common.system.base.entity.JeecgEntity; import org.springframework.format.annotation.DateTimeFormat; import org.jeecgframework.poi.excel.annotation.Excel; import org.jeecg.common.aspect.annotation.Dict; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; /** * @Description: mom_eam_report_after_repair * @Author: jeecg-boot * @Date: 2023-08-04 * @Version: V1.0 */ @Data @TableName("mom_eam_report_after_repair") @Accessors(chain = true) @EqualsAndHashCode(callSuper = false) @ApiModel(value="mom_eam_report_after_repair对象", description="mom_eam_report_after_repair") public class ReportAfterRepair extends JeecgEntity implements Serializable { private static final long serialVersionUID = 1L; /**单据号*/ @Excel(name = "单据号", width = 15) @ApiModelProperty(value = "单据号") private String num; /**审批状态*/ @Excel(name = "审批状态", width = 15) @ApiModelProperty(value = "审批状态") @Dict(dicCode = "audit_status") private String auditStatus ; /**设备id*/ @Excel(name = "设备id", width = 15) @ApiModelProperty(value = "设备id") private String equipmentId; /**故障描述*/ @Excel(name = "故障描述", width = 15) @ApiModelProperty(value = "故障描述") private String faultDescription; /**故障时间*/ @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 faultTime; /**是否停机待修*/ @Excel(name = "是否停机待修", width = 15) @ApiModelProperty(value = "是否停机待修") private String isStop; /**维保方式*/ @Excel(name = "维保方式", width = 15) @ApiModelProperty(value = "维保方式") @Dict(dicCode = "maintenance_method") private String maintenanceMethod; /**责任班组*/ @Excel(name = "责任班组", width = 15) @ApiModelProperty(value = "责任班组") @Dict(dictTable = "mom_base_team",dicCode = "id",dicText = "name") private String teamId; /**故障报修单ID*/ @Excel(name = "故障报修单ID", width = 15) @ApiModelProperty(value = "故障报修单ID") private String reportRepairId; @ApiModelProperty(value = "使用部门") @Dict(dictTable = "sys_depart",dicCode = "id",dicText = "depart_name") private String departId; @ApiModelProperty(value = "报修人") @Dict(dictTable = "sys_user",dicCode = "id",dicText = "realname") private String reportUserId; @ApiModelProperty(value = "实际开始时间") private Date actualStartTime; @ApiModelProperty(value = "实际结束时间") private Date actualEndTime; @ApiModelProperty(value = "工时定额") private BigDecimal workingHourQuota; @ApiModelProperty(value = "责任人") @Dict(dictTable = "sys_user",dicCode = "id",dicText = "realname") private String responsibilityId; @ApiModelProperty(value = "委外单位") @Dict(dictTable = "sys_depart",dicCode = "id",dicText = "depart_name") private String outsourcingUnit; @ApiModelProperty(value = "实际工时") private BigDecimal actualHour; @ApiModelProperty(value = "故障照片") private String photo; /**备用字段1*/ @Excel(name = "备用字段1", width = 15) @ApiModelProperty(value = "备用字段1") private String reportAfterRepairUda1; /**备用字段2*/ @Excel(name = "备用字段2", width = 15) @ApiModelProperty(value = "备用字段2") private String reportAfterRepairUda2; /**备用字段3*/ @Excel(name = "备用字段3", width = 15) @ApiModelProperty(value = "备用字段3") private String reportAfterRepairUda3; /**备用字段4*/ @Excel(name = "备用字段4", width = 15) @ApiModelProperty(value = "备用字段4") private String reportAfterRepairUda4; /**备用字段5*/ @Excel(name = "备用字段5", width = 15) @ApiModelProperty(value = "备用字段5") private String reportAfterRepairUda5; /**状态*/ @Excel(name = "状态", width = 15) @ApiModelProperty(value = "状态") private String status; /**备注*/ @Excel(name = "备注", width = 15) @ApiModelProperty(value = "备注") private String remark; /**企业ID*/ @Excel(name = "企业ID", width = 15) @ApiModelProperty(value = "企业ID") private String enterpriseId; /**删除状态(0-正常,1-已删除)*/ @Excel(name = "删除状态(0-正常,1-已删除)", width = 15) @ApiModelProperty(value = "删除状态(0-正常,1-已删除)") private Integer delFlag = CommonConstant.DEL_FLAG_0; /**租户id*/ @Excel(name = "租户id", width = 15) @ApiModelProperty(value = "租户id") private String tenantId; @TableField(exist = false) private String equipmentNum; @TableField(exist = false) private String equipmentName; @TableField(exist = false) private String equipmentModel; }