package com.yuchen.saas.manage.system.api.vo;


import com.yuchen.saas.manage.system.api.entity.NestOrgRole;
import com.yuchen.saas.manage.system.api.entity.NestOrgUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.List;


@Data
@ApiModel(value = "组织成员信息", description = "组织成员信息")
public class OrgUserInfoVO extends NestOrgUser {

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

    @ApiModelProperty(value = "所在部门")
    private List<UserDeptList> userDeptList;

    @ApiModelProperty(value = "直属主管名称")
    private String leaderOrgUserName;

    @ApiModelProperty(value = "个人照片")
    private String pic;

    @ApiModelProperty(value = "性别1男，2女")
    private Integer sex;

    @ApiModelProperty(value = "身份证号")
    private String idcard;

    @ApiModelProperty(value = "身份证正面")
    private String idcardPicFront;

    @ApiModelProperty(value = "身份证反面")
    private String idcardPicReverse;

    @ApiModelProperty(value = "省编码")
    private String contactProvince;

    @ApiModelProperty(value = "省")
    private String contactProvinceName;

    @ApiModelProperty(value = "市编码")
    private String contactCity;

    @ApiModelProperty(value = "市")
    private String contactCityName;

    @ApiModelProperty(value = "区/县")
    private String contactCounty;

    @ApiModelProperty(value = "区/县")
    private String contactCountyName;

    @ApiModelProperty(value = "详细地址")
    private String contactAddress;

    @ApiModelProperty(value = "能否进行删除员操作0不能1能")
    private Integer isCanDelete;


    @ApiModelProperty(value = "用户个人信息姓名")
    private String userName;

    @ApiModelProperty(value = "角色集合")
    private List<NestOrgRole> roleList;

    @Data
    @ApiModel(value = "所在部门", description = "所在部门")
    public static class UserDeptList{
        @ApiModelProperty(value = "部门成员绑定id")
        private Long id;

        @ApiModelProperty(value = "部门id")
        private Long deptId;

        @ApiModelProperty(value = "部门名称")
        private String deptName;
    }

    @ApiModelProperty(value = "人脸图片地址")
    private String faceImgUrl;

    @ApiModelProperty(value = "指纹特征")
    private String fingerprint;

    @ApiModelProperty(value = "真名")
    private String realName;

}
