From 4f33a6133b54d873dc794bdebcfd783597ea0595 Mon Sep 17 00:00:00 2001 From: fangyuan <527392886@qq.com> Date: 星期四, 17 十一月 2022 11:43:31 +0800 Subject: [PATCH] 表结构更新 --- ycl-platform/src/main/java/com/ycl/entity/NewsInformation.java | 19 +++++-------------- 1 files changed, 5 insertions(+), 14 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 d78cc41..4de5a1d 100644 --- a/ycl-platform/src/main/java/com/ycl/entity/NewsInformation.java +++ b/ycl-platform/src/main/java/com/ycl/entity/NewsInformation.java @@ -3,17 +3,18 @@ import com.baomidou.mybatisplus.extension.activerecord.Model; import java.io.Serializable; +import java.sql.Date; /** * 璧勮琛�(NewsInformation)琛ㄥ疄浣撶被 * * @author makejava - * @since 2022-11-17 11:12:41 + * @since 2022-11-17 11:38:27 */ @SuppressWarnings("serial") public class NewsInformation extends Model<NewsInformation> { //id - private Object id; + private Integer id; //鏍囬 private String title; //鍐呭 @@ -28,15 +29,13 @@ private Object sendTo; //鍥剧墖鍦板潃 private String imageUrl; - //閮ㄩ棬锛堟満鏋勶級id - private String newsDepartmentId; - public Object getId() { + public Integer getId() { return id; } - public void setId(Object id) { + public void setId(Integer id) { this.id = id; } @@ -94,14 +93,6 @@ public void setImageUrl(String imageUrl) { this.imageUrl = imageUrl; - } - - public String getNewsDepartmentId() { - return newsDepartmentId; - } - - public void setNewsDepartmentId(String newsDepartmentId) { - this.newsDepartmentId = newsDepartmentId; } /** -- Gitblit v1.8.0