ShipmentCombinationModel.java 2.31 KB
package com.huaheng.pc.shipment.shipmentContainerHeader.domain;

import java.math.BigDecimal;

/**
 * 用于出库组盘,前端给后端传递数据
 */
public class ShipmentCombinationModel {

    //组盘时的出库明细Id
    private int shipmentDetailId;
    //组盘时选择的库存
    private int inventoryId;
    //组盘数量
    private BigDecimal qty;
    //组盘类型
    private Short type;
    //是否自动生成任务
    private boolean auto=false;
    //自动生成时,选择的任务类型
    private int taskType;
    /** 货主id */
    private String companyId;
    /** 货主code */
    private String companyCode;

    public int getTaskType() {
        return taskType;
    }

    public void setTaskType(int taskType) {
        this.taskType = taskType;
    }

    public int getShipmentDetailId() {
        return shipmentDetailId;
    }

    public void setShipmentDetailId(int shipmentDetailId) {
        this.shipmentDetailId = shipmentDetailId;
    }

    public int getInventoryId() {
        return inventoryId;
    }

    public void setInventoryId(int inventoryId) {
        this.inventoryId = inventoryId;
    }

    public BigDecimal getQty() {
        return qty;
    }

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

    public Short getType() {
        return type;
    }

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

    public boolean isAuto() {
        return auto;
    }

    public void setAuto(boolean auto) {
        this.auto = auto;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    @Override
    public String toString() {
        return "ShipmentCombinationModel{" +
                "shipmentDetailId=" + shipmentDetailId +
                ", inventoryId=" + inventoryId +
                ", qty=" + qty +
                ", type=" + type +
                ", auto=" + auto +
                ", taskType=" + taskType +
                ", companyId='" + companyId + '\'' +
                ", companyCode='" + companyCode + '\'' +
                '}';
    }
}