package com.ycl.entity;
|
|
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 后台用户表(NewsAdmin)表实体类
|
*
|
* @author makejava
|
* @since 2022-11-17 11:38:27
|
*/
|
@SuppressWarnings("serial")
|
public class NewsAdmin extends Model<NewsAdmin> {
|
|
private Long id;
|
//用户姓名
|
private String username;
|
//密码
|
private String password;
|
//头像
|
private String icon;
|
//邮箱
|
private String email;
|
//备注信息
|
private String note;
|
//创建时间
|
private Date createTime;
|
//帐号启用状态:0->禁用;1->启用
|
private Integer status;
|
// 0->女,1->男
|
private Integer sex;
|
//手机
|
private String mobile;
|
//是否为网格管理员:0->不是;1->是
|
private Integer isGrid;
|
//警员id
|
private Integer newsPoliceId;
|
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public String getUsername() {
|
return username;
|
}
|
|
public void setUsername(String username) {
|
this.username = username;
|
}
|
|
public String getPassword() {
|
return password;
|
}
|
|
public void setPassword(String password) {
|
this.password = password;
|
}
|
|
public String getIcon() {
|
return icon;
|
}
|
|
public void setIcon(String icon) {
|
this.icon = icon;
|
}
|
|
public String getEmail() {
|
return email;
|
}
|
|
public void setEmail(String email) {
|
this.email = email;
|
}
|
|
public String getNote() {
|
return note;
|
}
|
|
public void setNote(String note) {
|
this.note = note;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public Integer getStatus() {
|
return status;
|
}
|
|
public void setStatus(Integer status) {
|
this.status = status;
|
}
|
|
public Integer getSex() {
|
return sex;
|
}
|
|
public void setSex(Integer sex) {
|
this.sex = sex;
|
}
|
|
public String getMobile() {
|
return mobile;
|
}
|
|
public void setMobile(String mobile) {
|
this.mobile = mobile;
|
}
|
|
public Integer getIsGrid() {
|
return isGrid;
|
}
|
|
public void setIsGrid(Integer isGrid) {
|
this.isGrid = isGrid;
|
}
|
|
public Integer getNewsPoliceId() {
|
return newsPoliceId;
|
}
|
|
public void setNewsPoliceId(Integer newsPoliceId) {
|
this.newsPoliceId = newsPoliceId;
|
}
|
|
/**
|
* 获取主键值
|
*
|
* @return 主键值
|
*/
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
}
|
|