| | |
| | | package com.ycl.entity; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.activerecord.Model; |
| | | import java.io.Serializable; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * 咨询表(NewsInformation)表实体类 |
| | | * |
| | | * @author makejava |
| | | * @since 2022-11-16 16:52:30 |
| | | */ |
| | | @SuppressWarnings("serial") |
| | | public class NewsInformation extends Model<NewsInformation> { |
| | | //id |
| | | private Integer id; |
| | | //标题 |
| | | private String title; |
| | | //内容 |
| | | private String content; |
| | | //发布时间 |
| | | private LocalDate publishTime; |
| | | //是否签收1签收0未签收 |
| | | private Integer isSign; |
| | | //创建时间 |
| | | private LocalDate createTime; |
| | | //警员id |
| | | private Object sendTo; |
| | | //图片地址 |
| | | private String imageUrl; |
| | | |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public String getTitle() { |
| | | return title; |
| | | } |
| | | |
| | | public void setTitle(String title) { |
| | | this.title = title; |
| | | } |
| | | |
| | | public String getContent() { |
| | | return content; |
| | | } |
| | | |
| | | public void setContent(String content) { |
| | | this.content = content; |
| | | } |
| | | |
| | | public LocalDate getPublishTime() { |
| | | return publishTime; |
| | | } |
| | | |
| | | public void setPublishTime(LocalDate publishTime) { |
| | | this.publishTime = publishTime; |
| | | } |
| | | |
| | | public Integer getIsSign() { |
| | | return isSign; |
| | | } |
| | | |
| | | public void setIsSign(Integer isSign) { |
| | | this.isSign = isSign; |
| | | } |
| | | |
| | | public LocalDate getCreateTime() { |
| | | return createTime; |
| | | } |
| | | |
| | | public void setCreateTime(LocalDate createTime) { |
| | | this.createTime = createTime; |
| | | } |
| | | |
| | | public Object getSendTo() { |
| | | return sendTo; |
| | | } |
| | | |
| | | public void setSendTo(Object sendTo) { |
| | | this.sendTo = sendTo; |
| | | } |
| | | |
| | | public String getImageUrl() { |
| | | return imageUrl; |
| | | } |
| | | |
| | | public void setImageUrl(String imageUrl) { |
| | | this.imageUrl = imageUrl; |
| | | } |
| | | |
| | | /** |
| | | * 获取主键值 |
| | | * |
| | | * @return 主键值 |
| | | */ |
| | | @Override |
| | | protected Serializable pkVal() { |
| | | return this.id; |
| | | } |
| | | } |
| | | |
| | | package com.ycl.entity;
|
| | |
|
| | |
|
| | | import com.baomidou.mybatisplus.extension.activerecord.Model;
|
| | | import java.io.Serializable;
|
| | |
|
| | | /**
|
| | | * 资讯表(NewsInformation)表实体类
|
| | | *
|
| | | * @author makejava
|
| | | * @since 2022-11-17 11:12:41
|
| | | */
|
| | | @SuppressWarnings("serial")
|
| | | public class NewsInformation extends Model<NewsInformation> {
|
| | | //id
|
| | | private Object id;
|
| | | //标题
|
| | | private String title;
|
| | | //内容
|
| | | private String content;
|
| | | //发布时间
|
| | | private Date publishTime;
|
| | | //是否签收0未签收1签收2不需要签收
|
| | | private Integer isSign;
|
| | | //创建时间
|
| | | private Date createTime;
|
| | | //警员id
|
| | | private Object sendTo;
|
| | | //图片地址
|
| | | private String imageUrl;
|
| | | //部门(机构)id
|
| | | private String newsDepartmentId;
|
| | |
|
| | |
|
| | | public Object getId() {
|
| | | return id;
|
| | | }
|
| | |
|
| | | public void setId(Object id) {
|
| | | this.id = id;
|
| | | }
|
| | |
|
| | | public String getTitle() {
|
| | | return title;
|
| | | }
|
| | |
|
| | | public void setTitle(String title) {
|
| | | this.title = title;
|
| | | }
|
| | |
|
| | | public String getContent() {
|
| | | return content;
|
| | | }
|
| | |
|
| | | public void setContent(String content) {
|
| | | this.content = content;
|
| | | }
|
| | |
|
| | | public Date getPublishTime() {
|
| | | return publishTime;
|
| | | }
|
| | |
|
| | | public void setPublishTime(Date publishTime) {
|
| | | this.publishTime = publishTime;
|
| | | }
|
| | |
|
| | | public Integer getIsSign() {
|
| | | return isSign;
|
| | | }
|
| | |
|
| | | public void setIsSign(Integer isSign) {
|
| | | this.isSign = isSign;
|
| | | }
|
| | |
|
| | | public Date getCreateTime() {
|
| | | return createTime;
|
| | | }
|
| | |
|
| | | public void setCreateTime(Date createTime) {
|
| | | this.createTime = createTime;
|
| | | }
|
| | |
|
| | | public Object getSendTo() {
|
| | | return sendTo;
|
| | | }
|
| | |
|
| | | public void setSendTo(Object sendTo) {
|
| | | this.sendTo = sendTo;
|
| | | }
|
| | |
|
| | | public String getImageUrl() {
|
| | | return imageUrl;
|
| | | }
|
| | |
|
| | | public void setImageUrl(String imageUrl) {
|
| | | this.imageUrl = imageUrl;
|
| | | }
|
| | |
|
| | | public String getNewsDepartmentId() {
|
| | | return newsDepartmentId;
|
| | | }
|
| | |
|
| | | public void setNewsDepartmentId(String newsDepartmentId) {
|
| | | this.newsDepartmentId = newsDepartmentId;
|
| | | }
|
| | |
|
| | | /**
|
| | | * 获取主键值
|
| | | *
|
| | | * @return 主键值
|
| | | */
|
| | | @Override
|
| | | protected Serializable pkVal() {
|
| | | return this.id;
|
| | | }
|
| | | }
|
| | |
|