TaskDetail.java 6.66 KB
package com.huaheng.pc.task.taskDetail.domain;

import com.huaheng.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;


/**
 * 立库任务明细表 task_detail
 * 
 * @author huaheng
 * @date 2018-08-19
 */
public class TaskDetail  extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 立库任务明细ID */
	private Integer id;
	/** 主任务Id */
	private Integer taskId;
	/** 仓库Id */
	private Integer warehouseId;
	/** 仓库 */
	private String warehouseCode;
	/** 公司id */
	private Integer companyId;
	/** 公司编码  */
	private String companyCode;
	/** 容器物料表ID */
	private Integer allocationId;
    /** 单据ID */
	private Integer billId;
	/** 单据明细ID */
	private Integer billDetailId;
    /** 单据编码 */
    private String billCode;
	/** 存货编码  */
	private String materialCode;
	/** 物料名称 */
	private String materialName;
	/** 关联库存id */
	private Integer inventoryId;
	/** 出入库货箱Code */
	private String containerCode;
	/** 源库位 */
	private String sourceLocation;
	/** 目的库位 */
	private String destinationLocation;
	/**  数量 */
	private BigDecimal qty;
	/** 子任务状态 */
	private Short status;
	/** 子任务完成时间 */
	private Date endTime;
	/** 最后修改时间 */
	private Date lastUpdated;
	/** 更新用户 */
	private String lastUpdatedBy;
	/** 删除标记 */
	private Boolean deleted;
    /** 货主id组 */
    private List<Integer> companyIdList;
    /** 货主编码组 */
    private List<String> companyCodeList;
    /**项目号*/
    private String project;
    /**任务类型*/
	private String type;

	public String getType() {
		return type;
	}

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

	public String getProject() {
		return project;
	}

	public void setProject(String project) {
		this.project = project;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setTaskId(Integer taskId) 
	{
		this.taskId = taskId;
	}

	public Integer getTaskId() 
	{
		return taskId;
	}
	public void setWarehouseId(Integer warehouseId) 
	{
		this.warehouseId = warehouseId;
	}

	public Integer getWarehouseId() 
	{
		return warehouseId;
	}
	public void setWarehouseCode(String warehouseCode) 
	{
		this.warehouseCode = warehouseCode;
	}

	public String getWarehouseCode() 
	{
		return warehouseCode;
	}

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

    public Integer getCompanyId()
    {
        return companyId;
    }

    public String getCompanyCode() {
        return companyCode;
    }

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

	public void setAllocationId(Integer allocationId)
	{
		this.allocationId = allocationId;
	}

	public Integer getAllocationId() 
	{
		return allocationId;
	}

    public Integer getBillId() {
        return billId;
    }

    public void setBillId(Integer billId) {
        this.billId = billId;
    }

    public Integer getBillDetailId() {
        return billDetailId;
    }

    public void setBillDetailId(Integer billDetailId) {
        this.billDetailId = billDetailId;
    }

    public String getBillCode() {
        return billCode;
    }

    public void setBillCode(String billCode) {
        this.billCode = billCode;
    }

	public void setMaterialCode(String materialCode) 
	{
		this.materialCode = materialCode;
	}

	public String getMaterialCode() 
	{
		return materialCode;
	}
	public void setMaterialName(String materialName) 
	{
		this.materialName = materialName;
	}

	public String getMaterialName() 
	{
		return materialName;
	}

	public Integer getInventoryId() {
		return inventoryId;
	}

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

	public void setContainerCode(String containerCode) 
	{
		this.containerCode = containerCode;
	}

	public String getContainerCode() 
	{
		return containerCode;
	}

	public void setSourceLocation(String sourceLocation) 
	{
		this.sourceLocation = sourceLocation;
	}

	public String getSourceLocation() 
	{
		return sourceLocation;
	}
	public void setDestinationLocation(String destinationLocation) 
	{
		this.destinationLocation = destinationLocation;
	}

	public String getDestinationLocation() 
	{
		return destinationLocation;
	}
	public void setQty(BigDecimal qty) 
	{
		this.qty = qty;
	}

	public BigDecimal getQty() 
	{
		return qty;
	}
	public void setStatus(Short status)
	{
		this.status = status;
	}

	public Short getStatus()
	{
		return status;
	}
	public void setEndTime(Date endTime) 
	{
		this.endTime = endTime;
	}

	public Date getEndTime() 
	{
		return endTime;
	}
	public void setLastUpdated(Date lastUpdated) 
	{
		this.lastUpdated = lastUpdated;
	}

	public Date getLastUpdated() 
	{
		return lastUpdated;
	}
	public void setLastUpdatedBy(String lastUpdatedBy) 
	{
		this.lastUpdatedBy = lastUpdatedBy;
	}

	public String getLastUpdatedBy() 
	{
		return lastUpdatedBy;
	}

	public Boolean getDeleted() {
		return deleted;
	}

	public void setDeleted(Boolean deleted) {
		this.deleted = deleted;
	}

	public List<Integer> getCompanyIdList() {
		return companyIdList;
	}

	public void setCompanyIdList(List<Integer> companyIdList) {
		this.companyIdList = companyIdList;
	}

	public List<String> getCompanyCodeList() {
		return companyCodeList;
	}

	public void setCompanyCodeList(List<String> companyCodeList) {
		this.companyCodeList = companyCodeList;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskId", getTaskId())
            .append("warehouseId", getWarehouseId())
            .append("warehouseCode", getWarehouseCode())
			.append("allocationId", getAllocationId())
			.append("materialCode", getMaterialCode())
            .append("companyId", getCompanyId())
            .append("companyCode", getCompanyCode())
            .append("materialName", getMaterialName())
            .append("inventoryId", getInventoryId())
            .append("containerCode", getContainerCode())
            .append("sourceLocation", getSourceLocation())
            .append("destinationLocation", getDestinationLocation())
            .append("qty", getQty())
            .append("status", getStatus())
            .append("endTime", getEndTime())
            .append("lastUpdated", getLastUpdated())
            .append("lastUpdatedBy", getLastUpdatedBy())
			.append("deleted", getDeleted())
			.append("project",getProject())
            .toString();
    }
}