From c9d9a680d60722048fec46019b4a7ca36f821c58 Mon Sep 17 00:00:00 2001 From: fangyuan <527392886@qq.com> Date: 星期五, 18 十一月 2022 11:06:44 +0800 Subject: [PATCH] 资讯相关接口,栏目相关接口2 --- ycl-platform/src/main/java/com/ycl/entity/NewsColumnInformation.java | 121 +++++++++++++++++++++------------------- 1 files changed, 64 insertions(+), 57 deletions(-) diff --git a/ycl-platform/src/main/java/com/ycl/entity/NewsColumnInformation.java b/ycl-platform/src/main/java/com/ycl/entity/NewsColumnInformation.java index d86b7b6..de28394 100644 --- a/ycl-platform/src/main/java/com/ycl/entity/NewsColumnInformation.java +++ b/ycl-platform/src/main/java/com/ycl/entity/NewsColumnInformation.java @@ -1,57 +1,64 @@ -package com.ycl.entity; - - -import com.baomidou.mybatisplus.extension.activerecord.Model; -import java.io.Serializable; - -/** - * 鏍忕洰棰戦亾涓棿琛�(NewsColumnInformation)琛ㄥ疄浣撶被 - * - * @author makejava - * @since 2022-11-16 16:52:30 - */ -@SuppressWarnings("serial") -public class NewsColumnInformation extends Model<NewsColumnInformation> { - - private Integer id; - //鏍忕洰id - private Integer columnId; - //鍜ㄨid - private Integer informationId; - - - public Integer getId() { - return id; - } - - public void setId(Integer id) { - this.id = id; - } - - public Integer getColumnId() { - return columnId; - } - - public void setColumnId(Integer columnId) { - this.columnId = columnId; - } - - public Integer getInformationId() { - return informationId; - } - - public void setInformationId(Integer informationId) { - this.informationId = informationId; - } - - /** - * 鑾峰彇涓婚敭鍊� - * - * @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 lombok.NoArgsConstructor; + +import java.io.Serializable; + +/** + * 鏍忕洰鍜ㄨ涓棿琛�(NewsColumnInformation)琛ㄥ疄浣撶被 + * + * @author makejava + * @since 2022-11-17 11:38:27 + */ +@SuppressWarnings("serial") +@Builder +@NoArgsConstructor +@AllArgsConstructor +public class NewsColumnInformation extends Model<NewsColumnInformation> { + + private Integer id; + //鏍忕洰id + private Integer columnId; + //鍜ㄨid + private Integer informationId; + + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public Integer getColumnId() { + return columnId; + } + + public void setColumnId(Integer columnId) { + this.columnId = columnId; + } + + public Integer getInformationId() { + return informationId; + } + + public void setInformationId(Integer informationId) { + this.informationId = informationId; + } + + /** + * 鑾峰彇涓婚敭鍊� + * + * @return 涓婚敭鍊� + */ + @Override + protected Serializable pkVal() { + return this.id; + } + } + -- Gitblit v1.8.0