/**
|
# __----~~~~~~~~~~~------___
|
# . . ~~//====...... __--~ ~~
|
# -. \_|// |||\\ ~~~~~~::::... /~
|
# ___-==_ _-~o~ \/ ||| \\ _/~~-
|
# __---~~~.==~||\=_ -_--~/_-~|- |\\ \\ _/~
|
# _-~~ .=~ | \\-_ '-~7 /- / || \ /
|
# .~ .~ | \\ -_ / /- / || \ /
|
# / ____ / | \\ ~-_/ /|- _/ .|| \ /
|
# |~~ ~~|--~~~~--_ \ ~==-/ | \~--===~~ .\
|
# ' ~-| /| |-~\~~ __--~~
|
# |-~~-_/ | | ~\_ _-~ /\
|
# / \ \__ \/~ \__
|
# _--~ _/ | .-~~____--~-/ ~~==.
|
# ((->/~ '.|||' -_| ~~-/ , . _||
|
# -_ ~\ ~~---l__i__i__i--~~_/
|
# _-~-__ ~) \--______________--~~
|
# //.-~~~-~_--~- |-------~~~~~~~~
|
# //.-~~~--\
|
# 神兽保佑
|
# 永无BUG!
|
*/
|
package com.nanjing.water.repository.po;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableLogic;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.sql.Timestamp;
|
|
/**
|
* 管理员帐号
|
* @author lin.liu
|
*/
|
@Data
|
@TableName("admin_user")
|
public class AdminUserPO implements Serializable {
|
/**
|
* 主键
|
*/
|
private Long id;
|
/**
|
* 用户类型 EUserType
|
*/
|
@TableField(value = "user_type")
|
private Integer userType;
|
/**
|
* 用户关联id,和“user_type”对应,如:客户id等
|
*/
|
@TableField(value = "user_rel_id")
|
private Long userRelId;
|
/**
|
* 用户名
|
*/
|
@TableField(value = "user_name")
|
private String userName;
|
/**
|
* 密码
|
*/
|
@TableField(value = "password")
|
private String password;
|
/**
|
* 昵称
|
*/
|
@TableField(value = "nick_name")
|
private String nickName;
|
/**
|
* 头像
|
*/
|
@TableField(value = "head_img")
|
private String headImg;
|
/**
|
* 联系方式
|
*/
|
@TableField(value = "contact")
|
private String contact;
|
/**
|
* 联系邮箱
|
*/
|
@TableField(value = "email")
|
private String email;
|
/**
|
* 状态 EState
|
*/
|
@TableField(value = "status")
|
private Integer status;
|
/**
|
* 数据创建时间
|
*/
|
@TableField(value = "create_time")
|
private Long createTime;
|
/**
|
* 最后更新时间
|
*/
|
@TableField(value = "update_time")
|
private Timestamp updateTime;
|
/**
|
* 是否删除(逻辑删除)
|
*/
|
@TableLogic
|
@TableField(value = "is_delete")
|
private Integer isDelete;
|
}
|