From 0dd9114195ebfb34b7b1a9e0a381abeddd5eed1d Mon Sep 17 00:00:00 2001 From: lunaticbum <> Date: Fri, 11 Oct 2024 17:32:36 +0900 Subject: [PATCH] ... --- .../kotlin/kr/lunaticbum/back/lun/model/BumsPrivate.kt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/kotlin/kr/lunaticbum/back/lun/model/BumsPrivate.kt b/src/main/kotlin/kr/lunaticbum/back/lun/model/BumsPrivate.kt index 0124c16..2a95209 100644 --- a/src/main/kotlin/kr/lunaticbum/back/lun/model/BumsPrivate.kt +++ b/src/main/kotlin/kr/lunaticbum/back/lun/model/BumsPrivate.kt @@ -5,6 +5,7 @@ import kr.lunaticbum.back.lun.utils.LogService import lombok.AllArgsConstructor import lombok.Data import lombok.NoArgsConstructor +import org.bson.codecs.pojo.annotations.BsonIgnore import org.jsoup.Jsoup import org.springframework.beans.factory.annotation.Autowired import org.springframework.data.annotation.Id @@ -151,6 +152,10 @@ enum class RssDataType { // else -> { View.VISIBLE } // } } +@Data +@NoArgsConstructor +@AllArgsConstructor +@Document(collection = "RssData") class RssData : RssDataInterface { @Id @@ -164,6 +169,7 @@ class RssData : RssDataInterface { var chosung : String? = null + @BsonIgnore var mRssDataType : RssDataType? = null override fun title(): String { return when(category()){ @@ -273,6 +279,7 @@ object SkFWTW9zdA : SoInterface { thumbnail = thumb originPage = link this.title = title + category = RssDataType.Most.name try { pubDate = dmy.parse(date).time }catch (e : Exception) {e.printStackTrace()}