init
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
package com.tailbet.model.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 用户表
|
||||
*/
|
||||
@Data
|
||||
@TableName("user")
|
||||
public class User {
|
||||
|
||||
@TableId(type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 账号
|
||||
*/
|
||||
private String username;
|
||||
|
||||
/**
|
||||
* 密码(BCrypt)
|
||||
*/
|
||||
private String password;
|
||||
|
||||
/**
|
||||
* 昵称
|
||||
*/
|
||||
private String nickname;
|
||||
|
||||
/**
|
||||
* 头像URL
|
||||
*/
|
||||
private String avatarUrl;
|
||||
|
||||
/**
|
||||
* 积分余额
|
||||
*/
|
||||
private Long points;
|
||||
|
||||
/**
|
||||
* 运营标记:0否 1是
|
||||
*/
|
||||
private Integer isOps;
|
||||
|
||||
/**
|
||||
* 机器人标记:0否 1是
|
||||
*/
|
||||
private Integer isBot;
|
||||
|
||||
/**
|
||||
* 假人托标记:0否 1是
|
||||
*/
|
||||
private Integer isFake;
|
||||
|
||||
/**
|
||||
* 加白(尾数控制)标记
|
||||
*/
|
||||
private Integer isWhite;
|
||||
|
||||
/**
|
||||
* 绑定的运营用户ID
|
||||
*/
|
||||
private Long boundOpsUserId;
|
||||
|
||||
/**
|
||||
* 状态:1正常 0封禁
|
||||
*/
|
||||
private Integer status;
|
||||
}
|
||||
Reference in New Issue
Block a user