package com.palmnest.model.estateserve;

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.Table;

/**
 * 签约意向商品中间实体类
 *
 * @author xiemin
 */

@Entity
@Table(name = "tb_product_sign")
public class ProductSign implements Serializable {

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = 7889506815170258600L;

	private int id;//主键id
	private int signContractId;//签约id
	private int servicePackDetailsId;//商品id

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "ID", unique = true, nullable = false)
	public int getId() {
		return id;
	}

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

	public int getSignContractId() {
		return signContractId;
	}

	public void setSignContractId(int signContractId) {
		this.signContractId = signContractId;
	}

	public int getServicePackDetailsId() {
		return servicePackDetailsId;
	}

	public void setServicePackDetailsId(int servicePackDetailsId) {
		this.servicePackDetailsId = servicePackDetailsId;
	}

}
