package com.xxfc.platform.tour.entity;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * 出游人信息表
 * 
 * @author zjw
 * @email nishijjo@qq.com
 * @date 2019-06-06 11:41:51
 */
@Data
@Table(name = "tour_user")
public class TourUser implements Serializable {
	private static final long serialVersionUID = 1L;
	
	    //主键id
    @Id
	@GeneratedValue(generator = "JDBC")
	@ApiModelProperty("主键id")
    private Integer id;
	
	    //用户id
    @Column(name = "userid")
	@ApiModelProperty(value = "用户id")
    private Integer userid;
	
	    //姓名
    @Column(name = "name")
	@ApiModelProperty(value = "姓名")
    private String name;
	
	    //性别 0-女，1-男
    @Column(name = "sex")
	@ApiModelProperty(value = "性别 0-女，1-男")
    private Integer sex;
	
	    //手机号
    @Column(name = "phone")
	@ApiModelProperty(value = "手机号")
    private String phone;
	
	    //身份证
    @Column(name = "id_card")
	@ApiModelProperty(value = "身份证")
    private String idCard;
	
	    //创建时间
    @Column(name = "crt_time")
	@ApiModelProperty(value = "创建时间", hidden = true )
    private Long crtTime;
	
	    //更新时间
    @Column(name = "upd_time")
	@ApiModelProperty(value = "更新时间", hidden = true )
    private Long updTime;
	
	    //是否删除：0-正常；1-删除
    @Column(name = "isdel")
	@ApiModelProperty(value = "是否删除：0-正常；1-删除")
    private Integer isdel;


	@Column(name = "is_child")
	@ApiModelProperty(value = "是否删除：0-儿童；1-大人")
	private Integer isChild;


}
