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