package com.jcdm.main.om.productionOrde.domain;
|
|
import java.util.Date;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
import com.jcdm.common.annotation.Excel;
|
import com.jcdm.common.core.domain.BaseEntity;
|
|
/**
|
* 生产工单对象 om_production_orde_info
|
*
|
* @author ruimin
|
* @date 2023-12-11
|
*/
|
public class OmProductionOrdeInfo extends BaseEntity
|
{
|
private static final long serialVersionUID = 1L;
|
|
/** ID */
|
private Long id;
|
|
@Excel(name = "是否报工")
|
private String sfResult;
|
|
@Excel(name = "报工结果代码(S成功,F失败)")
|
private String resultCode;
|
|
@Excel(name = "报工信息结果")
|
private String resultText;
|
|
@Excel(name = "工站编号")
|
private String stationCode;
|
|
|
|
@Excel(name = "产品序列号")
|
private String productNum;
|
|
@Excel(name = "工厂编号")
|
private String siteCode;
|
|
/** 生产工单号 */
|
@Excel(name = "生产工单号")
|
private String workOrderNo;
|
|
/** 订单编号 */
|
@Excel(name = "订单编号")
|
private String salesOrderCode;
|
|
/** 产品编号 */
|
@Excel(name = "产品编号")
|
private String productCode;
|
|
/** 产品名称 */
|
@Excel(name = "产品名称")
|
private String productName;
|
|
/** 车间编号 */
|
@Excel(name = "车间编号")
|
private String workshopCode;
|
|
/** 产线编号 */
|
@Excel(name = "产线编号")
|
private String lineCode;
|
|
/** 工艺流程 */
|
@Excel(name = "工艺流程")
|
private String routeCode;
|
|
/** 产品BOM */
|
@Excel(name = "产品BOM")
|
private String bomCode;
|
|
/** 工艺配方 */
|
@Excel(name = "工艺配方")
|
private String recipeCode;
|
|
/** 计划数量 */
|
@Excel(name = "计划数量")
|
private Long planQty;
|
|
/** 实际数量 */
|
@Excel(name = "实际数量")
|
private Long actualQty;
|
|
/** 不良数量 */
|
@Excel(name = "不良数量")
|
private Long badQty;
|
|
/** 报废数量 */
|
@Excel(name = "报废数量")
|
private Long scrapQty;
|
|
/** 返修数量 */
|
@Excel(name = "返修数量")
|
private Long repairQty;
|
|
/** 实际上线数量 */
|
@Excel(name = "实际上线数量")
|
private Long actualOnlineQty;
|
|
/** 产品型号 */
|
@Excel(name = "产品型号")
|
private String productModel;
|
|
|
/** 上线完工标记 */
|
private String onlineCompletionMark;
|
|
@TableField(exist = false)
|
private Long frontEndId;
|
|
/** 需求日期 */
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@Excel(name = "需求日期", width = 30, dateFormat = "yyyy-MM-dd")
|
private Date demandDate;
|
|
/** 计划开始时间 */
|
@Excel(name = "计划开始时间")
|
private String planStartTime;
|
|
/** 计划结束时间 */
|
@Excel(name = "计划结束时间")
|
private String planEndTime;
|
|
/** 实际开始时间 */
|
@Excel(name = "实际开始时间")
|
private String actualStartTime;
|
|
/** 实际结束时间 */
|
@Excel(name = "实际结束时间")
|
private String actualEndTime;
|
|
/** 顺序号 */
|
@Excel(name = "顺序号")
|
private Long serialNumber;
|
|
/** 工单状态(1创建、2已发布、3生产中、4已冻结、5已完工、6已关闭) */
|
@Excel(name = "工单状态", readConverterExp = "1=创建、2已发布、3生产中、4已冻结、5已完工、6已关闭")
|
private String orderStatus;
|
|
/** 创建时间 */
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date createTime;
|
|
/** 创建人 */
|
@Excel(name = "创建人")
|
private String createUser;
|
|
/** 修改人 */
|
@Excel(name = "修改人")
|
private String updateUser;
|
|
/** 备注 */
|
@Excel(name = "备注")
|
private String remarks;
|
|
/** 流水号 */
|
@Excel(name = "流水号")
|
private String streamNumber;
|
|
/** 客户 */
|
@Excel(name = "客户")
|
private String custom;
|
|
/** 市场区域编码 */
|
@Excel(name = "市场区域编码")
|
private String materialCode;
|
|
/** 软件版本编码 */
|
@Excel(name = "软件版本编码")
|
private String softwareVersionCode;
|
|
/** 产品公司编码 */
|
@Excel(name = "产品公司编码")
|
private String productCompanyCode;
|
|
/** 预留字段1 */
|
private String trolleyYard;
|
|
/** 预留字段2 */
|
private String spareField2;
|
|
/** 预留字段3 */
|
private String spareField3;
|
|
/** 预留字段4 */
|
private String spareField4;
|
|
@TableField(exist = false)
|
private Long[] idNums;
|
|
@TableField(exist = false)
|
private String flag;
|
|
|
@Override
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
@Override
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public String getProductModel() {
|
return productModel;
|
}
|
|
public void setProductModel(String productModel) {
|
this.productModel = productModel;
|
}
|
|
public String getSfResult() {
|
return sfResult;
|
}
|
|
public void setSfResult(String sfResult) {
|
this.sfResult = sfResult;
|
}
|
|
public String getResultCode() {
|
return resultCode;
|
}
|
|
public void setResultCode(String resultCode) {
|
this.resultCode = resultCode;
|
}
|
|
public String getResultText() {
|
return resultText;
|
}
|
|
public void setResultText(String resultText) {
|
this.resultText = resultText;
|
}
|
|
public String getStationCode() {
|
return stationCode;
|
}
|
|
public void setStationCode(String stationCode) {
|
this.stationCode = stationCode;
|
}
|
|
public String getProductNum() {
|
return productNum;
|
}
|
|
public void setProductNum(String productNum) {
|
this.productNum = productNum;
|
}
|
public String getSiteCode() {return siteCode;}
|
public void setSiteCode(String siteCode) {this.siteCode = siteCode;}
|
public String getFlag() {
|
return flag;
|
}
|
|
public void setFlag(String flag) {
|
this.flag = flag;
|
}
|
|
public Long[] getIdNums() {
|
return idNums;
|
}
|
|
public void setIdNums(Long[] idNums) {
|
this.idNums = idNums;
|
}
|
|
public Long getFrontEndId() {
|
return frontEndId;
|
}
|
|
public void setFrontEndId(Long frontEndId) {
|
this.frontEndId = frontEndId;
|
}
|
|
public void setId(Long id)
|
{
|
this.id = id;
|
}
|
|
public Long getId()
|
{
|
return id;
|
}
|
public void setWorkOrderNo(String workOrderNo)
|
{
|
this.workOrderNo = workOrderNo;
|
}
|
|
public String getWorkOrderNo()
|
{
|
return workOrderNo;
|
}
|
public void setSalesOrderCode(String salesOrderCode)
|
{
|
this.salesOrderCode = salesOrderCode;
|
}
|
|
public String getSalesOrderCode()
|
{
|
return salesOrderCode;
|
}
|
public void setProductCode(String productCode)
|
{
|
this.productCode = productCode;
|
}
|
|
public String getProductCode()
|
{
|
return productCode;
|
}
|
public void setProductName(String productName)
|
{
|
this.productName = productName;
|
}
|
|
public String getProductName()
|
{
|
return productName;
|
}
|
public void setWorkshopCode(String workshopCode)
|
{
|
this.workshopCode = workshopCode;
|
}
|
|
public String getWorkshopCode()
|
{
|
return workshopCode;
|
}
|
public void setLineCode(String lineCode)
|
{
|
this.lineCode = lineCode;
|
}
|
|
public String getLineCode()
|
{
|
return lineCode;
|
}
|
public void setRouteCode(String routeCode)
|
{
|
this.routeCode = routeCode;
|
}
|
|
public String getRouteCode()
|
{
|
return routeCode;
|
}
|
public void setBomCode(String bomCode)
|
{
|
this.bomCode = bomCode;
|
}
|
|
public String getBomCode()
|
{
|
return bomCode;
|
}
|
public void setRecipeCode(String recipeCode)
|
{
|
this.recipeCode = recipeCode;
|
}
|
|
public String getRecipeCode()
|
{
|
return recipeCode;
|
}
|
public void setPlanQty(Long planQty)
|
{
|
this.planQty = planQty;
|
}
|
|
public Long getPlanQty()
|
{
|
return planQty;
|
}
|
public void setActualQty(Long actualQty)
|
{
|
this.actualQty = actualQty;
|
}
|
|
public Long getActualQty()
|
{
|
return actualQty;
|
}
|
public void setBadQty(Long badQty)
|
{
|
this.badQty = badQty;
|
}
|
|
public Long getBadQty()
|
{
|
return badQty;
|
}
|
public void setScrapQty(Long scrapQty)
|
{
|
this.scrapQty = scrapQty;
|
}
|
|
public Long getScrapQty()
|
{
|
return scrapQty;
|
}
|
public void setRepairQty(Long repairQty)
|
{
|
this.repairQty = repairQty;
|
}
|
|
public Long getRepairQty()
|
{
|
return repairQty;
|
}
|
public void setActualOnlineQty(Long actualOnlineQty)
|
{
|
this.actualOnlineQty = actualOnlineQty;
|
}
|
|
public Long getActualOnlineQty()
|
{
|
return actualOnlineQty;
|
}
|
public void setOnlineCompletionMark(String onlineCompletionMark)
|
{
|
this.onlineCompletionMark = onlineCompletionMark;
|
}
|
|
public String getOnlineCompletionMark()
|
{
|
return onlineCompletionMark;
|
}
|
public void setDemandDate(Date demandDate)
|
{
|
this.demandDate = demandDate;
|
}
|
|
public Date getDemandDate()
|
{
|
return demandDate;
|
}
|
public void setPlanStartTime(String planStartTime)
|
{
|
this.planStartTime = planStartTime;
|
}
|
|
public String getPlanStartTime()
|
{
|
return planStartTime;
|
}
|
public void setPlanEndTime(String planEndTime)
|
{
|
this.planEndTime = planEndTime;
|
}
|
|
public String getPlanEndTime()
|
{
|
return planEndTime;
|
}
|
public void setActualStartTime(String actualStartTime)
|
{
|
this.actualStartTime = actualStartTime;
|
}
|
|
public String getActualStartTime()
|
{
|
return actualStartTime;
|
}
|
public void setActualEndTime(String actualEndTime)
|
{
|
this.actualEndTime = actualEndTime;
|
}
|
|
public String getActualEndTime()
|
{
|
return actualEndTime;
|
}
|
public void setSerialNumber(Long serialNumber)
|
{
|
this.serialNumber = serialNumber;
|
}
|
|
public Long getSerialNumber()
|
{
|
return serialNumber;
|
}
|
public void setOrderStatus(String orderStatus)
|
{
|
this.orderStatus = orderStatus;
|
}
|
|
public String getOrderStatus()
|
{
|
return orderStatus;
|
}
|
public void setCreateUser(String createUser)
|
{
|
this.createUser = createUser;
|
}
|
|
public String getCreateUser()
|
{
|
return createUser;
|
}
|
public void setUpdateUser(String updateUser)
|
{
|
this.updateUser = updateUser;
|
}
|
|
public String getUpdateUser()
|
{
|
return updateUser;
|
}
|
public void setRemarks(String remarks)
|
{
|
this.remarks = remarks;
|
}
|
|
public String getRemarks()
|
{
|
return remarks;
|
}
|
public void setStreamNumber(String streamNumber)
|
{
|
this.streamNumber = streamNumber;
|
}
|
|
public String getStreamNumber()
|
{
|
return streamNumber;
|
}
|
public void setCustom(String custom)
|
{
|
this.custom = custom;
|
}
|
|
public String getCustom()
|
{
|
return custom;
|
}
|
|
public String getMaterialCode() {
|
return materialCode;
|
}
|
|
public void setMaterialCode(String materialCode) {
|
this.materialCode = materialCode;
|
}
|
|
public void setSoftwareVersionCode(String softwareVersionCode)
|
{
|
this.softwareVersionCode = softwareVersionCode;
|
}
|
|
public String getSoftwareVersionCode()
|
{
|
return softwareVersionCode;
|
}
|
public void setProductCompanyCode(String productCompanyCode)
|
{
|
this.productCompanyCode = productCompanyCode;
|
}
|
|
public String getProductCompanyCode()
|
{
|
return productCompanyCode;
|
}
|
|
public String getTrolleyYard() {
|
return trolleyYard;
|
}
|
|
public void setTrolleyYard(String trolleyYard) {
|
this.trolleyYard = trolleyYard;
|
}
|
|
public void setSpareField2(String spareField2)
|
{
|
this.spareField2 = spareField2;
|
}
|
|
public String getSpareField2()
|
{
|
return spareField2;
|
}
|
public void setSpareField3(String spareField3)
|
{
|
this.spareField3 = spareField3;
|
}
|
|
public String getSpareField3()
|
{
|
return spareField3;
|
}
|
public void setSpareField4(String spareField4)
|
{
|
this.spareField4 = spareField4;
|
}
|
|
public String getSpareField4()
|
{
|
return spareField4;
|
}
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
.append("id", getId())
|
.append("workOrderNo", getWorkOrderNo())
|
.append("salesOrderCode", getSalesOrderCode())
|
.append("productCode", getProductCode())
|
.append("productName", getProductName())
|
.append("workshopCode", getWorkshopCode())
|
.append("lineCode", getLineCode())
|
.append("routeCode", getRouteCode())
|
.append("bomCode", getBomCode())
|
.append("recipeCode", getRecipeCode())
|
.append("planQty", getPlanQty())
|
.append("actualQty", getActualQty())
|
.append("badQty", getBadQty())
|
.append("scrapQty", getScrapQty())
|
.append("repairQty", getRepairQty())
|
.append("actualOnlineQty", getActualOnlineQty())
|
.append("onlineCompletionMark", getOnlineCompletionMark())
|
.append("demandDate", getDemandDate())
|
.append("planStartTime", getPlanStartTime())
|
.append("planEndTime", getPlanEndTime())
|
.append("actualStartTime", getActualStartTime())
|
.append("actualEndTime", getActualEndTime())
|
.append("serialNumber", getSerialNumber())
|
.append("orderStatus", getOrderStatus())
|
.append("createTime", getCreateTime())
|
.append("updateTime", getUpdateTime())
|
.append("createUser", getCreateUser())
|
.append("updateUser", getUpdateUser())
|
.append("remarks", getRemarks())
|
.append("streamNumber", getStreamNumber())
|
.append("custom", getCustom())
|
.append("softwareVersionCode", getSoftwareVersionCode())
|
.append("productCompanyCode", getProductCompanyCode())
|
.append("spareField2", getSpareField2())
|
.append("spareField3", getSpareField3())
|
.append("spareField4", getSpareField4())
|
.append("siteCode", getSiteCode())
|
.append("productNum", getProductNum())
|
.append("stationCode", getStationCode())
|
.append("resultCode", getResultCode())
|
.append("resultText", getResultText())
|
.append("sfResult", getSfResult())
|
.toString();
|
}
|
}
|