2025-08-01 15:10:15 +08:00
|
|
|
|
package vvpkassistant.User.model;
|
2025-08-01 13:59:30 +08:00
|
|
|
|
|
|
|
|
|
|
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 UserModel {
|
|
|
|
|
|
@TableId(type = IdType.AUTO)
|
|
|
|
|
|
private Integer id; // 主键
|
|
|
|
|
|
private String nickName; // 昵称
|
|
|
|
|
|
private String phoneNumber; // 手机号码
|
|
|
|
|
|
private String headerIcon; // 头像
|
|
|
|
|
|
private String openid; // openid
|
|
|
|
|
|
private String sessionKey; // session key
|
|
|
|
|
|
private Integer status; // 用户状态 0 正常 其他业务逻辑待定
|
|
|
|
|
|
private Long createTime; // 创建时间
|
|
|
|
|
|
private String userChatId; // 聊天使用的id,使用微信的openid作为标识
|
|
|
|
|
|
private Integer points; // 用户积分
|
|
|
|
|
|
private Integer inviterId; // 邀请人id
|
2025-08-04 21:58:55 +08:00
|
|
|
|
private String email;
|
|
|
|
|
|
private String password;
|
2025-08-05 15:39:38 +08:00
|
|
|
|
private Integer mailVerification;
|
2025-08-01 13:59:30 +08:00
|
|
|
|
}
|