package cn.stylefeng.guns.modular.bs.batchCodeStorage.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.FieldFill;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import java.io.Serializable;
|
|
/**
|
* <p>
|
* 批次存储临时表
|
* </p>
|
*
|
* @author zrm
|
* @since 2023-02-15
|
*/
|
@TableName("bs_batch_code_storage")
|
public class BatchCodeStorage implements Serializable {
|
|
private static final long serialVersionUID=1L;
|
|
/**
|
* 主键id
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 物料编号
|
*/
|
@TableField("material_code")
|
private String materialCode;
|
|
/**
|
* 物料名称
|
*/
|
@TableField("material_name")
|
private String materialName;
|
|
/**
|
* 批次码
|
*/
|
@TableField("batch_code")
|
private String batchCode;
|
|
/**
|
* 生产工单号
|
*/
|
@TableField("work_order_no")
|
private String workOrderNo;
|
|
/**
|
* 生产线
|
*/
|
@TableField("production_line")
|
private String productionLine;
|
|
/**
|
* 工位编号
|
*/
|
@TableField("location_code")
|
private String locationCode;
|
|
/**
|
* 是否扫码
|
*/
|
@TableField("is_scan")
|
private String isScan;
|
|
/**
|
* 数量
|
*/
|
@TableField("quantity")
|
private Long quantity;
|
|
/**
|
* 预留字段1
|
*/
|
@TableField("spare_field_1")
|
private String spareField1;
|
|
/**
|
* 预留字段2
|
*/
|
@TableField("spare_field_2")
|
private String spareField2;
|
|
/**
|
* 备注
|
*/
|
@TableField("remarks")
|
private String remarks;
|
|
/**
|
* 创建用户
|
*/
|
@TableField(value = "create_user", fill = FieldFill.INSERT)
|
private String createUser;
|
|
/**
|
* 创建时间
|
*/
|
@TableField(value = "create_time", fill = FieldFill.INSERT)
|
private Date createTime;
|
|
@TableField("erp_spec")
|
private String erpSpec;
|
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
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 getBatchCode() {
|
return batchCode;
|
}
|
|
public void setBatchCode(String batchCode) {
|
this.batchCode = batchCode;
|
}
|
|
public String getWorkOrderNo() {
|
return workOrderNo;
|
}
|
|
public void setWorkOrderNo(String workOrderNo) {
|
this.workOrderNo = workOrderNo;
|
}
|
|
public String getProductionLine() {
|
return productionLine;
|
}
|
|
public void setProductionLine(String productionLine) {
|
this.productionLine = productionLine;
|
}
|
|
public String getLocationCode() {
|
return locationCode;
|
}
|
|
public void setLocationCode(String locationCode) {
|
this.locationCode = locationCode;
|
}
|
|
public String getIsScan() {
|
return isScan;
|
}
|
|
public void setIsScan(String isScan) {
|
this.isScan = isScan;
|
}
|
|
public Long getQuantity() {
|
return quantity;
|
}
|
|
public void setQuantity(Long quantity) {
|
this.quantity = quantity;
|
}
|
|
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 String getRemarks() {
|
return remarks;
|
}
|
|
public void setRemarks(String remarks) {
|
this.remarks = remarks;
|
}
|
|
public String getCreateUser() {
|
return createUser;
|
}
|
|
public void setCreateUser(String createUser) {
|
this.createUser = createUser;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public String getErpSpec() {
|
return erpSpec;
|
}
|
|
public void setErpSpec(String erpSpec) {
|
this.erpSpec = erpSpec;
|
}
|
|
@Override
|
public String toString() {
|
return "BatchCodeStorage{" +
|
"id=" + id +
|
", materialCode=" + materialCode +
|
", materialName=" + materialName +
|
", batchCode=" + batchCode +
|
", workOrderNo=" + workOrderNo +
|
", productionLine=" + productionLine +
|
", locationCode=" + locationCode +
|
", isScan=" + isScan +
|
", quantity=" + quantity +
|
", spareField1=" + spareField1 +
|
", spareField2=" + spareField2 +
|
", remarks=" + remarks +
|
", createUser=" + createUser +
|
", createTime=" + createTime +
|
", erpSpec=" + erpSpec +
|
"}";
|
}
|
}
|