/*
 * Copyright 2019-2029 geekidea(https://github.com/geekidea)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.wecloud.im.vo.app;

import io.geekidea.springbootplus.framework.shiro.service.LoginToken;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author geekidea
 * @date 2019-10-26
 **/
@Data
@Accessors(chain = true)
@ApiModel("LoginAppUserTokenVo")
public class LoginAppUserTokenVo implements LoginToken {

    @ApiModelProperty("token")
    private String token;

    @ApiModelProperty(value = "是否已经注册", notes = "true = 已经绑定,直接跳转个人中心, false = 没有绑定,需要跳转到注册页")
    private Boolean hasRegister;

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("微信id")
    private String wechatOpenId;

    @ApiModelProperty("姓名")
    private String nickname;

    @ApiModelProperty("证件号码")
    private String idcard;

    @ApiModelProperty("民族")
    private String nation;

    @ApiModelProperty("手机号码")
    private String phone;

    @ApiModelProperty("手机区号")
    private String phoneArea;

    @ApiModelProperty("性别，0：女，1：男，默认1")
    private Integer gender;

    @ApiModelProperty("头像")
    private String head;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("状态，0：禁用，1：启用，2：锁定")
    private Integer state;

    @ApiModelProperty("出生日期")
    private String dateOfBirth;

    @ApiModelProperty("文化程度")
    private String educationBackground;

    @ApiModelProperty("邮件")
    private String email;

    @ApiModelProperty("省市区")
    private String location;

    @ApiModelProperty("详细地址")
    private String locationDetail;

    @ApiModelProperty("职业")
    private String profession;

    @ApiModelProperty("工作单位")
    private String company;

    @ApiModelProperty("紧急电话")
    private String emergencyPhone;

    @ApiModelProperty("openId")
    private String openId;

}
