package com.ruoyi.cai.domain; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.ruoyi.common.annotation.Sensitive; import com.ruoyi.common.enums.SensitiveStrategy; import lombok.Data; import java.io.Serializable; import java.time.LocalDate; import java.time.LocalDateTime; /** * 用户对象 cai_user * * @author 77 * @date 2023-12-19 */ @Data @TableName("cai_user") public class User implements Serializable { private static final long serialVersionUID=1L; /** * */ @TableId(value = "id",type = IdType.AUTO) private Long id; /** * 用户号/ID号 */ private String usercode; /** * 昵称 */ private String nickname; /** * 用户类型: 0普通用户 1 内部用户 2 审核人员账号 */ private Integer type; /** * */ private String password; /** * 组别ID */ private Integer groupId; /** * 手机号 */ @Sensitive(strategy = SensitiveStrategy.PHONE) private String mobile; /** * 头像 */ private String avatar; /** * 头像状态,0 系统默认头像,1 用户自定义头像 */ private Integer avatarState; /** * 等级 */ private Integer level; /** * 性别 0 未知 1 女 2 男 */ private Integer gender; /** * 年龄 */ private Long age; /** * */ private LocalDate birthday; /** * 城市 */ private Integer cityId; private String city; /** * 资料是否完成 0 未完成 1已完成 */ private Integer finishStatus; /** * 相册上传状态 0 未上传 1 已上传 */ private Integer photoStatus; /** * 自拍认证 0 未认证 1 已认证 */ private Integer cameraStatus; /** * 是否同意服务协议 */ private Integer agreeProtocol; /** * 视频状态 0 休息中 1 视频中 */ private Integer videoStatus; /** * Token */ private String token; /** * 状态 0 可用 1 不可用 */ private Integer status; /** * 邀请人 */ private Long inviteId; /** * 终端 0 默认接口 1 安卓 2 ios 3 网页 4小程序 */ private Integer terminal; private Integer openImInvite; /** * im_token */ private String imToken; private Boolean imSpeck; private Boolean enableIm; /** * 是否是播主 0 否 1 是 */ private Integer isAnchor; /** * 隐藏排行榜模式 0-关闭 1-打开 */ private Integer rankHide; /** * 隐身模式 0-关闭 1-打开 */ private Integer noGreet; /** * 是否为工会管理员 0=否 1=是 */ private Integer isUnion; /** * 是否可发动态 */ private Integer sendDynamic; /** * 成为工会管理员时间 */ private LocalDateTime unionTime; private LocalDateTime createTime; private LocalDateTime updateTime; }