package com.codvision.auth.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 系统用户
 * </p>
 *
 * @author lingee
 * @since 2023-11-09
 */
@Data
@TableName("tbl_sys_user")
@ApiModel(value = "SysUser", description = "系统用户")
public class SysUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

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

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

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

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

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

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

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

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

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

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

    @ApiModelProperty("逻辑删除辅助字段")
    private Short delKey;

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

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

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

    @ApiModelProperty("最近一次密码更新的时间")
    private Date pwdLastUpdatedTime;

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

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

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

    @ApiModelProperty("三方同步来的用户唯一id")
    private String syncId;


}
