ReceiptEntity.java 5.04 KB
package com.huaheng.api.erp.domain;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

import java.math.BigDecimal;

/**
 * @author tzh
 */
public class ReceiptEntity {

    /**
     * 物料编码
     */
    @SerializedName("FMaterialId")
    private ConvertObj material;
    /**
     * 辅助属性
     */
    @SerializedName("FAuxPropId")
    private AuxProperty property;
    /**
     * 单位
     */
    @SerializedName("FInStockType")
    private String inStockType = "1";
    /**
     * 单位
     */
    @SerializedName("FUnitID")
    private ConvertObj unit;

    /**
     * 实收数量
     */
    @SerializedName("FQty")
    private BigDecimal qty;
    /**
     * 收货仓库
     */
    @SerializedName("FStockId")
    private ConvertObj stockId;
    /**
     * 批号
     */
    @SerializedName("FLOT")
    private ConvertObj lotId;
    /**
     * 生产编号
     */
    @SerializedName("FProductNo")
    private String productNo;
    /**
     * 货主类型
     */
    @SerializedName("FOwnerTypeId")
    private String ownerType = "BD_OwnerOrg";
    /**
     * 货主
     */
    @SerializedName("FOwnerId")
    private ConvertObj ownerId;
    /**
     * 箱数
     */
    @SerializedName("F_CH_box")
    private Integer box;
    /**
     * 重量
     */
    @SerializedName("F_CH_weight")
    private BigDecimal weight;
    /**
     * 库存状态
     */
    @SerializedName("FStockStatusId")
    private ConvertObj stockstatusId;
    /**
     * 保管者类型
     */
    @SerializedName("FKeeperTypeId")
    private String keeperType = "BD_KeeperOrg";
    /**
     * 归属者
     */
    @SerializedName("FKeeperId")
    @Expose
    private ConvertObj keeperId;
    /**
     * 生产车间
     */
    @SerializedName("FWorkShopId1")
    private ConvertObj workShopId;
    /**
     * 库存组织
     */
    @SerializedName("F_CH_OrgId")
    private ConvertObj orgId;
    /**
     * 实收数量
     */
    @SerializedName("FRealQty")
    private BigDecimal realQty;
    /**
     * 基本单位实收数量
     */
    @SerializedName("FBaseRealQty")
    private BigDecimal baseRealQty;


    public String getProductNo() {
        return productNo;
    }

    public void setProductNo(String productNo) {
        this.productNo = productNo;
    }

    public BigDecimal getRealQty() {
        return realQty;
    }

    public void setRealQty(BigDecimal realQty) {
        this.realQty = realQty;
    }

    public BigDecimal getBaseRealQty() {
        return baseRealQty;
    }

    public void setBaseRealQty(BigDecimal baseRealQty) {
        this.baseRealQty = baseRealQty;
    }

    public ConvertObj getWorkShopId() {
        return workShopId;
    }

    public void setWorkShopId(ConvertObj workShopId) {
        this.workShopId = workShopId;
    }

    public String getInStockType() {
        return inStockType;
    }

    public void setInStockType(String inStockType) {
        this.inStockType = inStockType;
    }

    public ConvertObj getOrgId() {
        return orgId;
    }

    public void setOrgId(ConvertObj orgId) {
        this.orgId = orgId;
    }

    public ConvertObj getMaterial() {
        return material;
    }

    public void setMaterial(ConvertObj material) {
        this.material = material;
    }

    public AuxProperty getProperty() {
        return property;
    }

    public void setProperty(AuxProperty property) {
        this.property = property;
    }

    public ConvertObj getUnit() {
        return unit;
    }

    public void setUnit(ConvertObj unit) {
        this.unit = unit;
    }

    public ConvertObj getStockstatusId() {
        return stockstatusId;
    }

    public void setStockstatusId(ConvertObj stockstatusId) {
        this.stockstatusId = stockstatusId;
    }

    public BigDecimal getQty() {
        return qty;
    }

    public void setQty(BigDecimal qty) {
        this.qty = qty;
    }

    public ConvertObj getStockId() {
        return stockId;
    }

    public void setStockId(ConvertObj stockId) {
        this.stockId = stockId;
    }

    public ConvertObj getLotId() {
        return lotId;
    }

    public void setLotId(ConvertObj lotId) {
        this.lotId = lotId;
    }

    public String getOwnerType() {
        return ownerType;
    }

    public void setOwnerType(String ownerType) {
        this.ownerType = ownerType;
    }

    public ConvertObj getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(ConvertObj ownerId) {
        this.ownerId = ownerId;
    }

    public String getKeeperType() {
        return keeperType;
    }

    public void setKeeperType(String keeperType) {
        this.keeperType = keeperType;
    }

    public ConvertObj getKeeperId() {
        return keeperId;
    }

    public void setKeeperId(ConvertObj keeperId) {
        this.keeperId = keeperId;
    }

    public Integer getBox() {
        return box;
    }

    public void setBox(Integer box) {
        this.box = box;
    }

    public BigDecimal getWeight() {
        return weight;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }
}