package market.Lms.Logistics.vo;

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

import market.Lms.Logistics.mapper.SpmDistrbuteMainMapper;

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_DISTRBUTE_MAIN", namespace=SpmDistrbuteMainMapper.class)
public class SpmDistrbuteMain extends BaseVO implements Serializable {

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

	/** 理货单号 */
	@Id
	private String distrbuteno;
	
	 /**同车序号*/
		private String car_seq;
		
		public String getCar_seq() {
			return car_seq;
		}

		public void setCar_seq(String car_seq) {
			this.car_seq = car_seq;
		}

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

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

	/** 装车单号 */
	@Column
	private String outbillno;

	/** 理货件数（理货用） */
	@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关闭） */
	@Column
	private String state;

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

	/** 计划开始时间 */
	@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 loadstore;

	/** 记录创建者 */
	@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;

	public String getDistrbuteno() {
		return this.distrbuteno;
	}

	public String getDeliveryno() {
		return this.deliveryno;
	}

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

	public String getOutbillno() {
		return this.outbillno;
	}

	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 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 getCarno() {
		return this.carno;
	}

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

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

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

	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 setDistrbuteno(String distrbuteno) {
		this.distrbuteno = distrbuteno;
	}

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

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

	public void setOutbillno(String outbillno) {
		this.outbillno = outbillno;
	}

	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 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 setCarno(String carno) {
		this.carno = carno;
	}

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

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

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

	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 Double quantitysum;
	
	//已发总理重
	private Double loadtheoryweightsum;
	//已发总实重
	private Double loadfactweightsum;
	
	//客户
	private String customer_name;
	
	//供货单位
	private String supplier_unit_name;
	
	/** 下发时间 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Timestamp issuer_time;
	
	//收货单位
		private String reciver_unit_name;
	
	public String getReciver_unit_name() {
			return reciver_unit_name;
		}

		public void setReciver_unit_name(String reciver_unit_name) {
			this.reciver_unit_name = reciver_unit_name;
		}

	public String getCustomer_name() {
		return customer_name;
	}

	public void setCustomer_name(String customer_name) {
		this.customer_name = customer_name;
	}

	public String getSupplier_unit_name() {
		return supplier_unit_name;
	}

	public void setSupplier_unit_name(String supplier_unit_name) {
		this.supplier_unit_name = supplier_unit_name;
	}

	public Date getIssuer_time() {
		return issuer_time;
	}

	public void setIssuer_time(Timestamp issuer_time) {
		this.issuer_time = issuer_time;
	}

	public Double getQuantitysum() {
		return quantitysum;
	}

	public void setQuantitysum(Double 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;
	}

	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;
	}

	//理货总理重
	private Double distheoryweightsum;
	//理货总实重
	private Double disfactweightsum;
	//理货总件数
	public Double distrbutequantitysum;
	public Double getDistrbutequantitysum() {
		return distrbutequantitysum;
	}

	public void setDistrbutequantitysum(Double distrbutequantitysum) {
		this.distrbutequantitysum = distrbutequantitysum;
	}
	
	public Double getLoadtheoryweight() {
		return loadtheoryweight;
	}

	public void setLoadtheoryweight(Double loadtheoryweight) {
		this.loadtheoryweight = loadtheoryweight;
	}

	public Double getLoadfactweight() {
		return loadfactweight;
	}

	public void setLoadfactweight(Double loadfactweight) {
		this.loadfactweight = loadfactweight;
	}
	
	private String solutions_name;

	public String getSolutions_name() {
		return solutions_name;
	}

	public void setSolutions_name(String solutions_name) {
		this.solutions_name = solutions_name;
	}
	
	// 提单类型
	private String bill_type;
	public synchronized String getBill_type() {
		return bill_type;
	}
	public synchronized void setBill_type(String bill_type) {
		this.bill_type = bill_type;
	}
	
	/**
	 * 火车车皮号
	 */
	@Column
	private String train_no;
	public String getTrain_no() {
		return train_no;
	}
	public void setTrain_no(String train_no) {
		this.train_no = train_no;
	}
	
	private String is_send;
	public String getIs_send() {
		return is_send;
	}
	public void setIs_send(String is_send) {
		this.is_send = is_send;
	}
}
