package com.jcdm.main.da.passingStationCollection.domain; import com.baomidou.mybatisplus.annotation.TableField; import com.fasterxml.jackson.annotation.JsonFormat; import com.jcdm.common.annotation.Excel; import com.jcdm.common.core.domain.BaseEntity; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import java.util.Date; /** * 产品过站采集对象 da_passing_station_collection * * @author yyt * @date 2023-12-12 */ public class DaPassingStationCollection extends BaseEntity { private static final long serialVersionUID = 1L; /** 主键id */ private Long id; /** 工单编号 */ @Excel(name = "工单编号") private String workOrderNo; /** 总成序列号 */ @Excel(name = "总成序列号") private String sfcCode; /** 产品编号 */ @Excel(name = "产品编号") private String productCode; /** 产线编号 */ @Excel(name = "产线编号") private String productionLine; /** 工位编号 */ @Excel(name = "工位编号") private String locationCode; /** 设备编号 */ @Excel(name = "设备编号") private String equipmentNo; /** 入站时间 */ // @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = "入站时间") private Date inboundTime; /** 出站时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @Excel(name = "出站时间") private Date outboundTime; /** 入站是否合格 */ @Excel(name = "入站是否合格") private String inRsSign; /** 入站NG原因 */ @Excel(name = "入站NG原因") private String inMsgSign; /** 出站是否合格 */ @Excel(name = "出站是否合格") private String outRsSign; /** 出站NG原因 */ @Excel(name = "出站NG原因") private String outMsgSign; /** 采集时间 */ // @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = "采集时间") private Date collectionTime; /** 预留字段1 */ private String spareField1; /** 预留字段2 */ private String spareField2; /** 创建用户 */ private String createUser; /** 更改用户 */ private String updateUser; /** 节拍时间 */ @Excel(name = "节拍时间") private String beatTime; @TableField(exist = false) private Long[] ids; public Long[] getIds() { return ids; } public void setIds(Long[] ids) { this.ids = ids; } public void setId(Long id) { this.id = id; } public Long getId() { return id; } public void setWorkOrderNo(String workOrderNo) { this.workOrderNo = workOrderNo; } public String getWorkOrderNo() { return workOrderNo; } public void setSfcCode(String sfcCode) { this.sfcCode = sfcCode; } public String getSfcCode() { return sfcCode; } public void setProductCode(String productCode) { this.productCode = productCode; } public String getProductCode() { return productCode; } public void setProductionLine(String productionLine) { this.productionLine = productionLine; } public String getProductionLine() { return productionLine; } public void setLocationCode(String locationCode) { this.locationCode = locationCode; } public String getLocationCode() { return locationCode; } public void setEquipmentNo(String equipmentNo) { this.equipmentNo = equipmentNo; } public String getEquipmentNo() { return equipmentNo; } public void setInboundTime(Date inboundTime) { this.inboundTime = inboundTime; } public Date getInboundTime() { return inboundTime; } public void setOutboundTime(Date outboundTime) { this.outboundTime = outboundTime; } public Date getOutboundTime() { return outboundTime; } public void setInRsSign(String inRsSign) { this.inRsSign = inRsSign; } public String getInRsSign() { return inRsSign; } public void setInMsgSign(String inMsgSign) { this.inMsgSign = inMsgSign; } public String getInMsgSign() { return inMsgSign; } public void setOutRsSign(String outRsSign) { this.outRsSign = outRsSign; } public String getOutRsSign() { return outRsSign; } public void setOutMsgSign(String outMsgSign) { this.outMsgSign = outMsgSign; } public String getOutMsgSign() { return outMsgSign; } public void setCollectionTime(Date collectionTime) { this.collectionTime = collectionTime; } public Date getCollectionTime() { return collectionTime; } 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 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 setBeatTime(String beatTime) { this.beatTime = beatTime; } public String getBeatTime() { return beatTime; } @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("id", getId()) .append("workOrderNo", getWorkOrderNo()) .append("sfcCode", getSfcCode()) .append("productCode", getProductCode()) .append("productionLine", getProductionLine()) .append("locationCode", getLocationCode()) .append("equipmentNo", getEquipmentNo()) .append("inboundTime", getInboundTime()) .append("outboundTime", getOutboundTime()) .append("inRsSign", getInRsSign()) .append("inMsgSign", getInMsgSign()) .append("outRsSign", getOutRsSign()) .append("outMsgSign", getOutMsgSign()) .append("collectionTime", getCollectionTime()) .append("spareField1", getSpareField1()) .append("spareField2", getSpareField2()) .append("createUser", getCreateUser()) .append("createTime", getCreateTime()) .append("updateUser", getUpdateUser()) .append("updateTime", getUpdateTime()) .append("beatTime", getBeatTime()) .toString(); } }