|
|
@ -2,11 +2,14 @@ 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.PrimaryKey |
|
|
|
import kotlinx.android.parcel.Parcelize |
|
|
|
import kotlinx.android.parcel.Parcelize |
|
|
|
|
|
|
|
|
|
|
|
@Parcelize |
|
|
|
@Parcelize |
|
|
|
@Entity(tableName = "rssSources") |
|
|
|
@Entity(tableName = "rssSources") |
|
|
|
data class RssSource( |
|
|
|
data class RssSource( |
|
|
|
var sourceName: String, |
|
|
|
var sourceName: String, |
|
|
|
|
|
|
|
@PrimaryKey |
|
|
|
|
|
|
|
var sourceUrl: String, |
|
|
|
var enabled: Boolean = true |
|
|
|
var enabled: Boolean = true |
|
|
|
) : Parcelable |
|
|
|
) : Parcelable |