package com.yeshi.fanli.entity.common;
|
|
import java.io.Serializable;
|
|
import org.yeshi.utils.generater.mybatis.Column;
|
import org.yeshi.utils.generater.mybatis.Table;
|
|
import com.google.gson.annotations.Expose;
|
|
@Table("yeshi_ec_adminuser")
|
public class AdminUser implements Serializable{
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 1L;
|
|
@Column(name = "id")
|
private Long id;
|
|
@Expose
|
@Column(name = "name")
|
private String name;
|
|
@Column(name = "account")
|
private String account;
|
|
@Column(name = "pwd")
|
private String pwd;
|
|
@Column(name = "createtime")
|
private String createtime;
|
|
@Column(name = "authority")
|
private Integer authority;// 0-超级权限 1-普�?权限
|
|
// 邮箱
|
@Column(name = "email")
|
private String email;
|
|
|
public AdminUser(){}
|
|
public AdminUser(Long id){
|
this.id=id;
|
}
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getAccount() {
|
return account;
|
}
|
|
public void setAccount(String account) {
|
this.account = account;
|
}
|
|
public String getPwd() {
|
return pwd;
|
}
|
|
public void setPwd(String pwd) {
|
this.pwd = pwd;
|
}
|
|
public String getCreatetime() {
|
return createtime;
|
}
|
|
public void setCreatetime(String createtime) {
|
this.createtime = createtime;
|
}
|
|
public Integer getAuthority() {
|
return authority;
|
}
|
|
public void setAuthority(Integer authority) {
|
this.authority = authority;
|
}
|
|
public String getEmail() {
|
return email;
|
}
|
|
public void setEmail(String email) {
|
this.email = email;
|
}
|
|
}
|