wj-manager-system/src/main/java/com/wj/manager/entity/AccountEntity.java
2025-01-17 18:33:19 +08:00

65 lines
1.0 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.wj.manager.entity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.util.Date;
/**
* 用户账户表
*/
@Data
@TableName("tb_account")
public class AccountEntity {
@TableId(type = IdType.AUTO)
private Long id;
/**
* 姓名
*/
private String username;
/**
* 密码
*/
private String password;
/**
* 性别1-男2-女
*/
private Integer gender;
/**
* 出生日期
*/
private String birthday;
/**
* 手机号
*/
private String phone;
/**
* 学院
*/
private String college;
/**
* 班级id
*/
private Long classId;
/**
* 角色1-管理员2-教师3-学生
*/
private Integer role;
/**
* 头像
*/
private String headImg;
/**
* 状态1-正常0-禁用
*/
private Integer status;
/**
* 创建时间
*/
private Date createTime;
/**
* 更新时间
*/
private Date updateTime;
}