package com.bizzan.bitrade.entity;

import com.bizzan.bitrade.constant.BooleanEnum;
import com.fasterxml.jackson.annotation.JsonFormat;

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

import java.util.Date;

/**
 * @author QQ 2232965526
 * @date 2020年01月15日
 */
@ApiModel("安全设置")
@Builder
@Data
public class MemberSecurity {
	@ApiModelProperty("用户名")
    private String username;
    private long id;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @ApiModelProperty("是否实名认证 1是")
    private BooleanEnum realVerified;
    @ApiModelProperty("是否已认证邮箱 1是")
    private BooleanEnum emailVerified;
    @ApiModelProperty("是否已认证手机 1是")
    private BooleanEnum phoneVerified;
    @ApiModelProperty(" 1是")
    private BooleanEnum loginVerified;
    @ApiModelProperty("是否已设置资金密码 1是")
    private BooleanEnum fundsVerified;
    @ApiModelProperty(" 1是")
    private BooleanEnum realAuditing;
    @ApiModelProperty("手机号码")
    private String mobilePhone;
    @ApiModelProperty("邮箱")
    private String email;
    @ApiModelProperty("实名")
    private String realName;
    @ApiModelProperty("实名认证不通过原因")
    private String realNameRejectReason;
    @ApiModelProperty("身份证号")
    private String idCard;
    @ApiModelProperty("头像")
    private String avatar;
    private BooleanEnum accountVerified;
    @ApiModelProperty("google验证状态 1是")
    private Integer googleStatus;
}
