SYYTe/fast-boot-system/src/main/java/net/maku/system/entity/SysUserEntity.java
2022-04-29 22:51:40 +08:00

60 lines
1.1 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 net.maku.system.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import net.maku.framework.common.entity.BaseEntity;
import net.maku.system.enums.UserStatusEnum;
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_user")
public class SysUserEntity extends BaseEntity {
/**
* 用户名
*/
private String username;
/**
* 密码
*/
private String password;
/**
* 姓名
*/
private String realName;
/**
* 头像
*/
private String avatar;
/**
* 性别 0男 1女 2未知
*/
private Integer gender;
/**
* 邮箱
*/
private String email;
/**
* 手机号
*/
private String mobile;
/**
* 机构ID
*/
private Long orgId;
/**
* 超级管理员 0否 1
*/
private Integer superAdmin;
/**
* 状态 {@link UserStatusEnum}
*/
private Integer status;
/**
* 机构名称
*/
@TableField(exist=false)
private String orgName;
}