ICSShipmentDetail.java 5.05 KB
package com.huaheng.pc.u8.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 出库下发或回传单子表 uwshipment_detail
 *
 * @author huaheng
 * @date 2018-12-14
 */
@Data
@TableName(value = "icsshipment_detail")
public class ICSShipmentDetail implements Serializable {

    private static final long serialVersionUID = 4217497482411056712L;

    //内码
    @TableId(value = "sid", type = IdType.AUTO)
    private Integer sId;

    //内码
    @TableField(value = "headerId")
    private Integer headerId;

    // 出库下发或回传的主单code
    @TableField(value = "cCode")
    private String cCode;

    //主单ID
    @TableField(value = "ID")
    @JsonProperty(value = "ID")
    private Integer ID;

    //细单ID
    @TableField(value = "autoID")
    @JsonProperty(value = "autoID")
    private Integer autoID;
    @TableField(exist = false)
    private Integer referId;
    @TableField(exist = false)
    private String referCode;
    @TableField(exist = false)
    private Integer referNum;

    //采购单一类的行号
    @TableField(value = "irowno")
    private Integer irowno;

    //项目号
    @TableField(value = "cItemName")
    private String cItemName ;

    //发货退货单主表标识
    @TableField(value = "DLID")
    @JsonProperty(value = "DLID")
    private Integer DLID;

    //销售订单号
    @TableField(value = "cSOCode")
    private String cSOCode;

    //销售订单ID
    @TableField(value = "cSOID")
    private Integer cSOID;

    //销售订单子表ID
    @TableField(value = "cSOAutoID")
    private Integer cSOAutoID;

    //生产订单主表ID
    @TableField(value = "MoId")
    @JsonProperty(value = "MoId")
    private Integer MoId;

    //生产订单明细资料ID
    @TableField(value = "MoDId")
    @JsonProperty(value = "MoDId")
    private Integer MoDId;

    //生产订单号
    @TableField(value = "MoCode")
    @JsonProperty(value = "MoCode")
    private String MoCode;

    //号
    @TableField(value = "SortSeq")
    @JsonProperty(value = "SortSeq")
    private Integer SortSeq;

    //库房Id
    @TableField(exist = false)
    private Integer warehouseId;

    //库房代码
    @TableField(value = "cWHCode")
    private String cWHCode;

    //库房名称
    @TableField(value = "cWHName")
    private String cWHName;

    //存货编码
    @TableField(value = "cInvCode")
    private String cInvCode;

    //部门代码
    @TableField(value = "cDepCode")
    private String cDepCode;

    //部门名称
    @TableField(value = "cDepName")
    private String cDepName;

    //存货ID
    @TableField(exist = false)
    private Integer materialId;

    //存货名称
    @TableField(value = "cInvName")
    private String cInvName;

    //存货规格
    @TableField(value = "cInvStd")
    private String cInvStd;

    //数量
    @TableField(value = "iQuantity")
    private BigDecimal iQuantity;

    //确认数量
    @TableField(value = "cQuantity")
    private BigDecimal cQuantity;

    //计量单位
    @TableField(value = "cComUnitName")
    private String cComUnitName;

    //计划生产日期
    @TableField(value = "StartDate")
    @JsonProperty(value = "StartDate")
    private String StartDate;

    //计划完成日期
    @TableField(value = "DueDate")
    @JsonProperty(value = "DueDate")
    private String DueDate;

    //公司ID
    @TableField(exist = false)
    private Integer companyId;

    //公司编码
    @TableField(value = "CompanyCode")
    @JsonProperty(value = "CompanyCode")
    private String CompanyCode;

    //维护日期
    @TableField(value = "cModifyDate")
    private String cModifyDate ;

    //订单行备注
    @TableField(value = "cMemo")
    private String cMemo;

    //领料申请单子表id(可以为空)
    @TableField(value = "iMaIDs")
    private Integer iMaIDs;

    //采购订单号
    @TableField(value = "POCode")
    @JsonProperty(value = "POCode")
    private String POCode;

    //采购订单ID
    @TableField(value = "POID")
    @JsonProperty(value = "POID")
    private Integer POID;

    //采购订单子表ID
    @TableField(value = "PODID")
    @JsonProperty(value = "PODID")
    private Integer PODID;

    @TableField(exist = false)
    private Integer iMPoIds;

    //库存调拨单子表标识
    @TableField(value = "iTrIds")
    private Integer iTrIds;

    //发货退货单子表标识
    @TableField(value = "iDLsID")
    private Integer iDLsID;

    @TableField(value = "iArrsId")
    private  Integer iArrsId;

    @TableField(value = "iPOsID")
    private Integer iPOsID;

    //审核人
    @TableField(value = "cVerifier")
    private String cVerifier;

    @TableField(value = "cDefine22")
    private String cDefine22;
    @TableField(value = "cDefine23")
    private String cDefine23;
}