package com.uas.platform.b2b.model;

import java.io.Serializable;

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 = "purc$inquiryreply")
@Entity
public class PurchaseInquiryReply implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7073527318773931836L;

	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "purc$inquiryreply_gen")
	@SequenceGenerator(name = "purc$inquiryreply_gen", sequenceName = "purc$inquiryreply_seq", allocationSize = 1)
	@Column(name = "ir_id")
	private Long id;

	/**
	 * （买家或卖家定义的）分段数量
	 */
	@Column(name = "ir_lapqty")
	private Double lapQty;

	/**
	 * （卖家报的）单价
	 */
	@Column(name = "ir_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;
	}

}
