package market.Lms.Logistics.vo;

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

import market.Lms.Logistics.mapper.SpmDeliveryDetailMapper;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hnshituo.basic.vo.BaseVO;
import com.hnshituo.orm.annotation.Column;
import com.hnshituo.orm.annotation.Id;
import com.hnshituo.orm.annotation.Table;

@Table(name="SPM_DELIVERY_DETAIL", namespace=SpmDeliveryDetailMapper.class)
public class SpmDeliveryDetail extends BaseVO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6951390143165925233L;

	/** 提货单号 */
	@Id
	private String deliveryno;

	/** 提货单子编号 */
	@Id("LINE_NO")
	private String lineNo;

	/** 理货件数（理货用） */
	@Column
	private Integer distrbutequantity;

	/** 理货理重（理货用） */
	@Column("DIS_THEORY_WEIGHT")
	private Double disTheoryWeight;

	/** 理货实重（理货用） */
	@Column("DIS_FACT_WEIGHT")
	private Double disFactWeight;

	/** 已装载件数（装载用） */
	@Column
	private Integer quantity;

	/** 已装载理重（装载用） */
	@Column("LOAD_THEORY_WEIGHT")
	private Double loadTheoryWeight;

	/** 已装载实重（装载用） */
	@Column("LOAD_FACT_WEIGHT")
	private Double loadFactWeight;

	/** 开始装车时间（装载用） */
	@Column
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date starttime;

	/** 结束装车时间（装载用） */
	@Column
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date overtime;

	/** 提货单关闭确认部门 */
	@Column
	private String closedepartment;

	/** 提货单关闭确认人 */
	@Column
	private String closer;

	/** 提货单关闭确认时间 */
	@Column
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date closetime;

	/** 提货单状态（0未接收 1已接收 2已理货 3已装车 4已关闭） */
	@Column
	private String state;

	/** 提货单接收确认人 */
	@Column
	private String receiver;

	/** 提货单接收确认时间 */
	@Column
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date receivetime;

	/** 车号 */
	@Column
	private String carno;

	/** 装车仓库 */
	@Column
	private String loadstore;

	/** 计划开始时间 */
	@Column("PLAN_START_TIME")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date planStartTime;

	/** 计划结束时间 */
	@Column("PLAN_END_TIME")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date planEndTime;

	/** 记录创建者 */
	@Column
	private String creater;

	/** 记录创建时间 */
	@Column
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createdate;

	/** 记录修改者 */
	@Column
	private String updater;

	/** 记录修改时间 */
	@Column
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date updatedate;

	//剁位编码
		private String buttressno;
		public String  getButtressno() {
			return this.buttressno;
		}
		public void setButtressno(String buttressno) {
			this.buttressno = buttressno;
		}

		
	
		//位置
		private Integer locality;
		public Integer  getLocality() {
			return this.locality;
		}
		public void setLocality(Integer locality) {
			this.locality = locality;
		}


		//区域编码
		private String areano;
		public String  getAreano() {
			return this.areano;
		}
		public void setAreano(String areano) {
			this.areano = areano;
		}
	
	public String getDeliveryno() {
		return this.deliveryno;
	}

	public String getLineNo() {
		return this.lineNo;
	}

	public Integer getDistrbutequantity() {
		return this.distrbutequantity;
	}

	public Double getDisTheoryWeight() {
		return this.disTheoryWeight;
	}

	public Double getDisFactWeight() {
		return this.disFactWeight;
	}

	public Integer getQuantity() {
		return this.quantity;
	}

	public Double getLoadTheoryWeight() {
		return this.loadTheoryWeight;
	}

	public Double getLoadFactWeight() {
		return this.loadFactWeight;
	}

	public Date getStarttime() {
		return this.starttime;
	}

	public Date getOvertime() {
		return this.overtime;
	}

	public String getClosedepartment() {
		return this.closedepartment;
	}

	public String getCloser() {
		return this.closer;
	}

	public Date getClosetime() {
		return this.closetime;
	}

	public String getState() {
		return this.state;
	}

	public String getReceiver() {
		return this.receiver;
	}

	public Date getReceivetime() {
		return this.receivetime;
	}

	public String getCarno() {
		return this.carno;
	}

	public String getLoadstore() {
		return this.loadstore;
	}

	public Date getPlanStartTime() {
		return this.planStartTime;
	}

	public Date getPlanEndTime() {
		return this.planEndTime;
	}

	public String getCreater() {
		return this.creater;
	}

	public Date getCreatedate() {
		return this.createdate;
	}

	public String getUpdater() {
		return this.updater;
	}

	public Date getUpdatedate() {
		return this.updatedate;
	}

	public void setDeliveryno(String deliveryno) {
		this.deliveryno = deliveryno;
	}

	public void setLineNo(String lineNo) {
		this.lineNo = lineNo;
	}

	public void setDistrbutequantity(Integer distrbutequantity) {
		this.distrbutequantity = distrbutequantity;
	}

	public void setDisTheoryWeight(Double disTheoryWeight) {
		this.disTheoryWeight = disTheoryWeight;
	}

	public void setDisFactWeight(Double disFactWeight) {
		this.disFactWeight = disFactWeight;
	}

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	public void setLoadTheoryWeight(Double loadTheoryWeight) {
		this.loadTheoryWeight = loadTheoryWeight;
	}

	public void setLoadFactWeight(Double loadFactWeight) {
		this.loadFactWeight = loadFactWeight;
	}

	public void setStarttime(Date starttime) {
		this.starttime = starttime;
	}

	public void setOvertime(Date overtime) {
		this.overtime = overtime;
	}

	public void setClosedepartment(String closedepartment) {
		this.closedepartment = closedepartment;
	}

	public void setCloser(String closer) {
		this.closer = closer;
	}

	public void setClosetime(Date closetime) {
		this.closetime = closetime;
	}

	public void setState(String state) {
		this.state = state;
	}

	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}

	public void setReceivetime(Date receivetime) {
		this.receivetime = receivetime;
	}

	public void setCarno(String carno) {
		this.carno = carno;
	}

	public void setLoadstore(String loadstore) {
		this.loadstore = loadstore;
	}

	public void setPlanStartTime(Date planStartTime) {
		this.planStartTime = planStartTime;
	}

	public void setPlanEndTime(Date planEndTime) {
		this.planEndTime = planEndTime;
	}

	public void setCreater(String creater) {
		this.creater = creater;
	}

	public void setCreatedate(Date createdate) {
		this.createdate = createdate;
	}

	public void setUpdater(String updater) {
		this.updater = updater;
	}

	public void setUpdatedate(Date updatedate) {
		this.updatedate = updatedate;
	}

	//产品规范码名称
	private String psc_desc;

	public String getPsc_desc() {
		return psc_desc;
	}

	public void setPsc_desc(String psc_desc) {
		this.psc_desc = psc_desc;
	}
	
	//计划件数
	private Double bill_quantity;
	public Double getBill_quantity() {
		return bill_quantity;
	}

	public void setBill_quantity(Double bill_quantity) {
		this.bill_quantity = bill_quantity;
	}

	public Double getBill_weight() {
		return bill_weight;
	}

	public void setBill_weight(Double bill_weight) {
		this.bill_weight = bill_weight;
	}

	//计划重量
	private Double bill_weight;
	
	//计划总件数
	private Integer billquantitysum;
	//计划总重量
	private Double billweightsum;
	//理货总件数
	private Integer disquantitysum;
	//理货总理重
	private Double distheoryweightsum;
	//理货总实重
	private Double disfactweightsum;
	//已发总件数
	private Integer quantitysum;
	//已发总理重
	private Double loadtheoryweightsum;
	public Double getBillweightsum() {
		return billweightsum;
	}

	public void setBillweightsum(Double billweightsum) {
		this.billweightsum = billweightsum;
	}

	public Integer getDisquantitysum() {
		return disquantitysum;
	}

	public void setDisquantitysum(Integer disquantitysum) {
		this.disquantitysum = disquantitysum;
	}

	public Double getDistheoryweightsum() {
		return distheoryweightsum;
	}

	public void setDistheoryweightsum(Double distheoryweightsum) {
		this.distheoryweightsum = distheoryweightsum;
	}

	public Double getDisfactweightsum() {
		return disfactweightsum;
	}

	public void setDisfactweightsum(Double disfactweightsum) {
		this.disfactweightsum = disfactweightsum;
	}

	public Integer getQuantitysum() {
		return quantitysum;
	}

	public void setQuantitysum(Integer quantitysum) {
		this.quantitysum = quantitysum;
	}

	public Double getLoadtheoryweightsum() {
		return loadtheoryweightsum;
	}

	public void setLoadtheoryweightsum(Double loadtheoryweightsum) {
		this.loadtheoryweightsum = loadtheoryweightsum;
	}

	public Double getLoadfactweightsum() {
		return loadfactweightsum;
	}

	public void setLoadfactweightsum(Double loadfactweightsum) {
		this.loadfactweightsum = loadfactweightsum;
	}

	//已发总实重
	private Double loadfactweightsum;

	public Integer getBillquantitysum() {
		return billquantitysum;
	}

	public void setBillquantitysum(Integer billquantitysum) {
		this.billquantitysum = billquantitysum;
	}
}
