package com.wgcloud.entity;
|
|
import java.util.Date;
|
|
/**
|
* @version v3.3
|
* @ClassName:AccountInfo.java
|
* @author: http://www.wgstart.com
|
* @date: 2021年1月16日
|
* @Description: 用户信息管理
|
* @Copyright: 2019-2021 wgcloud. All rights reserved.
|
*/
|
public class AccountInfo extends BaseEntity {
|
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 登录帐号,不要重复,不要和管理员、只读账号重复
|
*/
|
private String account;
|
|
|
/**
|
* 用户角色,admin管理员,user普通用户,guest只读用户
|
* ACCOUNT_INFO表中用户的角色全为user
|
*/
|
private String role;
|
|
/**
|
* 用户邮箱
|
*/
|
private String email;
|
|
/**
|
* 密码
|
*/
|
private String passwd;
|
|
/**
|
* 用户标识,用来在发送告警脚本时候,发给指定用户(脚本调用第二个参数即是用户标识值)
|
*/
|
private String accountKey;
|
|
/**
|
* 备注
|
*/
|
private String remark;
|
|
|
/**
|
* 创建时间
|
*/
|
private Date createTime;
|
|
|
public String getAccount() {
|
return account;
|
}
|
|
public void setAccount(String account) {
|
this.account = account;
|
}
|
|
public String getEmail() {
|
return email;
|
}
|
|
public void setEmail(String email) {
|
this.email = email;
|
}
|
|
public String getPasswd() {
|
return passwd;
|
}
|
|
public void setPasswd(String passwd) {
|
this.passwd = passwd;
|
}
|
|
|
public String getRole() {
|
return role;
|
}
|
|
public void setRole(String role) {
|
this.role = role;
|
}
|
|
public String getAccountKey() {
|
return accountKey;
|
}
|
|
public void setAccountKey(String accountKey) {
|
this.accountKey = accountKey;
|
}
|
|
public String getRemark() {
|
return remark;
|
}
|
|
public void setRemark(String remark) {
|
this.remark = remark;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
}
|