package cn.stylefeng.guns.modular.zsx.pm.workOrder.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-08-26 */ @TableName("pm_work_order") public class WorkOrder implements Serializable { private static final long serialVersionUID=1L; /** * 主键id */ @TableId(value = "id", type = IdType.AUTO) private Long id; /** * 工单编号 */ @TableField("work_order_code") private String workOrderCode; /** * 订单编号 */ @TableField("sales_order_code") private String salesOrderCode; /** * 产品编号 */ @TableField("product_code") private String productCode; /** * 产品名称 */ @TableField("product_name") private String productName; /** * 计划数量 */ @TableField("plan_qty") private Integer planQty; /** * 完成数量 */ @TableField("produce_qty") private Integer produceQty; /** * 上线数量 */ @TableField("online_qty") private Integer onlineQty; /** * 计划开始时间 */ @TableField("plan_start_time") private Date planStartTime; /** * 计划结束时间 */ @TableField("plan_end_time") private Date planEndTime; /** * 生产开始时间 */ @TableField("produce_start_time") private Date produceStartTime; /** * 生产结束时间 */ @TableField("produce_end_time") private Date produceEndTime; /** * 车间编码 */ @TableField("workshop_code") private String workshopCode; /** * 产线编码 */ @TableField("line_code") private String lineCode; /** * 状态 */ @TableField("state") private String state; /** * 不良数量 */ @TableField("bad_qty") private Integer badQty; /** * 返修数量 */ @TableField("repair_qty") private Integer repairQty; /** * 报废数量 */ @TableField("scrap_qty") private Integer scrapQty; /** * 工艺流程 */ @TableField("route_code") private String routeCode; /** * 产品BOM */ @TableField("bom_code") private String bomCode; /** * 工艺配方 */ @TableField("recipe_code") private String recipeCode; /** * 预留字段1 */ @TableField("spare_field_1") private String spareField1; /** * 预留字段2 */ @TableField("spare_field_2") private String spareField2; /** * 预留字段3 */ @TableField("spare_field_3") private String spareField3; /** * 创建用户 */ @TableField(value = "create_user", fill = FieldFill.INSERT) private String createUser; /** * 创建时间 */ @TableField(value = "create_time", fill = FieldFill.INSERT) private Date createTime; /** * 更改用户 */ @TableField(value = "update_user", fill = FieldFill.UPDATE) private String updateUser; /** * 更改时间 */ @TableField(value = "update_time", fill = FieldFill.UPDATE) private Date updateTime; /** * 备注 */ @TableField("remark") private String remark; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getWorkOrderCode() { return workOrderCode; } public void setWorkOrderCode(String workOrderCode) { this.workOrderCode = workOrderCode; } public String getSalesOrderCode() { return salesOrderCode; } public void setSalesOrderCode(String salesOrderCode) { this.salesOrderCode = salesOrderCode; } 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 Integer getPlanQty() { return planQty; } public void setPlanQty(Integer planQty) { this.planQty = planQty; } public Integer getProduceQty() { return produceQty; } public void setProduceQty(Integer produceQty) { this.produceQty = produceQty; } public Integer getOnlineQty() { return onlineQty; } public void setOnlineQty(Integer onlineQty) { this.onlineQty = onlineQty; } public Date getPlanStartTime() { return planStartTime; } public void setPlanStartTime(Date planStartTime) { this.planStartTime = planStartTime; } public Date getPlanEndTime() { return planEndTime; } public void setPlanEndTime(Date planEndTime) { this.planEndTime = planEndTime; } public Date getProduceStartTime() { return produceStartTime; } public void setProduceStartTime(Date produceStartTime) { this.produceStartTime = produceStartTime; } public Date getProduceEndTime() { return produceEndTime; } public void setProduceEndTime(Date produceEndTime) { this.produceEndTime = produceEndTime; } public String getWorkshopCode() { return workshopCode; } public void setWorkshopCode(String workshopCode) { this.workshopCode = workshopCode; } public String getLineCode() { return lineCode; } public void setLineCode(String lineCode) { this.lineCode = lineCode; } public String getState() { return state; } public void setState(String state) { this.state = state; } public Integer getBadQty() { return badQty; } public void setBadQty(Integer badQty) { this.badQty = badQty; } public Integer getRepairQty() { return repairQty; } public void setRepairQty(Integer repairQty) { this.repairQty = repairQty; } public Integer getScrapQty() { return scrapQty; } public void setScrapQty(Integer scrapQty) { this.scrapQty = scrapQty; } public String getRouteCode() { return routeCode; } public void setRouteCode(String routeCode) { this.routeCode = routeCode; } public String getBomCode() { return bomCode; } public void setBomCode(String bomCode) { this.bomCode = bomCode; } public String getRecipeCode() { return recipeCode; } public void setRecipeCode(String recipeCode) { this.recipeCode = recipeCode; } 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 getSpareField3() { return spareField3; } public void setSpareField3(String spareField3) { this.spareField3 = spareField3; } 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 getUpdateUser() { return updateUser; } public void setUpdateUser(String updateUser) { this.updateUser = updateUser; } public Date getUpdateTime() { return updateTime; } public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; } public String getRemark() { return remark; } public void setRemark(String remark) { this.remark = remark; } @Override public String toString() { return "WorkOrder{" + "id=" + id + ", workOrderCode=" + workOrderCode + ", salesOrderCode=" + salesOrderCode + ", productCode=" + productCode + ", productName=" + productName + ", planQty=" + planQty + ", produceQty=" + produceQty + ", onlineQty=" + onlineQty + ", planStartTime=" + planStartTime + ", planEndTime=" + planEndTime + ", produceStartTime=" + produceStartTime + ", produceEndTime=" + produceEndTime + ", workshopCode=" + workshopCode + ", lineCode=" + lineCode + ", state=" + state + ", badQty=" + badQty + ", repairQty=" + repairQty + ", scrapQty=" + scrapQty + ", routeCode=" + routeCode + ", bomCode=" + bomCode + ", recipeCode=" + recipeCode + ", spareField1=" + spareField1 + ", spareField2=" + spareField2 + ", spareField3=" + spareField3 + ", createUser=" + createUser + ", createTime=" + createTime + ", updateUser=" + updateUser + ", updateTime=" + updateTime + ", remark=" + remark + "}"; } }