package com.palmnest.model.estateserve;

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 HJY
 */

@Entity
@Table(name = "tb_visitorCode")
@SuppressWarnings("serial")
public class VisitorCode implements java.io.Serializable {

	private Integer codeId;//主键

	private Integer codeNumber;//自增变量

	private Date codeCreateTime;//创建日期

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

	public void setCodeId(Integer codeId) {
		this.codeId = codeId;
	}

	@Column(name = "codeNumber")
	public Integer getCodeNumber() {
		return codeNumber;
	}

	public void setCodeNumber(Integer codeNumber) {
		this.codeNumber = codeNumber;
	}

	@Column(name = "codeCreatetime")
	public Date getCodeCreateTime() {
		return codeCreateTime;
	}

	public void setCodeCreateTime(Date codeCreateTime) {
		this.codeCreateTime = codeCreateTime;
	}
}
