package com.jcdm.main.da.testDeviceInterfaceTemp.domain; import com.fasterxml.jackson.annotation.JsonFormat; 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.Date; /** * 测试设备接口数据备份对象 da_test_device_interface_temp * * @author Yi * @date 2024-07-03 */ public class DaTestDeviceInterfaceTemp extends BaseEntity { private static final long serialVersionUID = 1L; /** id */ private Long id; /** 检验记录编号,由各设备按自定规则生成,唯一编码 */ @Excel(name = "检验记录编号,由各设备按自定规则生成,唯一编码") private String recordId; /** 检测站点编号 */ @Excel(name = "检测站点编号") private String stationCode; /** 产品序列号-pack码 */ @Excel(name = "产品序列号-pack码") private String productNum; /** 整体结果 (0 不合格 , 1 合格) */ @Excel(name = "整体结果 ", readConverterExp = "0=,不=合格,,=,1=,合=格") private String totalResult; /** 工单号 */ @Excel(name = "工单号") private String workOrderNo; /** 供应商类型 */ @Excel(name = "供应商类型") private String supplierType; /** 入参-参数列表 */ @Excel(name = "入参-参数列表") private String checkList; /** 状态编码(success为成功,fail为失败) */ @Excel(name = "状态编码", readConverterExp = "s=uccess为成功,fail为失败") private String resultCode; /** 接口的返回信息,当fail时会有报错信息 */ @Excel(name = "接口的返回信息,当fail时会有报错信息") private String resultMessage; /** 出参-参数列表 */ @Excel(name = "出参-参数列表") private String resultData; /** 备注 */ @Excel(name = "备注") private String remarks; /** 创建用户 */ @Excel(name = "创建用户") private String createUser; @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date createTime; /** 更改用户 */ @Excel(name = "更改用户") private String updateUser; /** 预留字段1 */ @Excel(name = "预留字段1") private String spareField1; /** 预留字段2 */ @Excel(name = "预留字段2") private String spareField2; /** 预留字段3 */ @Excel(name = "预留字段3") private String spareField3; /** 预留字段4 */ @Excel(name = "预留字段4") private String spareField4; @Override public Date getCreateTime() { return createTime; } @Override public void setCreateTime(Date createTime) { this.createTime = createTime; } public void setId(Long id) { this.id = id; } public Long getId() { return id; } public void setRecordId(String recordId) { this.recordId = recordId; } public String getRecordId() { return recordId; } public void setStationCode(String stationCode) { this.stationCode = stationCode; } public String getStationCode() { return stationCode; } public void setProductNum(String productNum) { this.productNum = productNum; } public String getProductNum() { return productNum; } public void setTotalResult(String totalResult) { this.totalResult = totalResult; } public String getTotalResult() { return totalResult; } public void setWorkOrderNo(String workOrderNo) { this.workOrderNo = workOrderNo; } public String getWorkOrderNo() { return workOrderNo; } public void setSupplierType(String supplierType) { this.supplierType = supplierType; } public String getSupplierType() { return supplierType; } public void setCheckList(String checkList) { this.checkList = checkList; } public String getCheckList() { return checkList; } public void setResultCode(String resultCode) { this.resultCode = resultCode; } public String getResultCode() { return resultCode; } public void setResultMessage(String resultMessage) { this.resultMessage = resultMessage; } public String getResultMessage() { return resultMessage; } public void setResultData(String resultData) { this.resultData = resultData; } public String getResultData() { return resultData; } public void setRemarks(String remarks) { this.remarks = remarks; } public String getRemarks() { return remarks; } 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 setSpareField1(String spareField1) { this.spareField1 = spareField1; } public String getSpareField1() { return spareField1; } public void setSpareField2(String spareField2) { this.spareField2 = spareField2; } public String getSpareField2() { return spareField2; } public void setSpareField3(String spareField3) { this.spareField3 = spareField3; } public String getSpareField3() { return spareField3; } public void setSpareField4(String spareField4) { this.spareField4 = spareField4; } public String getSpareField4() { return spareField4; } @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("id", getId()) .append("recordId", getRecordId()) .append("stationCode", getStationCode()) .append("productNum", getProductNum()) .append("totalResult", getTotalResult()) .append("workOrderNo", getWorkOrderNo()) .append("supplierType", getSupplierType()) .append("checkList", getCheckList()) .append("resultCode", getResultCode()) .append("resultMessage", getResultMessage()) .append("resultData", getResultData()) .append("remarks", getRemarks()) .append("createUser", getCreateUser()) .append("createTime", getCreateTime()) .append("updateUser", getUpdateUser()) .append("updateTime", getUpdateTime()) .append("spareField1", getSpareField1()) .append("spareField2", getSpareField2()) .append("spareField3", getSpareField3()) .append("spareField4", getSpareField4()) .toString(); } }