From 04656ebd6d0000dd4653eaf000bf73cb2bd4f521 Mon Sep 17 00:00:00 2001 From: fangyuan <527392886@qq.com> Date: 星期四, 17 十一月 2022 11:14:14 +0800 Subject: [PATCH] 数据库修改 --- ycl-platform/src/main/java/com/ycl/entity/NewsInformation.java | 225 +++++++++++++++++++++++++++++--------------------------- 1 files changed, 117 insertions(+), 108 deletions(-) diff --git a/ycl-platform/src/main/java/com/ycl/entity/NewsInformation.java b/ycl-platform/src/main/java/com/ycl/entity/NewsInformation.java index 9fe7e7f..d78cc41 100644 --- a/ycl-platform/src/main/java/com/ycl/entity/NewsInformation.java +++ b/ycl-platform/src/main/java/com/ycl/entity/NewsInformation.java @@ -1,108 +1,117 @@ -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; + } + } + -- Gitblit v1.8.0