ShipmentU8ContainerHeader.java 4.02 KB
package com.huaheng.pc.receipt.U8.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

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


/**
 * u8出库单据表 shipment_u8_container_header
 * 
 * @author huaheng
 * @date 2022-03-23
 */
@Data
public class ShipmentU8ContainerHeader
{
	private static final long serialVersionUID = 1L;
	
	/** id号 */
	private Integer id;
	/** 容器编号 */
	private String shipmentContainerCode;
	/** 库位编码 */
	private String locationCode;
	/** 仓库id号 */
	private Integer warehouseId;
	/** 仓库编号 */
	private String warehouseCode;
	/** u8仓库 */
	private String uWarehouseCode;
	/** 库区编码 */
	private String zoneCode;
	/** 货主id */
	private Integer companyId;
	/** 货主编码 */
	private String companyCode;
	/** 预处理任务类型 */
	private Integer taskType;
	/** 实际生成任务时的类型 */
	private Integer taskTypeReal;
	/** 容器任务状态 */
	private Integer status;
	/** 创建日期 */
	private Date created;
	/** 创建人 */
	private String createdBy;

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

	public Integer getId() 
	{
		return id;
	}
	public void setShipmentContainerCode(String shipmentContainerCode) 
	{
		this.shipmentContainerCode = shipmentContainerCode;
	}

	public String getShipmentContainerCode() 
	{
		return shipmentContainerCode;
	}
	public void setLocationCode(String locationCode) 
	{
		this.locationCode = locationCode;
	}

	public String getLocationCode() 
	{
		return locationCode;
	}
	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 setUWarehouseCode(String uWarehouseCode) 
	{
		this.uWarehouseCode = uWarehouseCode;
	}

	public String getUWarehouseCode() 
	{
		return uWarehouseCode;
	}
	public void setZoneCode(String zoneCode) 
	{
		this.zoneCode = zoneCode;
	}

	public String getZoneCode() 
	{
		return zoneCode;
	}
	public void setCompanyId(Integer companyId) 
	{
		this.companyId = companyId;
	}

	public Integer getCompanyId() 
	{
		return companyId;
	}
	public void setCompanyCode(String companyCode) 
	{
		this.companyCode = companyCode;
	}

	public String getCompanyCode() 
	{
		return companyCode;
	}
	public void setTaskType(Integer taskType) 
	{
		this.taskType = taskType;
	}

	public Integer getTaskType() 
	{
		return taskType;
	}
	public void setTaskTypeReal(Integer taskTypeReal) 
	{
		this.taskTypeReal = taskTypeReal;
	}

	public Integer getTaskTypeReal() 
	{
		return taskTypeReal;
	}
	public void setStatus(Integer status) 
	{
		this.status = status;
	}

	public Integer getStatus() 
	{
		return status;
	}
	public void setCreated(Date created) 
	{
		this.created = created;
	}

	public Date getCreated() 
	{
		return created;
	}
	public void setCreatedBy(String createdBy) 
	{
		this.createdBy = createdBy;
	}

	public String getCreatedBy() 
	{
		return createdBy;
	}


    protected Serializable pkVal() { return this.id;}

    @Override
	public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("shipmentContainerCode", getShipmentContainerCode())
            .append("locationCode", getLocationCode())
            .append("warehouseId", getWarehouseId())
            .append("warehouseCode", getWarehouseCode())
            .append("uWarehouseCode", getUWarehouseCode())
            .append("zoneCode", getZoneCode())
            .append("companyId", getCompanyId())
            .append("companyCode", getCompanyCode())
            .append("taskType", getTaskType())
            .append("taskTypeReal", getTaskTypeReal())
            .append("status", getStatus())
            .append("created", getCreated())
            .append("createdBy", getCreatedBy())
            .toString();
    }
}