|
|
@ -2,11 +2,12 @@ package io.legado.app.data.entities |
|
|
|
|
|
|
|
|
|
|
|
import android.os.Parcelable |
|
|
|
import android.os.Parcelable |
|
|
|
import androidx.room.Entity |
|
|
|
import androidx.room.Entity |
|
|
|
|
|
|
|
import androidx.room.Index |
|
|
|
import androidx.room.PrimaryKey |
|
|
|
import androidx.room.PrimaryKey |
|
|
|
import kotlinx.android.parcel.Parcelize |
|
|
|
import kotlinx.android.parcel.Parcelize |
|
|
|
|
|
|
|
|
|
|
|
@Parcelize |
|
|
|
@Parcelize |
|
|
|
@Entity(tableName = "rssSources") |
|
|
|
@Entity(tableName = "rssSources", indices = [(Index(value = ["sourceUrl"], unique = false))]) |
|
|
|
data class RssSource( |
|
|
|
data class RssSource( |
|
|
|
@PrimaryKey |
|
|
|
@PrimaryKey |
|
|
|
var sourceUrl: String = "", |
|
|
|
var sourceUrl: String = "", |
|
|
|