From 5cba031b4fcc437568a46295739fda3dae7ae41f Mon Sep 17 00:00:00 2001 From: fangyuan <527392886@qq.com> Date: 星期一, 21 十一月 2022 15:22:59 +0800 Subject: [PATCH] 上传文件配置及接口修改 --- ycl-platform/src/main/java/com/ycl/entity/NewsChannelColumn.java | 118 ++++++++++++++++++++++++++++++---------------------------- 1 files changed, 61 insertions(+), 57 deletions(-) diff --git a/ycl-platform/src/main/java/com/ycl/entity/NewsChannelColumn.java b/ycl-platform/src/main/java/com/ycl/entity/NewsChannelColumn.java index 5dd1579..f4d926f 100644 --- a/ycl-platform/src/main/java/com/ycl/entity/NewsChannelColumn.java +++ b/ycl-platform/src/main/java/com/ycl/entity/NewsChannelColumn.java @@ -1,57 +1,61 @@ -package com.ycl.entity; - - -import com.baomidou.mybatisplus.extension.activerecord.Model; -import java.io.Serializable; - -/** - * 棰戦亾鏍忕洰涓棿琛�(NewsChannelColumn)琛ㄥ疄浣撶被 - * - * @author makejava - * @since 2022-11-16 16:52:30 - */ -@SuppressWarnings("serial") -public class NewsChannelColumn extends Model<NewsChannelColumn> { - - private Integer id; - //棰戦亾id - private Integer channelId; - //鏍忕洰id - private Integer columnId; - - - public Integer getId() { - return id; - } - - public void setId(Integer id) { - this.id = id; - } - - public Integer getChannelId() { - return channelId; - } - - public void setChannelId(Integer channelId) { - this.channelId = channelId; - } - - public Integer getColumnId() { - return columnId; - } - - public void setColumnId(Integer columnId) { - this.columnId = columnId; - } - - /** - * 鑾峰彇涓婚敭鍊� - * - * @return 涓婚敭鍊� - */ - @Override - protected Serializable pkVal() { - return this.id; - } - } - +package com.ycl.entity; + + +import com.baomidou.mybatisplus.extension.activerecord.Model; +import lombok.AllArgsConstructor; +import lombok.Builder; + +import java.io.Serializable; + +/** + * 棰戦亾鏍忕洰涓棿琛�(NewsChannelColumn)琛ㄥ疄浣撶被 + * + * @author makejava + * @since 2022-11-17 11:38:27 + */ +@SuppressWarnings("serial") +@Builder +@AllArgsConstructor +public class NewsChannelColumn extends Model<NewsChannelColumn> { + + private Integer id; + //棰戦亾id + private Integer channelId; + //鏍忕洰id + private Integer columnId; + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public Integer getChannelId() { + return channelId; + } + + public void setChannelId(Integer channelId) { + this.channelId = channelId; + } + + public Integer getColumnId() { + return columnId; + } + + public void setColumnId(Integer columnId) { + this.columnId = columnId; + } + + /** + * 鑾峰彇涓婚敭鍊� + * + * @return 涓婚敭鍊� + */ + @Override + protected Serializable pkVal() { + return this.id; + } + } + -- Gitblit v1.8.0