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.*; import lombok.Data; import com.fasterxml.jackson.annotation.JsonFormat; 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: 设备事故登记表 * @Author: jeecg-boot * @Date: 2025-07-17 * @Version: V1.0 */ @Data @TableName("eam_report_accidents_register") @Accessors(chain = true) @EqualsAndHashCode(callSuper = false) @ApiModel(value="eam_report_accidents_register对象", description="设备事故登记表") public class EamReportAccidentsRegister implements Serializable { private static final long serialVersionUID = 1L; /**主键*/ @TableId(type = IdType.ASSIGN_ID) @ApiModelProperty(value = "主键") private String id; /**创建人*/ @ApiModelProperty(value = "创建人") private String createBy; /**创建日期*/ @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @ApiModelProperty(value = "创建日期") private Date createTime; /**更新人*/ @ApiModelProperty(value = "更新人") private String updateBy; /**更新日期*/ @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @ApiModelProperty(value = "更新日期") private Date updateTime; /**删除标记*/ @Excel(name = "删除标记", width = 15) @ApiModelProperty(value = "删除标记") @TableLogic private String delFlag; /**报修ID*/ @Excel(name = "报修ID", width = 15) @ApiModelProperty(value = "报修ID") private String reportId; /**设备ID*/ @Excel(name = "设备ID", width = 15) @ApiModelProperty(value = "设备ID") private String equipmentId; /**是否有设备操作证 是否*/ @Excel(name = "是否有设备操作证 是否", width = 15) @ApiModelProperty(value = "是否有设备操作证 是否") @Dict(dicCode = "yn") private String operationCertificate; /**是否断电重启*/ @Excel(name = "是否断电重启", width = 15) @ApiModelProperty(value = "是否断电重启") @Dict(dicCode = "yn") private String powerOffRestart; /**是否为批次首件*/ @Excel(name = "是否为批次首件", width = 15) @ApiModelProperty(value = "是否为批次首件") @Dict(dicCode = "yn") private String batchFirstPiece; /**变动因素 是否*/ @Excel(name = "变动因素 是否", width = 15) @ApiModelProperty(value = "变动因素 是否") @Dict(dicCode = "yn") private String variableFactors; /**变动因素内容 刀具更换、工艺更改、加工程序更改、刀具补偿值更改、*/ @Excel(name = "变动因素内容 刀具更换、工艺更改、加工程序更改、刀具补偿值更改、", width = 15) @ApiModelProperty(value = "变动因素内容 刀具更换、工艺更改、加工程序更改、刀具补偿值更改") @Dict(dicCode = "variable_factors_value") private String variableFactorsValue; /**执行程序*/ @Excel(name = "执行程序", width = 15) @ApiModelProperty(value = "执行程序") private String executeNc; /**事故现象*/ @Excel(name = "事故现象", width = 15) @ApiModelProperty(value = "事故现象") private String accidentPhenomenon; /**采取措施*/ @Excel(name = "采取措施", width = 15) @ApiModelProperty(value = "采取措施") private String measure; /**造成结果*/ @Excel(name = "造成结果", width = 15) @ApiModelProperty(value = "造成结果") private String causingResults; /**操作工*/ @Excel(name = "操作工", width = 15) @ApiModelProperty(value = "操作工") private String confirmer; /**操作工确认时间*/ @Excel(name = "操作工确认时间", width = 15, format = "yyyy-MM-dd") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") @DateTimeFormat(pattern="yyyy-MM-dd") @ApiModelProperty(value = "操作工确认时间") private Date confirmTime; /**区长*/ @Excel(name = "区长", width = 15) @ApiModelProperty(value = "区长") private String district; /**区长确认*/ @Excel(name = "区长确认", width = 15) @ApiModelProperty(value = "区长确认") private String districtConfirm; /**区长确认时间*/ @Excel(name = "区长确认时间", width = 15, format = "yyyy-MM-dd") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") @DateTimeFormat(pattern="yyyy-MM-dd") @ApiModelProperty(value = "区长确认时间") private Date districtTime; /**中心主任*/ @Excel(name = "中心主任", width = 15) @ApiModelProperty(value = "中心主任") private String centerDirector; /**中心主任确认*/ @Excel(name = "中心主任确认", width = 15) @ApiModelProperty(value = "中心主任确认") private String centerDirectorConfirm; /**中心主任确认时间*/ @Excel(name = "中心主任确认时间", width = 15, format = "yyyy-MM-dd") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") @DateTimeFormat(pattern="yyyy-MM-dd") @ApiModelProperty(value = "中心主任确认时间") private Date centerDirectorTime; /**维修开始时间*/ @Excel(name = "维修开始时间", width = 15, format = "yyyy-MM-dd") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") @DateTimeFormat(pattern="yyyy-MM-dd") @ApiModelProperty(value = "维修开始时间") private Date reportStartTime; /**设备状态*/ @Excel(name = "设备状态", width = 15) @ApiModelProperty(value = "设备状态") private String equipmentStatus; /**原因分析*/ @Excel(name = "原因分析", width = 15) @ApiModelProperty(value = "原因分析") private String causeAnalysis; /**检查结果*/ @Excel(name = "检查结果", width = 15) @ApiModelProperty(value = "检查结果") private String inspectionResults; /**采取措施*/ @Excel(name = "采取措施", width = 15) @ApiModelProperty(value = "采取措施") private String takeSteps; /**建议采取措施*/ @Excel(name = "建议采取措施", width = 15) @ApiModelProperty(value = "建议采取措施") private String suggestionTakeSteps; /**建议采取措施时间*/ @Excel(name = "建议采取措施时间", width = 15, format = "yyyy-MM-dd") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") @DateTimeFormat(pattern="yyyy-MM-dd") @ApiModelProperty(value = "建议采取措施时间") private Date suggestionTakeStepsTime; /**维修确认*/ @Excel(name = "维修确认", width = 15) @ApiModelProperty(value = "维修确认") private String repairConfirm; /**维修确认意见*/ @Excel(name = "维修确认意见", width = 15) @ApiModelProperty(value = "维修确认意见") private String repairConfirmComment; /**维修确认时间*/ @Excel(name = "维修确认时间", width = 15, format = "yyyy-MM-dd") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") @DateTimeFormat(pattern="yyyy-MM-dd") @ApiModelProperty(value = "维修确认时间") private Date repairConfirmTime; /**维修组长确认*/ @Excel(name = "维修组长确认", width = 15) @ApiModelProperty(value = "维修组长确认") private String repairGroupLeader; /**维修组长意见*/ @Excel(name = "维修组长意见", width = 15) @ApiModelProperty(value = "维修组长意见") private String repairGroupLeaderComment; /**维修组长确认时间*/ @Excel(name = "维修组长确认时间", width = 15, format = "yyyy-MM-dd") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") @DateTimeFormat(pattern="yyyy-MM-dd") @ApiModelProperty(value = "维修组长确认时间") private Date repairGroupLeaderTime; /**维修组长确认*/ @Excel(name = "维修组长确认", width = 15) @ApiModelProperty(value = "维修组长确认") private String repairDistrict; /**维修组长意见*/ @Excel(name = "维修组长意见", width = 15) @ApiModelProperty(value = "维修组长意见") private String repairDistrictComment; /**维修组长确认时间*/ @Excel(name = "维修组长确认时间", width = 15, format = "yyyy-MM-dd") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") @DateTimeFormat(pattern="yyyy-MM-dd") @ApiModelProperty(value = "维修组长确认时间") private Date repairDistrictTime; /**原因分析核对同意、不同意*/ @Excel(name = "原因分析核对同意、不同意", width = 15) @ApiModelProperty(value = "原因分析核对同意、不同意") private String checkAgree; /**不同意原因分析*/ @Excel(name = "不同意原因分析", width = 15) @ApiModelProperty(value = "不同意原因分析") private String disagreeReason; /**整改措施*/ @Excel(name = "整改措施", width = 15) @ApiModelProperty(value = "整改措施") private String rectificationMeasures; /**事故结论*/ @Excel(name = "事故结论", width = 15) @ApiModelProperty(value = "事故结论") private String accidentConclusion; /**技术负责人*/ @Excel(name = "技术负责人", width = 15) @ApiModelProperty(value = "技术负责人") private String technicalDirector; /**技术负责人确认时间*/ @Excel(name = "技术负责人确认时间", width = 15, format = "yyyy-MM-dd") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") @DateTimeFormat(pattern="yyyy-MM-dd") @ApiModelProperty(value = "技术负责人确认时间") private Date technicalDirectorTime; /**技术主管室级领导*/ @Excel(name = "技术主管室级领导", width = 15) @ApiModelProperty(value = "技术主管室级领导") private String technicalDirectorLeader; /**技术主管室级领导确认时间*/ @Excel(name = "技术主管室级领导确认时间", width = 15, format = "yyyy-MM-dd") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") @DateTimeFormat(pattern="yyyy-MM-dd") @ApiModelProperty(value = "技术主管室级领导确认时间") private Date technicalDirectorLeaderTime; /**主管部级领导*/ @Excel(name = "主管部级领导", width = 15) @ApiModelProperty(value = "主管部级领导") private String technicalDirectorPart; /**主管部级领导确认时间*/ @Excel(name = "主管部级领导确认时间", width = 15, format = "yyyy-MM-dd") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") @DateTimeFormat(pattern="yyyy-MM-dd") @ApiModelProperty(value = "主管部级领导确认时间") private Date technicalDirectorPartTime; //列表展示 @TableField(exist = false) private String equipmentCode; @TableField(exist = false) private String equipmentName; @TableField(exist = false) private String equipmentModel; @TableField(exist = false) private String installationPosition; }