ICSReceiptDetail.java 4.7 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 = "icsreceipt_detail")
public class ICSReceiptDetail implements Serializable {

    private static final long serialVersionUID = 4217497482411056712L;
    @TableId(value = "rid",type = IdType.AUTO)
    private Integer rid;

    // ICSReceiptHeader rid
    @TableField(value ="headerId")
    private Integer headerId;

    @TableField(exist = false)
    private Integer referId;

    @TableField(exist = false)
    private String referCode;

    @TableField(exist = false)
    private Integer referLineNum;

    @TableField(exist = false)
    private String stock;

    // 出库下发或回传的主单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(value ="irowno")
    private Integer irowno;

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

    //发货退货单主表标识
    @TableField(value ="DLID")
    @JsonProperty(value = "DLID")
    private Integer DLID;
    //工作令号
    @TableField(value ="MoCode")
    @JsonProperty(value = "MoCode")
    private String MoCode;
    //销售订单号
    @TableField(value ="cSOCode")
    private String cSOCode;

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

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

    //库房Id
    @TableField(exist = false)
    private Integer warehouseId;
    @TableField(value = "warehouseCode")
    private String warehouseCode;

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

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

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

    //存货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 ="dArriveDate")
    private String dArriveDate;

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

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


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

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

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

    //生产订单子表标识
    @TableField(value ="iMPoIds")
    private Integer iMPoIds;

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

    @TableField(exist = false)
    private String cPOID;

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

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

    //库存调拨单子表标识
    @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 ="cDefine22")
    private String cDefine22;

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

    //采购类型编码
    @TableField(value ="cPTCode")
    private String cPTCode;
    //采购类型名称
    @TableField(value ="cPTName")
    private String cPTName;

    //条码
    @TableField(exist = false)
    private String lotno;

}