From b1516fedd7deedb61641321158fce862f77b4b4d Mon Sep 17 00:00:00 2001 From: fangyuan <527392886@qq.com> Date: 星期二, 22 十一月 2022 11:51:53 +0800 Subject: [PATCH] 更新访问路径白名单,部分接口修改 --- ycl-platform/src/main/java/com/ycl/entity/NewsChannelColumn.java | 121 +++++++++++++++++++++------------------- 1 files changed, 64 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..665e2ea 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,64 @@ -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 io.swagger.annotations.ApiModelProperty; +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> { + @ApiModelProperty("涓婚敭") + private Integer id; + //棰戦亾id + @ApiModelProperty("棰戦亾id") + private Integer channelId; + //鏍忕洰id + @ApiModelProperty("鏍忕洰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