From b81bac5a5294b1c3c2f09661900e22943eca7832 Mon Sep 17 00:00:00 2001 From: kunfei Date: Tue, 10 Sep 2019 20:35:41 +0800 Subject: [PATCH] up --- .../io/legado/app/data/entities/RssArticle.kt | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 app/src/main/java/io/legado/app/data/entities/RssArticle.kt diff --git a/app/src/main/java/io/legado/app/data/entities/RssArticle.kt b/app/src/main/java/io/legado/app/data/entities/RssArticle.kt new file mode 100644 index 000000000..6f8773ba3 --- /dev/null +++ b/app/src/main/java/io/legado/app/data/entities/RssArticle.kt @@ -0,0 +1,20 @@ +package io.legado.app.data.entities + +import androidx.room.Entity +import androidx.room.PrimaryKey + + +@Entity(tableName = "rssArticles") +data class RssArticle( + var origin: String = "", + @PrimaryKey + var guid: String? = null, + var title: String? = null, + var author: String? = null, + var link: String? = null, + var pubDate: String? = null, + var description: String? = null, + var content: String? = null, + var image: String? = null, + var categories: MutableList = mutableListOf() +) \ No newline at end of file