package com.jcdm.main.rm.repairRecord.domain; import com.alibaba.excel.annotation.ExcelIgnore; import com.alibaba.excel.annotation.ExcelIgnoreUnannotated; import com.alibaba.excel.annotation.ExcelProperty; import com.alibaba.excel.annotation.write.style.ColumnWidth; import com.alibaba.excel.annotation.write.style.HeadFontStyle; import com.alibaba.excel.annotation.write.style.HeadRowHeight; import com.baomidou.mybatisplus.annotation.TableField; import lombok.Data; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.jcdm.common.annotation.Excel; import com.jcdm.common.core.domain.BaseEntity; import java.util.List; /** * 返修记录对象 rm_repair_record * * @author Yi * @date 2023-12-22 */ @Data @ExcelIgnoreUnannotated @ColumnWidth(16) @HeadRowHeight(14) @HeadFontStyle(fontHeightInPoints = 11) public class RmRepairRecord extends BaseEntity { private static final long serialVersionUID = 1L; /** 主键id */ private Long id; /** 总成编码 */ @Excel(name = "总成编码") private String snCode; /** 返修标识 */ @Excel(name = "返修标识") @ExcelProperty(value = "返修标识", index = 0) private String repairIdentification; /** 箱体编码 */ @Excel(name = "箱体编码") @ExcelProperty(value = "箱体编码", index = 1) private String boxCode; @TableField(exist = false) @ExcelIgnore private List engineNoList; @TableField(exist = false) @ExcelIgnore private List engineNoListExcel; /** 工序编码 */ @Excel(name = "工序编码") @ExcelProperty(value = "工序编码", index = 2) private String processesCode; /** 原结果 */ @Excel(name = "原结果") @ExcelProperty(value = "原结果", index = 3) private String originalResult; /** 创建用户 */ @Excel(name = "创建用户") @ExcelProperty(value = "创建用户", index = 5) private String createUser; /** 更新用户 */ @Excel(name = "更新用户") private String updateUser; /** 返修结果 */ @Excel(name = "返修结果") @ExcelProperty(value = "返修结果", index = 4) private String repairResults; /** 状态 */ @Excel(name = "状态") private String status; /** 备注 */ @Excel(name = "备注") private String remarks; /** 预留字段1 */ @Excel(name = "预留字段1") private String spareField1; /** 预留字段2 */ @Excel(name = "预留字段2") private String spareField2; public void setId(Long id) { this.id = id; } public Long getId() { return id; } public void setSnCode(String snCode) { this.snCode = snCode; } public String getSnCode() { return snCode; } public void setRepairIdentification(String repairIdentification) { this.repairIdentification = repairIdentification; } public String getRepairIdentification() { return repairIdentification; } public void setBoxCode(String boxCode) { this.boxCode = boxCode; } public String getBoxCode() { return boxCode; } public void setProcessesCode(String processesCode) { this.processesCode = processesCode; } public String getProcessesCode() { return processesCode; } public void setOriginalResult(String originalResult) { this.originalResult = originalResult; } public String getOriginalResult() { return originalResult; } public void setCreateUser(String createUser) { this.createUser = createUser; } public String getCreateUser() { return createUser; } public void setUpdateUser(String updateUser) { this.updateUser = updateUser; } public String getUpdateUser() { return updateUser; } public void setRepairResults(String repairResults) { this.repairResults = repairResults; } public String getRepairResults() { return repairResults; } public void setStatus(String status) { this.status = status; } public String getStatus() { return status; } public void setRemarks(String remarks) { this.remarks = remarks; } public String getRemarks() { return remarks; } public void setSpareField1(String spareField1) { this.spareField1 = spareField1; } public String getSpareField1() { return spareField1; } public void setSpareField2(String spareField2) { this.spareField2 = spareField2; } public String getSpareField2() { return spareField2; } @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("id", getId()) .append("snCode", getSnCode()) .append("repairIdentification", getRepairIdentification()) .append("boxCode", getBoxCode()) .append("processesCode", getProcessesCode()) .append("originalResult", getOriginalResult()) .append("createUser", getCreateUser()) .append("createTime", getCreateTime()) .append("updateTime", getUpdateTime()) .append("updateUser", getUpdateUser()) .append("repairResults", getRepairResults()) .append("status", getStatus()) .append("remarks", getRemarks()) .append("spareField1", getSpareField1()) .append("spareField2", getSpareField2()) .toString(); } }