package org.jeecg.modules.eam.entity;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
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_repair")
|
@Accessors(chain = true)
|
@EqualsAndHashCode(callSuper = false)
|
@ApiModel(value="eam_report_repair对象", description="故障报修")
|
public class EamReportRepair 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 Integer delFlag;
|
/**设备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 = "repair_status")
|
private String reportStatus;
|
/**是否加工 加工、未加工*/
|
@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;
|
|
}
|