init
This commit is contained in:
161
ruoyi-cai/src/main/java/com/ruoyi/cai/domain/User.java
Normal file
161
ruoyi-cai/src/main/java/com/ruoyi/cai/domain/User.java
Normal file
@@ -0,0 +1,161 @@
|
||||
package com.ruoyi.cai.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
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")
|
||||
private Long id;
|
||||
/**
|
||||
* 用户号/ID号
|
||||
*/
|
||||
private String usercode;
|
||||
/**
|
||||
* 昵称
|
||||
*/
|
||||
private String nickname;
|
||||
/**
|
||||
* 用户类型: 0普通用户 1 内部用户 2 审核人员账号
|
||||
*/
|
||||
private Integer type;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private String password;
|
||||
/**
|
||||
* 密码盐
|
||||
*/
|
||||
private String salt;
|
||||
/**
|
||||
* 组别ID
|
||||
*/
|
||||
private Integer groupId;
|
||||
/**
|
||||
* 手机号
|
||||
*/
|
||||
private String mobile;
|
||||
/**
|
||||
* 手机号验证状态 0 未验证 1 已验证
|
||||
*/
|
||||
private Integer mobileStatus;
|
||||
/**
|
||||
* 头像
|
||||
*/
|
||||
private String avatar;
|
||||
/**
|
||||
* 头像状态,0 系统默认头像,1 用户自定义头像
|
||||
*/
|
||||
private Integer avatarState;
|
||||
/**
|
||||
* 等级
|
||||
*/
|
||||
private Integer level;
|
||||
/**
|
||||
* 性别 0 未知 1 女 2 男
|
||||
*/
|
||||
private Integer gender;
|
||||
/**
|
||||
* 年龄
|
||||
*/
|
||||
private Long age;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private LocalDateTime birthday;
|
||||
/**
|
||||
* 城市
|
||||
*/
|
||||
private Long 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 Integer inviteId;
|
||||
/**
|
||||
* 终端 0 默认接口 1 安卓 2 ios 3 网页 4小程序
|
||||
*/
|
||||
private Integer terminal;
|
||||
/**
|
||||
* 注册方式:0 普通注册 1 邀请注册 2系统生成 3 线上活动
|
||||
*/
|
||||
private Integer createdBy;
|
||||
/**
|
||||
* im_token
|
||||
*/
|
||||
private String imToken;
|
||||
/**
|
||||
* 是否是播主 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;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user