package com.ycl.entity;
|
|
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModelProperty;
|
|
import java.io.Serializable;
|
import java.sql.Date;
|
|
/**
|
* 警员表
|
(NewsPolice)表实体类
|
*
|
* @author makejava
|
* @since 2022-11-17 11:38:27
|
*/
|
@SuppressWarnings("serial")
|
public class NewsPolice extends Model<NewsPolice> {
|
//自增主键
|
@ApiModelProperty("主键")
|
private Integer id;
|
//警员名称
|
@ApiModelProperty("警员名称")
|
private String rname;
|
//创建时间
|
@ApiModelProperty("创建时间")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date createTime;
|
//修改时间
|
@ApiModelProperty("修改时间")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date updateTime;
|
//机构id
|
@ApiModelProperty("机构id")
|
private String newsDepartmentId;
|
//手机号码
|
@ApiModelProperty("手机号码")
|
private String phone;
|
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer 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 getNewsDepartmentId() {
|
return newsDepartmentId;
|
}
|
|
public void setNewsDepartmentId(String newsDepartmentId) {
|
this.newsDepartmentId = newsDepartmentId;
|
}
|
|
public String getPhone() {
|
return phone;
|
}
|
|
public void setPhone(String phone) {
|
this.phone = phone;
|
}
|
|
/**
|
* 获取主键值
|
*
|
* @return 主键值
|
*/
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
}
|
|