ICSShipmentHeader.java 8.3 KB
package com.huaheng.api.U8.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.util.Date;

/**
 *  出库下发或回传主单
 *   @author huaheng
 *   @date 2018-12-14
 */
public class ICSShipmentHeader implements Serializable {

    private static final long serialVersionUID = -2190076963166343013L;

    // 出库下发或回传的主单code
    private String cCode;

    //单主表标识
    @JsonProperty(value = "ID")
    private Integer ID;

    //入库日期
    private String dPODate;

    //供应商代码
    private String cVenCode;

    //供应商名称
    private String cVenName;

    //业务类型
    private String cBusType;

    private String type;

    //部门代码
    private String cDepCode;

    //部门名称
    private String cDepName;

    //业务员代码
    private String cPersonCode;

    //业务员名称
    private String cPersonName;

    //备注
    private String cMemo;

    //制单人
    private String cMaker;

    //审核人
    private String cVerifier;

    //公司代码(账套代码)
    @JsonProperty(value = "CompanyCode")
    private String CompanyCode;

    //维护日期
    private String cModifyDate;

    //出库日期
    private String dDate;

    //出库类别
    private String cRDName;

    //库房代码
    private String cWHCode;

    //库房名称
    private String cWHName;

    private String oWHCode;

    private String oWHName;

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

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

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

    //发货退货单号
    private String cDLCode;

    //客户代码
    private String cCusCode;

    //客户名称
    private String cCusName;

    //销售类型(默认:国外销售)
    private String cSTName;

    //调拨单号
    private String cTVCode;

    @JsonProperty(value = "VoucherType")
    private String VoucherType;

    public String getVoucherType() {
        return VoucherType;
    }

    public void setVoucherType(String voucherType) {
        VoucherType = voucherType;
    }

    public String getcTVCode() {
        return cTVCode;
    }

    public void setcTVCode(String cTVCode) {
        this.cTVCode = cTVCode;
    }

    public String getcCode() {
        return cCode;
    }

    public void setcCode(String cCode) {
        this.cCode = cCode;
    }

    public Integer getID() {
        return ID;
    }

    public void setID(Integer ID) {
        this.ID = ID;
    }

    public String getdPODate() {
        return dPODate;
    }

    public void setdPODate(String dPODate) {
        this.dPODate = dPODate;
    }

    public String getcVenCode() {
        return cVenCode;
    }

    public void setcVenCode(String cVenCode) {
        this.cVenCode = cVenCode;
    }

    public String getcVenName() {
        return cVenName;
    }

    public void setcVenName(String cVenName) {
        this.cVenName = cVenName;
    }

    public String getcBusType() {
        return cBusType;
    }

    public void setcBusType(String cBusType) {
        this.cBusType = cBusType;
    }

    public String getcDepCode() {
        return cDepCode;
    }

    public void setcDepCode(String cDepCode) {
        this.cDepCode = cDepCode;
    }

    public String getcDepName() {
        return cDepName;
    }

    public void setcDepName(String cDepName) {
        this.cDepName = cDepName;
    }

    public String getcPersonCode() {
        return cPersonCode;
    }

    public void setcPersonCode(String cPersonCode) {
        this.cPersonCode = cPersonCode;
    }

    public String getcPersonName() {
        return cPersonName;
    }

    public void setcPersonName(String cPersonName) {
        this.cPersonName = cPersonName;
    }

    public String getcMemo() {
        return cMemo;
    }

    public void setcMemo(String cMemo) {
        this.cMemo = cMemo;
    }

    public String getcMaker() {
        return cMaker;
    }

    public void setcMaker(String cMaker) {
        this.cMaker = cMaker;
    }

    public String getCompanyCode() {
        return CompanyCode;
    }

    public void setCompanyCode(String companyCode) {
        CompanyCode = companyCode;
    }

    public String getcVerifier() {
        return cVerifier;
    }

    public void setcVerifier(String cVerifier) {
        this.cVerifier = cVerifier;
    }

    public void setcModifyDate(String cModifyDate) {
        this.cModifyDate = cModifyDate;
    }

    public String getdDate() {
        return dDate;
    }

    public void setdDate(String dDate) {
        this.dDate = dDate;
    }

    public String getcRDName() {
        return cRDName;
    }

    public void setcRDName(String cRDName) {
        this.cRDName = cRDName;
    }

    public String getcWHCode() {
        return cWHCode;
    }

    public void setcWHCode(String cWHCode) {
        this.cWHCode = cWHCode;
    }

    public String getcWHName() {
        return cWHName;
    }

    public void setcWHName(String cWHName) {
        this.cWHName = cWHName;
    }

    public Integer getMoId() {
        return MoId;
    }

    public void setMoId(Integer moId) {
        MoId = moId;
    }

    public String getMoCode() {
        return MoCode;
    }

    public void setMoCode(String moCode) {
        MoCode = moCode;
    }

    public Integer getDLID() {
        return DLID;
    }

    public void setDLID(Integer DLID) {
        this.DLID = DLID;
    }

    public String getcDLCode() {
        return cDLCode;
    }

    public void setcDLCode(String cDLCode) {
        this.cDLCode = cDLCode;
    }

    public String getcCusCode() {
        return cCusCode;
    }

    public void setcCusCode(String cCusCode) {
        this.cCusCode = cCusCode;
    }

    public String getcCusName() {
        return cCusName;
    }

    public void setcCusName(String cCusName) {
        this.cCusName = cCusName;
    }

    public String getcSTName() {
        return cSTName;
    }

    public String getcModifyDate() {
        return cModifyDate;
    }

    public void setcSTName(String cSTName) {
        this.cSTName = cSTName;
    }

    public String getoWHCode() {
        return oWHCode;
    }

    public void setoWHCode(String oWHCode) {
        this.oWHCode = oWHCode;
    }

    public String getoWHName() {
        return oWHName;
    }

    public void setoWHName(String oWHName) {
        this.oWHName = oWHName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("ID", getID())
                .append("cCode", getcCode())
                .append("dPODate", getdPODate())
                .append("cVenCode", getcVenCode())
                .append("cVenName", getcVenName())
                .append("cBusType", getcBusType())
                .append("type", getType())
                .append("cDepCode", getcDepCode())
                .append("cDepName", getcDepName())
                .append("cPersonCode", getcPersonCode())
                .append("cPersonName", getcPersonName())
                .append("cMemo", getcMemo())
                .append("cMaker", getcMaker())
                .append("cVerifier", getcVerifier())
                .append("CompanyCode", getCompanyCode())
                .append("cModifyDate", getcModifyDate())
                .append("dDate", getdDate())
                .append("cRDName", getcRDName())
                .append("cWHCode", getcWHCode())
                .append("cWHName", getcWHName())
                .append("oWHCode", getoWHCode())
                .append("oWHName", getoWHName())
                .append("cTVCode",getcTVCode())
                .append("MoId", getMoId())
                .append("MoCode", getMoCode())
                .append("DLID", getDLID())
                .append("cDLCode", getcDLCode())
                .append("cCusCode", getcCusCode())
                .append("cCusName", getcCusName())
                .append("cSTName", getcSTName())
                .append("VoucherType",getVoucherType())
                .toString();
    }
}