pull/37/head
kunfei 5 years ago
parent 5b107871f6
commit 82435f601c
  1. 10
      app/src/main/java/io/legado/app/data/entities/RssArticle.kt

@ -2,16 +2,16 @@ package io.legado.app.data.entities
import androidx.room.Entity
import androidx.room.Ignore
import androidx.room.PrimaryKey
@Entity(tableName = "rssArticles")
@Entity(
tableName = "rssArticles",
primaryKeys = ["origin", "title"]
)
data class RssArticle(
var origin: String = "",
var time: Long = System.currentTimeMillis(),
@PrimaryKey
var guid: String = "",
var title: String? = null,
var time: Long = System.currentTimeMillis(),
var author: String? = null,
var link: String? = null,
var pubDate: String? = null,

Loading…
Cancel
Save