package com.qryord.mp.model;

import com.qryord.project.system.role.domain.Role;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(value = "用户内容（用户模块）")
public class UserResp implements Serializable {
    private static final long serialVersionUID = 3236936010274484670L;

    /** 用户ID */
    @ApiModelProperty(name = "userId", value = "用户ID", required = false)
    private Long userId;
    /** 用户名称 */
    @ApiModelProperty(name = "userName", value = "用户名称", required = false)
    private String userName;
    /** 角色KEY */
    @ApiModelProperty(name = "roleKey", value = "角色KEY", required = false)
    private String roleKey;
    /** 角色名称 */
    @ApiModelProperty(name = "roleName", value = "角色名称", required = false)
    private String roleName;
    /** 手机号码 */
    @ApiModelProperty(name = "phonenumber", value = "手机号码", required = false)
    private String phonenumber;
    /** 用户性别 （0=男,1=女,2=未知）*/
    @ApiModelProperty(name = "sex", value = "用户性别（0=男,1=女,2=未知）", required = false)
    private String sex;
    /** 用户头像 */
    @ApiModelProperty(name = "avatar", value = "用户头像", required = false)
    private String avatar;
    /** 登录名称 */
    @ApiModelProperty(name = "loginName", value = "登录名称", required = false)
    private String loginName;
    /** 用户邮箱 */
    @ApiModelProperty(name = "email", value = "用户邮箱", required = false)
    private String email;


}
