package com.aps.job.domain;
|
|
import com.aps.common.core.annotation.Excel;
|
import com.aps.common.core.web.domain.BaseEntity;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
/**
|
* 工单同步对象 aps_work_order_job
|
*
|
* @author zhl
|
* @date 2025-04-17
|
*/
|
public class ApsWorkOrderJob extends BaseEntity
|
{
|
private static final long serialVersionUID = 1L;
|
|
/** 主键id */
|
private Long id;
|
|
/** 同步主键 */
|
@Excel(name = "同步主键")
|
@JsonProperty("ID")
|
private String orderId;
|
|
/** 单据号 */
|
@Excel(name = "单据号")
|
private String docNo;
|
|
/** 主件料号 */
|
@Excel(name = "主件料号")
|
private String mainitemCode;
|
|
/** 主件图号 */
|
@Excel(name = "主件图号")
|
private String mainitemFigure;
|
|
/** 客户名称 */
|
@Excel(name = "客户名称")
|
private String customerName;
|
|
/** 业务类型 0:计划订单 1:生产订单 */
|
@Excel(name = "业务类型 0:计划订单 1:生产订单")
|
private Integer businessType;
|
|
/** 需求分类 */
|
@Excel(name = "需求分类")
|
private String demandType;
|
|
/** 单据状态( 0:开立 1:已核准 2:开工 3:完工 4:核准中 5:作废 ) */
|
@Excel(name = "单据状态( 0:开立 1:已核准 2:开工 3:完工 4:核准中 5:作废 )")
|
private Long docStatus;
|
|
/** 料号 */
|
@Excel(name = "料号")
|
private String itemCode;
|
|
/** 图号 */
|
@Excel(name = "图号")
|
private String itemFigure;
|
|
/** 版本号 */
|
@Excel(name = "版本号")
|
private String itemFigureVersion;
|
|
/** 生产数量 */
|
@Excel(name = "生产数量")
|
private BigDecimal pruductQty;
|
|
/** 良品数量 */
|
@Excel(name = "良品数量")
|
private BigDecimal workQty;
|
|
/** 工序号 */
|
@Excel(name = "工序号")
|
private String opNum;
|
|
/** 工作中心 当前在制的工序 */
|
@Excel(name = "工作中心 当前在制的工序")
|
private String workCenter;
|
|
/** 所属部门 */
|
@Excel(name = "所属部门")
|
private String dept;
|
|
/** 计划开工日 */
|
@Excel(name = "计划开工日")
|
private String startDate;
|
|
/** 计划完工日 */
|
@Excel(name = "计划完工日")
|
private String completeDate;
|
|
/** 下道工序所属部门 */
|
@Excel(name = "下道工序所属部门")
|
private String nextDept;
|
|
/** 是否挂起 1:是 0:否 */
|
@Excel(name = "是否挂起 1:是 0:否")
|
private Integer isHoldRelease;
|
|
/** 外协标识 */
|
@Excel(name = "外协标识")
|
private String isOutSource;
|
|
/** 账套( 枚举『南通/沈阳』) */
|
@Excel(name = "账套( 枚举『南通/沈阳』)")
|
private String org;
|
|
/** 页码 */
|
@Excel(name = "页码")
|
private Integer pageNum;
|
|
/** 页面第几条数据 */
|
@Excel(name = "页面第几条数据")
|
private Integer pageIndex;
|
|
/** 删除标志(0代表存在 2代表删除) */
|
@Excel(name = "删除标志", readConverterExp = "0=代表存在,2=代表删除")
|
private String delFlag;
|
|
/** 作业 */
|
@Excel(name = "作业")
|
private String stdOp;
|
|
/** 账套编码 */
|
private String orgCode;
|
|
/** 当前工序状态 */
|
@JsonProperty("OpStatus")
|
@Excel(name = "当前工序状态")
|
private String opStatus;
|
|
/** 下一工序名称 */
|
@JsonProperty("NextOpName")
|
@Excel(name = "下一工序名称")
|
private String nextOpName;
|
|
/**
|
* 低阶码
|
*/
|
private String lowOrderCode;
|
|
/** 工单创建时间 */
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@Excel(name = "工单创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
private Date orderCreateTime;
|
|
public String getLowOrderCode() {
|
return lowOrderCode;
|
}
|
|
public void setLowOrderCode(String lowOrderCode) {
|
this.lowOrderCode = lowOrderCode;
|
}
|
|
public Date getOrderCreateTime() {
|
return orderCreateTime;
|
}
|
|
public void setOrderCreateTime(Date orderCreateTime) {
|
this.orderCreateTime = orderCreateTime;
|
}
|
|
public void setId(Long id)
|
{
|
this.id = id;
|
}
|
|
public Long getId()
|
{
|
return id;
|
}
|
|
public void setOrderId(String orderId)
|
{
|
this.orderId = orderId;
|
}
|
|
public String getOrderId()
|
{
|
return orderId;
|
}
|
|
public void setDocNo(String docNo)
|
{
|
this.docNo = docNo;
|
}
|
|
public String getDocNo()
|
{
|
return docNo;
|
}
|
|
public void setMainitemCode(String mainitemCode)
|
{
|
this.mainitemCode = mainitemCode;
|
}
|
|
public String getMainitemCode()
|
{
|
return mainitemCode;
|
}
|
|
public void setMainitemFigure(String mainitemFigure)
|
{
|
this.mainitemFigure = mainitemFigure;
|
}
|
|
public String getMainitemFigure()
|
{
|
return mainitemFigure;
|
}
|
|
public void setCustomerName(String customerName)
|
{
|
this.customerName = customerName;
|
}
|
|
public String getCustomerName()
|
{
|
return customerName;
|
}
|
|
public void setBusinessType(Integer businessType)
|
{
|
this.businessType = businessType;
|
}
|
|
public Integer getBusinessType()
|
{
|
return businessType;
|
}
|
|
public void setDemandType(String demandType)
|
{
|
this.demandType = demandType;
|
}
|
|
public String getDemandType()
|
{
|
return demandType;
|
}
|
|
public void setDocStatus(Long docStatus)
|
{
|
this.docStatus = docStatus;
|
}
|
|
public Long getDocStatus()
|
{
|
return docStatus;
|
}
|
|
public void setItemCode(String itemCode)
|
{
|
this.itemCode = itemCode;
|
}
|
|
public String getItemCode()
|
{
|
return itemCode;
|
}
|
|
public void setItemFigure(String itemFigure)
|
{
|
this.itemFigure = itemFigure;
|
}
|
|
public String getItemFigure()
|
{
|
return itemFigure;
|
}
|
|
public void setItemFigureVersion(String itemFigureVersion)
|
{
|
this.itemFigureVersion = itemFigureVersion;
|
}
|
|
public String getItemFigureVersion()
|
{
|
return itemFigureVersion;
|
}
|
|
public void setPruductQty(BigDecimal pruductQty)
|
{
|
this.pruductQty = pruductQty;
|
}
|
|
public BigDecimal getPruductQty()
|
{
|
return pruductQty;
|
}
|
|
public void setWorkQty(BigDecimal workQty)
|
{
|
this.workQty = workQty;
|
}
|
|
public BigDecimal getWorkQty()
|
{
|
return workQty;
|
}
|
|
public void setOpNum(String opNum)
|
{
|
this.opNum = opNum;
|
}
|
|
public String getOpNum()
|
{
|
return opNum;
|
}
|
|
public void setWorkCenter(String workCenter)
|
{
|
this.workCenter = workCenter;
|
}
|
|
public String getWorkCenter()
|
{
|
return workCenter;
|
}
|
|
public void setDept(String dept)
|
{
|
this.dept = dept;
|
}
|
|
public String getDept()
|
{
|
return dept;
|
}
|
|
public void setStartDate(String startDate)
|
{
|
this.startDate = startDate;
|
}
|
|
public String getStartDate()
|
{
|
return startDate;
|
}
|
|
public void setCompleteDate(String completeDate)
|
{
|
this.completeDate = completeDate;
|
}
|
|
public String getCompleteDate()
|
{
|
return completeDate;
|
}
|
|
public void setNextDept(String nextDept)
|
{
|
this.nextDept = nextDept;
|
}
|
|
public String getNextDept()
|
{
|
return nextDept;
|
}
|
|
public void setIsHoldRelease(Integer isHoldRelease)
|
{
|
this.isHoldRelease = isHoldRelease;
|
}
|
|
public Integer getIsHoldRelease()
|
{
|
return isHoldRelease;
|
}
|
|
public void setIsOutSource(String isOutSource)
|
{
|
this.isOutSource = isOutSource;
|
}
|
|
public String getIsOutSource()
|
{
|
return isOutSource;
|
}
|
|
public void setOrg(String org)
|
{
|
this.org = org;
|
}
|
|
public String getOrg()
|
{
|
return org;
|
}
|
|
public void setPageNum(Integer pageNum)
|
{
|
this.pageNum = pageNum;
|
}
|
|
public Integer getPageNum()
|
{
|
return pageNum;
|
}
|
|
public void setPageIndex(Integer pageIndex)
|
{
|
this.pageIndex = pageIndex;
|
}
|
|
public Integer getPageIndex()
|
{
|
return pageIndex;
|
}
|
|
public void setDelFlag(String delFlag)
|
{
|
this.delFlag = delFlag;
|
}
|
|
public String getDelFlag()
|
{
|
return delFlag;
|
}
|
public String getProcessStatus() {
|
return processStatus;
|
}
|
|
public void setProcessStatus(String processStatus) {
|
this.processStatus = processStatus;
|
}
|
|
private String processStatus;
|
|
public String getOrgCode() {
|
return orgCode;
|
}
|
|
public void setOrgCode(String orgCode) {
|
this.orgCode = orgCode;
|
}
|
|
public void setStdOp(String stdOp) {
|
this.stdOp = stdOp;
|
}
|
|
public String getStdOp() {
|
return stdOp;
|
}
|
|
public String getOpStatus() {
|
return opStatus;
|
}
|
|
public void setOpStatus(String opStatus) {
|
this.opStatus = opStatus;
|
}
|
|
public String getNextOpName() {
|
return nextOpName;
|
}
|
|
public void setNextOpName(String nextOpName) {
|
this.nextOpName = nextOpName;
|
}
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
.append("id", getId())
|
.append("orderId", getOrderId())
|
.append("docNo", getDocNo())
|
.append("mainitemCode", getMainitemCode())
|
.append("mainitemFigure", getMainitemFigure())
|
.append("customerName", getCustomerName())
|
.append("businessType", getBusinessType())
|
.append("demandType", getDemandType())
|
.append("docStatus", getDocStatus())
|
.append("itemCode", getItemCode())
|
.append("itemFigure", getItemFigure())
|
.append("itemFigureVersion", getItemFigureVersion())
|
.append("pruductQty", getPruductQty())
|
.append("workQty", getWorkQty())
|
.append("opNum", getOpNum())
|
.append("workCenter", getWorkCenter())
|
.append("dept", getDept())
|
.append("startDate", getStartDate())
|
.append("completeDate", getCompleteDate())
|
.append("nextDept", getNextDept())
|
.append("isHoldRelease", getIsHoldRelease())
|
.append("isOutSource", getIsOutSource())
|
.append("org", getOrg())
|
.append("pageNum", getPageNum())
|
.append("pageIndex", getPageIndex())
|
.append("delFlag", getDelFlag())
|
.append("createBy", getCreateBy())
|
.append("createTime", getCreateTime())
|
.append("updateBy", getUpdateBy())
|
.append("updateTime", getUpdateTime())
|
.append("processStatus", getProcessStatus())
|
.append("stdOp", getStdOp())
|
.append("opStatus", getOpStatus())
|
.append("nextOpName", getNextOpName())
|
.toString();
|
}
|
}
|