package cn.stylefeng.guns.modular.dq.materialTraceability.entity; import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.IdType; import java.util.Date; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableField; import java.io.Serializable; /** *
* 物料追溯 *
* * @author cl * @since 2022-10-29 */ @TableName("dq_material_traceability") public class MaterialTraceability implements Serializable { private static final long serialVersionUID=1L; /** * ID */ @TableId(value = "id", type = IdType.ID_WORKER) private Long id; /** * 产品序列号 */ @TableField("product_no") private String productNo; /** * 壳体条码 */ @TableField("housing_bar_code") private String housingBarCode; /** * 生产工单号 */ @TableField("work_order_no") private String workOrderNo; /** * 产品编码 */ @TableField("product_code") private String productCode; /** * 产品名称 */ @TableField("product_name") private String productName; /** * 产线编号 */ @TableField("line_code") private String lineCode; /** * 产线名称 */ @TableField("line_name") private String lineName; /** * 工位编号 */ @TableField("location_code") private String locationCode; /** * 工位名称 */ @TableField("location_name") private String locationName; /** * 物料编号 */ @TableField("material_code") private String materialCode; /** * 物料描述 */ @TableField("material_name") private String materialName; /** * 物料批次号 */ @TableField("material_batch_no") private String materialBatchNo; /** * 物料序列号 */ @TableField("material_serial_no") private String materialSerialNo; /** * 数量 */ @TableField("assembly_qty") private Integer assemblyQty; /** * 装配用户 */ @TableField("assembly_user") private String assemblyUser; /** * 装配时间 */ @TableField("assembly_time") private Date assemblyTime; /** * 预留字段1 */ @TableField("spare_field_1") private String spareField1; /** * 预留字段2 */ @TableField("spare_field_2") private String spareField2; /** * 预留字段3 */ @TableField("spare_field_3") private Long spareField3; /** * 预留字段4 */ @TableField("spare_field_4") private Long spareField4; /** * 备注 */ @TableField("remarks") private String remarks; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getProductNo() { return productNo; } public void setProductNo(String productNo) { this.productNo = productNo; } public String getHousingBarCode() { return housingBarCode; } public void setHousingBarCode(String housingBarCode) { this.housingBarCode = housingBarCode; } public String getWorkOrderNo() { return workOrderNo; } public void setWorkOrderNo(String workOrderNo) { this.workOrderNo = workOrderNo; } public String getProductCode() { return productCode; } public void setProductCode(String productCode) { this.productCode = productCode; } public String getProductName() { return productName; } public void setProductName(String productName) { this.productName = productName; } public String getLineCode() { return lineCode; } public void setLineCode(String lineCode) { this.lineCode = lineCode; } public String getLineName() { return lineName; } public void setLineName(String lineName) { this.lineName = lineName; } public String getLocationCode() { return locationCode; } public void setLocationCode(String locationCode) { this.locationCode = locationCode; } public String getLocationName() { return locationName; } public void setLocationName(String locationName) { this.locationName = locationName; } public String getMaterialCode() { return materialCode; } public void setMaterialCode(String materialCode) { this.materialCode = materialCode; } public String getMaterialName() { return materialName; } public void setMaterialName(String materialName) { this.materialName = materialName; } public String getMaterialBatchNo() { return materialBatchNo; } public void setMaterialBatchNo(String materialBatchNo) { this.materialBatchNo = materialBatchNo; } public String getMaterialSerialNo() { return materialSerialNo; } public void setMaterialSerialNo(String materialSerialNo) { this.materialSerialNo = materialSerialNo; } public Integer getAssemblyQty() { return assemblyQty; } public void setAssemblyQty(Integer assemblyQty) { this.assemblyQty = assemblyQty; } public String getAssemblyUser() { return assemblyUser; } public void setAssemblyUser(String assemblyUser) { this.assemblyUser = assemblyUser; } public Date getAssemblyTime() { return assemblyTime; } public void setAssemblyTime(Date assemblyTime) { this.assemblyTime = assemblyTime; } public String getSpareField1() { return spareField1; } public void setSpareField1(String spareField1) { this.spareField1 = spareField1; } public String getSpareField2() { return spareField2; } public void setSpareField2(String spareField2) { this.spareField2 = spareField2; } public Long getSpareField3() { return spareField3; } public void setSpareField3(Long spareField3) { this.spareField3 = spareField3; } public Long getSpareField4() { return spareField4; } public void setSpareField4(Long spareField4) { this.spareField4 = spareField4; } public String getRemarks() { return remarks; } public void setRemarks(String remarks) { this.remarks = remarks; } @Override public String toString() { return "MaterialTraceability{" + "id=" + id + ", productNo=" + productNo + ", housingBarCode=" + housingBarCode + ", workOrderNo=" + workOrderNo + ", productCode=" + productCode + ", productName=" + productName + ", lineCode=" + lineCode + ", lineName=" + lineName + ", locationCode=" + locationCode + ", locationName=" + locationName + ", materialCode=" + materialCode + ", materialName=" + materialName + ", materialBatchNo=" + materialBatchNo + ", materialSerialNo=" + materialSerialNo + ", assemblyQty=" + assemblyQty + ", assemblyUser=" + assemblyUser + ", assemblyTime=" + assemblyTime + ", spareField1=" + spareField1 + ", spareField2=" + spareField2 + ", spareField3=" + spareField3 + ", spareField4=" + spareField4 + ", remarks=" + remarks + "}"; } }