package com.xcong.farmer.cms.modules.system.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.xcong.farmer.cms.common.system.base.BaseEntity;
|
import lombok.Data;
|
|
/**
|
* 用户表
|
*/
|
@Data
|
@TableName("t_user")
|
public class UserEntity extends BaseEntity {
|
/**
|
* 默认账户
|
*/
|
public static final String USERNAME_DEFAULT = "system";
|
/**
|
* 默认密码
|
*/
|
public static final String PASSWORD_DEFAULT = "123456";
|
/**
|
* 账号状态 - 禁用
|
*/
|
public static final Integer STATUS_DISABLED = 0;
|
/**
|
* 账号状态 - 激活
|
*/
|
public static final Integer STATUS_ENABLE = 1;
|
//用户名
|
private String username;
|
//昵称
|
private String nickname;
|
//登录密码
|
private String password;
|
//联系电话
|
private String phone;
|
//邮箱
|
private String email;
|
//账号状态 0:禁用 1:激活
|
private Integer status;
|
//拓展备注
|
private String remark;
|
}
|