package com.uas.platform.b2b.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * 
 * 主动报价，分段报价信息
 * 
 * @author yingp
 *
 */
@Table(name = "sale$quotationprice")
@Entity
public class SaleQuotationPrice {

	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "sale$quotationprice_gen")
	@SequenceGenerator(name = "sale$quotationprice_gen", sequenceName = "sale$quotationprice_seq", allocationSize = 1)
	@Column(name = "qdd_id")
	private Long id;

	/**
	 * 分段数量
	 */
	@Column(name = "qdd_lapqty")
	private Double lapQty;

	/**
	 * 单价
	 */
	@Column(name = "qdd_price")
	private Double price;

	public Long getId() {
		return id;
	}

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

	public Double getLapQty() {
		return lapQty;
	}

	public void setLapQty(Double lapQty) {
		this.lapQty = lapQty;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

}
