/*
 * Copyright (c) 2023 codvision.com All Rights Reserved.
 */

package com.codvision.webapi.bean;

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

import java.io.Serializable;
import java.util.List;

/**
 * 系统用户
 *
 * @author lingee
 * @date 2023/7/27
 */
@Data
@ApiModel(value = "RemoteSysUser", description = "系统用户")
public class RemoteSysUser implements Serializable {

    private static final long serialVersionUID = 7611598993628040722L;

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("组织ID")
    private Integer appUserOid;

    @ApiModelProperty("登陆名")
    private String loginName;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("用户真实姓名")
    private String name;

    @ApiModelProperty("用户联系方式")
    private String mobile;

    @ApiModelProperty("拓展字段:头像")
    private String avatarUrl;

    @ApiModelProperty("拓展字段:昵称")
    private String nickname;

    @ApiModelProperty("拓展字段:邮箱")
    private String email;

    @ApiModelProperty("浙政钉ID")
    private String zzdId;

    @ApiModelProperty("普通钉钉userid")
    private String dingTalkUid;

    @ApiModelProperty("微信服务号openId")
    private String wxMpOpenid;

    @ApiModelProperty("微信小程序openId")
    private String wxMaOpenid;

    @ApiModelProperty("微信unionId")
    private String wxUnionid;

    @ApiModelProperty("删除标记,1:已删除,0:正常")
    private Integer delFlag;

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

    @ApiModelProperty("创建时间")
    private String createTime;

    @ApiModelProperty("更新时间")
    private String updateTime;

    @ApiModelProperty("用户组织角色")
    private List<RemoteUserOrgRole> userOrgRoles;
}
