package cn.stylefeng.guns.modular.om.productionOrderBatchInfo.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; /** *
* 工单批次上料信息 *
* * @author ruimin * @since 2023-02-24 */ @TableName("om_production_order_batch_info") public class ProductionOrderBatchInfo implements Serializable { private static final long serialVersionUID=1L; /** * 主键id */ @TableId(value = "id", type = IdType.ID_WORKER) private Long id; /** * 工单编号 */ @TableField("work_order_no") private String workOrderNo; /** * 产线编号 */ @TableField("production_line") private String productionLine; @TableField("material_code") private String materialCode; /** * 工位编号 */ @TableField("location_code") private String locationCode; /** * 扫码工位编号 */ @TableField("loading_code") private String loadingCode; /** * 是否上料(是、否) */ @TableField("status") private String status; @TableField("bar_code") private String barCode; @TableField("quantity") private Integer quantity; @TableField("residue_quantity") private Integer residueQuantity; @TableField("unit") private String unit; @TableField("batch") private String batch; /** * 预留字段1 */ @TableField("spare_field_1") private String spareField1; /** * 预留字段2 */ @TableField("spare_field_2") private String spareField2; /** * 创建用户 */ @TableField(value = "create_user", fill = FieldFill.INSERT) private String createUser; /** * 更改用户 */ @TableField(value = "update_user", fill = FieldFill.UPDATE) private String updateUser; /** * 创建时间 */ @TableField(value = "create_time", fill = FieldFill.INSERT) private Date createTime; /** * 修改时间 */ @TableField(value = "update_time", fill = FieldFill.UPDATE) private Date updateTime; public Integer getResidueQuantity() { return residueQuantity; } public void setResidueQuantity(Integer residueQuantity) { this.residueQuantity = residueQuantity; } public Integer getQuantity() { return quantity; } public void setQuantity(Integer quantity) { this.quantity = quantity; } public String getUnit() { return unit; } public void setUnit(String unit) { this.unit = unit; } public String getBatch() { return batch; } public void setBatch(String batch) { this.batch = batch; } public String getLoadingCode() { return loadingCode; } public void setLoadingCode(String loadingCode) { this.loadingCode = loadingCode; } public String getMaterialCode() { return materialCode; } public void setMaterialCode(String materialCode) { this.materialCode = materialCode; } public String getBarCode() { return barCode; } public void setBarCode(String barCode) { this.barCode = barCode; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } 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 getStatus() { return status; } public void setStatus(String status) { this.status = status; } 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 getCreateUser() { return createUser; } public void setCreateUser(String createUser) { this.createUser = createUser; } public String getUpdateUser() { return updateUser; } public void setUpdateUser(String updateUser) { this.updateUser = updateUser; } public Date getCreateTime() { return createTime; } public void setCreateTime(Date createTime) { this.createTime = createTime; } public Date getUpdateTime() { return updateTime; } public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; } @Override public String toString() { return "ProductionOrderBatchInfo{" + "id=" + id + ", workOrderNo=" + workOrderNo + ", productionLine=" + productionLine + ", locationCode=" + locationCode + ", status=" + status + ", spareField1=" + spareField1 + ", spareField2=" + spareField2 + ", createUser=" + createUser + ", updateUser=" + updateUser + ", createTime=" + createTime + ", updateTime=" + updateTime + "}"; } }