package com.ycl.entity;
|
|
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
import java.io.Serializable;
|
|
/**
|
* 警员表
|
(NewsPolice)表实体类
|
*
|
* @author makejava
|
* @since 2022-11-17 11:12:42
|
*/
|
@SuppressWarnings("serial")
|
public class NewsPolice extends Model<NewsPolice> {
|
//自增主键
|
private Object id;
|
//警员名称
|
private String rname;
|
//创建时间
|
private Date createTime;
|
//修改时间
|
private Date updateTime;
|
//机构名称
|
private String organizationName;
|
|
|
public Object getId() {
|
return id;
|
}
|
|
public void setId(Object id) {
|
this.id = id;
|
}
|
|
public String getRname() {
|
return rname;
|
}
|
|
public void setRname(String rname) {
|
this.rname = rname;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public Date getUpdateTime() {
|
return updateTime;
|
}
|
|
public void setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
public String getOrganizationName() {
|
return organizationName;
|
}
|
|
public void setOrganizationName(String organizationName) {
|
this.organizationName = organizationName;
|
}
|
|
/**
|
* 获取主键值
|
*
|
* @return 主键值
|
*/
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
}
|
|