package cn.stylefeng.guns.modular.zsx.pm.salesOrder.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_sales_order") public class SalesOrder implements Serializable { private static final long serialVersionUID=1L; /** * 主键id */ @TableId(value = "id", type = IdType.AUTO) private Long id; /** * 订单编号 */ @TableField("sales_order_code") private String salesOrderCode; /** * 客户编号 */ @TableField("customer_no") private String customerNo; /** * 货号 */ @TableField("cargo_no") private String cargoNo; /** * 产品编号 */ @TableField("product_code") private String productCode; /** * 产品名称 */ @TableField("product_name") private String productName; /** * 计划数量 */ @TableField("plan_number") private Integer planNumber; /** * 计划开始时间 */ @TableField("plan_start_time") private Date planStartTime; /** * 计划结束时间 */ @TableField("plan_end_time") private Date planEndTime; /** * 车间编码 */ @TableField("workshop_code") private String workshopCode; /** * 产线编码 */ @TableField("line_code") private String lineCode; /** * 交货时间 */ @TableField("delivery_time") private Date deliveryTime; /** * 状态(1未开始、2已拆分3已下发4已完成) */ @TableField("state") private String state; /** * 订单来源 */ @TableField("order_source") private String orderSource; /** * 预留字段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 getSalesOrderCode() { return salesOrderCode; } public void setSalesOrderCode(String salesOrderCode) { this.salesOrderCode = salesOrderCode; } public String getCustomerNo() { return customerNo; } public void setCustomerNo(String customerNo) { this.customerNo = customerNo; } public String getCargoNo() { return cargoNo; } public void setCargoNo(String cargoNo) { this.cargoNo = cargoNo; } 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 getPlanNumber() { return planNumber; } public void setPlanNumber(Integer planNumber) { this.planNumber = planNumber; } 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 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 Date getDeliveryTime() { return deliveryTime; } public void setDeliveryTime(Date deliveryTime) { this.deliveryTime = deliveryTime; } public String getState() { return state; } public void setState(String state) { this.state = state; } public String getOrderSource() { return orderSource; } public void setOrderSource(String orderSource) { this.orderSource = orderSource; } 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 "SalesOrder{" + "id=" + id + ", salesOrderCode=" + salesOrderCode + ", customerNo=" + customerNo + ", cargoNo=" + cargoNo + ", productCode=" + productCode + ", productName=" + productName + ", planNumber=" + planNumber + ", planStartTime=" + planStartTime + ", planEndTime=" + planEndTime + ", workshopCode=" + workshopCode + ", lineCode=" + lineCode + ", deliveryTime=" + deliveryTime + ", state=" + state + ", orderSource=" + orderSource + ", spareField1=" + spareField1 + ", spareField2=" + spareField2 + ", spareField3=" + spareField3 + ", createUser=" + createUser + ", createTime=" + createTime + ", updateUser=" + updateUser + ", updateTime=" + updateTime + ", remark=" + remark + "}"; } }