package com.cirle.scientific.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

@Entity
@Data
@ApiModel
@Table(name="qkj_member")
public class QkjMember implements Serializable {

	private static final long serialVersionUID = -6764082986803883888L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@ApiModelProperty(value = "Id")
    private Long id;

	private String memCard;
	private Long userId;
	private String memNickname;
	private String memo;
	private String memMobile;
	private String memHeadimg;
	private Integer memRegisterSource;
	private Calendar memRegisterTime;
	private Calendar memLastloginTime;
	private Integer memStatus = 0;
	private Integer columnistFlag = 0;
	private String wxId;
	private Integer subscribe = 0;
	private Integer smrzFlag = 0; //实名认证  0-未认证 1-已认证
	private Integer ysrzFlag = 0; //医师认证  0-未认证 1-已认证
	private String passwd;
	private Integer isVip = 0;//0 普通用户 1 vip用户
	@ApiModelProperty(value = "白名单用户用户，0-不是，1-是，默认0")
	private Integer isWhitelist = 0;

}
