package com.cool.store.entity;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @author   zhangchenbiao
 * @date   2023-06-15 10:03
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DingdingUserDO implements Serializable {
    @ApiModelProperty("")
    private Integer id;

    @ApiModelProperty("用户id")
    private String userid;

    @ApiModelProperty("")
    private String unionid;

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

    @ApiModelProperty("是不是老板")
    private Integer isBoss;

    @ApiModelProperty("入职时间【毫秒时间戳】")
    private String hiredDate;

    @ApiModelProperty("是否是高管")
    private Integer isSenior;

    @ApiModelProperty("分机号")
    private String tel;

    @ApiModelProperty("办公地点")
    private String workPlace;

    @ApiModelProperty("员工电子邮箱")
    private String email;

    @ApiModelProperty("是否已经激活，true表示已激活，false表示未激活")
    private Integer active;

    @ApiModelProperty("头像url")
    private String avatar;

    @ApiModelProperty("是否为企业的管理员，true表示是，false表示不是")
    private Integer isAdmin;

    @ApiModelProperty("是否号码隐藏，true表示隐藏，false表示不隐藏")
    private Integer isHide;

    @ApiModelProperty("员工工号")
    private String jobNumber;

    @ApiModelProperty("员工名字")
    private String name;

    @ApiModelProperty("国家地区码")
    private String stateCode;

    @ApiModelProperty("是否实名认证")
    private Integer realAuthed;

    @ApiModelProperty("数据库更新时间")
    private Date dbUpdateTimestamp;

    @ApiModelProperty("职位")
    private String position;

    @ApiModelProperty("手机号")
    private String mobile;

    @ApiModelProperty("审核状态[0、待审核；1、已审核；2、拒绝审核；3、首次同步不处理]")
    private Integer checkStatus;

    @ApiModelProperty("工作状态[1、在职；0、离职]")
    private Integer jobStatus;

    @ApiModelProperty("所在组织")
    private Integer configCodeId;

    @ApiModelProperty("json格式的【是不是部门老大，多部门所以json】")
    private String isLeaderInDepts;

    @ApiModelProperty("所属部门id")
    private String department;

    @ApiModelProperty("扩展属性")
    private String extattr;

    @ApiModelProperty("用户角色信息")
    private String roles;
}