package com.palmnest.model.estateserve;

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

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 金牙
 */

@Entity
@Table(name = "tb_sign_basics")
public class SignBasics implements Serializable {

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

	private Integer    id;//主键Id
	private String     signId;//签约ID
	private Integer    basicsId;//押金项ID
	private Integer    number;//数量
	private BigDecimal totalAmount;//金额
	private String     creator;//创建者
	private Date       createTime;//创建时间
	private String     modifier;//修改者
	private Date       modifyTime;//修改时间
	private String     isEnabled;//是否可用

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

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

	@Column(name = "signId")
	public String getSignId() {
		return signId;
	}

	public void setSignId(String signId) {
		this.signId = signId;
	}

	@Column(name = "basicsId")
	public Integer getBasicsId() {
		return basicsId;
	}

	public void setBasicsId(Integer basicsId) {
		this.basicsId = basicsId;
	}

	@Column(name = "number")
	public Integer getNumber() {
		return number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	@Column(name = "totalAmount")
	public BigDecimal getTotalAmount() {
		return totalAmount;
	}

	public void setTotalAmount(BigDecimal totalAmount) {
		this.totalAmount = totalAmount;
	}

	@Column(name = "creator")
	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	@Column(name = "createTime")
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Column(name = "modifier")
	public String getModifier() {
		return modifier;
	}

	public void setModifier(String modifier) {
		this.modifier = modifier;
	}

	@Column(name = "modifyTime")
	public Date getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}

	@Column(name = "isEnabled")
	public String getIsEnabled() {
		return isEnabled;
	}

	public void setIsEnabled(String isEnabled) {
		this.isEnabled = isEnabled;
	}

}
