package com.bcxin.risk.ticket.domain;

import com.bcxin.risk.base.domain.BaseBean;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Table;

/**
 * Created by chenjiemiao on 2017/2/13.
 */

@Entity
@Table(name = "RISK_BarriergateUser")
@Inheritance(strategy = InheritanceType.JOINED)
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
@Data
@DynamicInsert(true)
@DynamicUpdate(true)
public class BarriergateUser extends BaseBean {

    private String exid;//展会ID

    private String name; // 姓名

    private String idNumber;//身份证号

    private String phone; // 手机号

    private String entrycode; // 入场号码

}

