package com.palmnest.model.lingling;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * @Author 黄笑天
 * @Description 访客信息
 * @Date 2019/3/19 11:19
 **/
@Entity
@Table(name = "tb_lingling_visitor_info")
public class LingLingVisitorInfo implements Serializable {

	private static final long serialVersionUID = -6135909455842532248L;

	private Long   id;
	private String idenNumber;// 身份证号码
	private String cardId;// 身份证卡号
	private Date   birthday;// 生日
	private String idenActiveTo;// 身份证有效结束时间
	private String idenActiveFrom;// 身份证有效开始时间
	private Date   createTime;// 创建时间
	private String telephone;// 手机号
	private String visitorName;// 姓名
	private String police;// 签发机关
	private String headImgName;// 身份证头像
	private String snapshotImgName;// 抓拍图片
	private String race;// 民族
	private String censusAddr;// 户籍地址

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

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

	@Column(name = "iden_number")
	public String getIdenNumber() {
		return idenNumber;
	}

	public void setIdenNumber(String idenNumber) {
		this.idenNumber = idenNumber;
	}

	@Column(name = "iden_card_id")
	public String getCardId() {
		return cardId;
	}

	public void setCardId(String cardId) {
		this.cardId = cardId;
	}

	@Column(name = "birthday")
	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	@Column(name = "iden_active_to")
	public String getIdenActiveTo() {
		return idenActiveTo;
	}

	public void setIdenActiveTo(String idenActiveTo) {
		this.idenActiveTo = idenActiveTo;
	}

	@Column(name = "iden_active_from")
	public String getIdenActiveFrom() {
		return idenActiveFrom;
	}

	public void setIdenActiveFrom(String idenActiveFrom) {
		this.idenActiveFrom = idenActiveFrom;
	}

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

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

	@Column(name = "telephone")
	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	@Column(name = "visitor_name")
	public String getVisitorName() {
		return visitorName;
	}

	public void setVisitorName(String visitorName) {
		this.visitorName = visitorName;
	}

	@Column(name = "police")
	public String getPolice() {
		return police;
	}

	public void setPolice(String police) {
		this.police = police;
	}

	@Column(name = "head_img_name")
	public String getHeadImgName() {
		return headImgName;
	}

	public void setHeadImgName(String headImgName) {
		this.headImgName = headImgName;
	}

	@Column(name = "snapshot_img_name")
	public String getSnapshotImgName() {
		return snapshotImgName;
	}

	public void setSnapshotImgName(String snapshotImgName) {
		this.snapshotImgName = snapshotImgName;
	}

	@Column(name = "race")
	public String getRace() {
		return race;
	}

	public void setRace(String race) {
		this.race = race;
	}

	@Column(name = "census_addr")
	public String getCensusAddr() {
		return censusAddr;
	}

	public void setCensusAddr(String censusAddr) {
		this.censusAddr = censusAddr;
	}
}
