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/NewsChannel.java | 155 +++++++++++++++++++++++++++++----------------------
1 files changed, 87 insertions(+), 68 deletions(-)
diff --git a/ycl-platform/src/main/java/com/ycl/entity/NewsChannel.java b/ycl-platform/src/main/java/com/ycl/entity/NewsChannel.java
index 06287a4..fa66012 100644
--- a/ycl-platform/src/main/java/com/ycl/entity/NewsChannel.java
+++ b/ycl-platform/src/main/java/com/ycl/entity/NewsChannel.java
@@ -1,68 +1,87 @@
-package com.ycl.entity;
-
-
-import com.baomidou.mybatisplus.extension.activerecord.Model;
-import java.io.Serializable;
-import java.time.LocalDate;
-
-/**
- * 棰戦亾琛�(NewsChannel)琛ㄥ疄浣撶被
- *
- * @author makejava
- * @since 2022-11-16 16:52:30
- */
-@SuppressWarnings("serial")
-public class NewsChannel extends Model<NewsChannel> {
- //id
- private Integer id;
- //棰戦亾鍚嶇О
- private String name;
- //棰戦亾缂栫爜ps鍚嶇О棣栧瓧姣�
- private String code;
- //鍒涘缓鏃堕棿
- private LocalDate createTime;
-
-
- public Integer getId() {
- return id;
- }
-
- public void setId(Integer id) {
- this.id = id;
- }
-
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
- public String getCode() {
- return code;
- }
-
- public void setCode(String code) {
- this.code = code;
- }
-
- public LocalDate getCreateTime() {
- return createTime;
- }
-
- public void setCreateTime(LocalDate createTime) {
- this.createTime = createTime;
- }
-
- /**
- * 鑾峰彇涓婚敭鍊�
- *
- * @return 涓婚敭鍊�
- */
- @Override
- protected Serializable pkVal() {
- return this.id;
- }
- }
-
+package com.ycl.entity;
+
+
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import io.swagger.annotations.ApiModelProperty;
+
+import java.io.Serializable;
+import java.sql.Date;
+import java.util.List;
+
+/**
+ * 棰戦亾琛�(NewsChannel)琛ㄥ疄浣撶被
+ *
+ * @author makejava
+ * @since 2022-11-17 11:38:27
+ */
+@SuppressWarnings("serial")
+public class NewsChannel extends Model<NewsChannel> {
+ //id
+ @ApiModelProperty("涓婚敭")
+ private Integer id;
+ //棰戦亾鍚嶇О
+ @ApiModelProperty("棰戦亾鍚嶇О")
+ private String name;
+ //棰戦亾缂栫爜ps鍚嶇О棣栧瓧姣�
+ @ApiModelProperty("棰戦亾缂栫爜")
+ private String code;
+ //鍒涘缓鏃堕棿
+ @ApiModelProperty("鍒涘缓鏃堕棿")
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+ private Date createTime;
+ //鏍忕洰id
+ @ApiModelProperty("鏍忕洰id")
+ private List<String> columnId;
+
+ public List<String> getColumnId() {
+ return columnId;
+ }
+
+ public void setColumnId(List<String> columnId) {
+ this.columnId = columnId;
+ }
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getCode() {
+ return code;
+ }
+
+ public void setCode(String code) {
+ this.code = code;
+ }
+
+ public Date getCreateTime() {
+ return createTime;
+ }
+
+ public void setCreateTime(Date createTime) {
+ this.createTime = createTime;
+ }
+
+ /**
+ * 鑾峰彇涓婚敭鍊�
+ *
+ * @return 涓婚敭鍊�
+ */
+ @Override
+ protected Serializable pkVal() {
+ return this.id;
+ }
+ }
+
--
Gitblit v1.8.0