| | |
| | | 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.api.vo.FileUploadResult; |
| | | 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; |
| | | import java.util.List; |
| | | |
| | | 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: Lius |
| | | * @Date: 2025-04-01 |
| | | * @Author: jeecg-boot |
| | | * @Date: 2025-07-17 |
| | | * @Version: V1.0 |
| | | */ |
| | | @Data |
| | | @TableName("eam_report_repair") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @Accessors(chain = true) |
| | | @ApiModel(value = "eam_report_repair对象", description = "故障报修") |
| | | public class EamReportRepair extends JeecgEntity implements Serializable { |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @ApiModel(value="eam_report_repair对象", description="故障报修") |
| | | public class EamReportRepair implements Serializable { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | private static final long serialVersionUID = 3966250456529614720L; |
| | | |
| | | /** |
| | | * 设备ID |
| | | */ |
| | | @Excel(name = "设备ID", width = 15, dictTable = "eam_equipment", dicCode = "id", dicText = "equipment_code") |
| | | @ApiModelProperty(value = "设备ID") |
| | | // @Dict(dictTable = "eam_equipment", dicCode = "id", dicText = "equipment_code") |
| | | private String equipmentId; |
| | | /** |
| | | * 设备名称 |
| | | */ |
| | | @Excel(name = "设备名称", width = 15) |
| | | @TableField(exist = false) |
| | | @ApiModelProperty(value = "设备名称") |
| | | private String equipmentName; |
| | | /** |
| | | * 删除标记 |
| | | */ |
| | | /**主键*/ |
| | | @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 = "删除标记") |
| | | @Dict(dicCode = "del_flag") |
| | | @TableLogic |
| | | private Integer delFlag; |
| | | /** |
| | | * 故障开始时间 |
| | | */ |
| | | @ApiModelProperty(value = "故障开始时间") |
| | | @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "故障开始时间", width = 15, format = "yyyy-MM-dd HH:mm:ss") |
| | | private Date faultStartTime; |
| | | /** |
| | | * 是否停机 |
| | | */ |
| | | @Excel(name = "是否停机", width = 15, dicCode = "breakdown_flag") |
| | | @ApiModelProperty(value = "是否停机") |
| | | @Dict(dicCode = "breakdown_flag") |
| | | private String breakdownFlag; |
| | | /** |
| | | * 故障简称 |
| | | */ |
| | | @Excel(name = "故障简称", width = 15) |
| | | @ApiModelProperty(value = "故障简称") |
| | | private String faultName; |
| | | /** |
| | | * 故障分类 |
| | | */ |
| | | @Excel(name = "故障分类", width = 15, dicCode = "fault_reason_category") |
| | | @ApiModelProperty(value = "故障分类") |
| | | @Dict(dicCode = "fault_reason_category") |
| | | private String faultType; |
| | | /** |
| | | * 故障描述 |
| | | */ |
| | | @Excel(name = "故障描述", width = 15) |
| | | @ApiModelProperty(value = "故障描述") |
| | | private String faultDescription; |
| | | /** |
| | | * 报修状态 |
| | | */ |
| | | @Excel(name = "报修状态", width = 15, dicCode = "report_repair_status") |
| | | /**设备ID*/ |
| | | @ApiModelProperty(value = "设备ID") |
| | | @Excel(name = "设备ID", width = 15, dictTable = "eam_equipment", dicCode = "id", dicText = "equipment_name") |
| | | @Dict(dictTable = "eam_equipment", dicCode = "id", dicText = "equipment_name") |
| | | private String equipmentId; |
| | | /** 报修状态*/ |
| | | @ApiModelProperty(value = "报修状态") |
| | | @Dict(dicCode = "report_repair_status") |
| | | @Dict(dicCode = "repair_status") |
| | | private String reportStatus; |
| | | /** |
| | | * 照片文件ids;id以逗号分隔 |
| | | */ |
| | | @Excel(name = "照片", width = 15, type = 2) |
| | | @ApiModelProperty(value = "照片") |
| | | private String imageFiles; |
| | | |
| | | /**照片*/ |
| | | @ApiModelProperty(value = "照片") |
| | | @TableField(exist = false) |
| | | private List<FileUploadResult> imageFilesResult; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | @Excel(name = "备注", width = 15) |
| | | /**是否加工 加工、未加工*/ |
| | | @Excel(name = "是否加工 加工、未加工", width = 15) |
| | | @ApiModelProperty(value = "是否加工 加工、未加工") |
| | | @Dict(dicCode = "is_processed") |
| | | private String isProcessed; |
| | | /**故障开始时间*/ |
| | | @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 faultStartTime; |
| | | /**是否停机*/ |
| | | @Excel(name = "是否停机", width = 15) |
| | | @ApiModelProperty(value = "是否停机") |
| | | @Dict(dicCode = "yn") |
| | | private String breakdownFlag; |
| | | /**故障现象*/ |
| | | @Excel(name = "故障现象", width = 15) |
| | | @ApiModelProperty(value = "故障现象") |
| | | private String faultDescription; |
| | | /**批次号*/ |
| | | @Excel(name = "批次号", width = 15) |
| | | @ApiModelProperty(value = "批次号") |
| | | private String batchNumber; |
| | | /**加工零件号*/ |
| | | @Excel(name = "加工零件号", width = 15) |
| | | @ApiModelProperty(value = "加工零件号") |
| | | private String processingPart; |
| | | /**件数*/ |
| | | @Excel(name = "件数", width = 15) |
| | | @ApiModelProperty(value = "件数") |
| | | private String quantity; |
| | | /**设备事故 是否*/ |
| | | @Excel(name = "设备事故 是否", width = 15) |
| | | @ApiModelProperty(value = "设备事故 是否") |
| | | @Dict(dicCode = "yn") |
| | | private String isAccidentsRegister; |
| | | /**废品件号*/ |
| | | @Excel(name = "废品件号", width = 15) |
| | | @ApiModelProperty(value = "废品件号") |
| | | private String scrapPartNumber; |
| | | /**废品件数*/ |
| | | @Excel(name = "废品件数", width = 15) |
| | | @ApiModelProperty(value = "废品件数") |
| | | private String scrapPartQuantity; |
| | | /**废品价值*/ |
| | | @Excel(name = "废品价值", width = 15) |
| | | @ApiModelProperty(value = "废品价值") |
| | | private String scrapPartValue; |
| | | /**备注*/ |
| | | @Excel(name = "备注", width = 15) |
| | | @ApiModelProperty(value = "备注") |
| | | private String remark; |
| | | |
| | |
| | | @TableField(exist = false) |
| | | private String equipmentCode; |
| | | @TableField(exist = false) |
| | | private String equipmentName; |
| | | @TableField(exist = false) |
| | | private String equipmentModel; |
| | | @TableField(exist = false) |
| | | private String installationPosition; |
| | | |
| | | } |