|
|
@ -14,17 +14,18 @@ import kotlinx.android.parcel.Parcelize |
|
|
|
@Parcelize |
|
|
|
@Parcelize |
|
|
|
@Entity(tableName = "searchBooks", indices = [(Index(value = ["descUrl"], unique = true))]) |
|
|
|
@Entity(tableName = "searchBooks", indices = [(Index(value = ["descUrl"], unique = true))]) |
|
|
|
data class SearchBook( |
|
|
|
data class SearchBook( |
|
|
|
@PrimaryKey |
|
|
|
@PrimaryKey |
|
|
|
var descUrl: String = "", |
|
|
|
var descUrl: String = "", |
|
|
|
var origin: String = "", // 书源规则id(默认-1,表示本地书籍) |
|
|
|
var origin: String = "", // 书源规则id(默认-1,表示本地书籍) |
|
|
|
var name: String? = null, |
|
|
|
var name: String? = null, |
|
|
|
var author: String? = null, |
|
|
|
var author: String? = null, |
|
|
|
var tag: String? = null, |
|
|
|
var tag: String? = null, |
|
|
|
var coverUrl: String? = null, |
|
|
|
var coverUrl: String? = null, |
|
|
|
var description: String? = null, |
|
|
|
var description: String? = null, |
|
|
|
var latestChapterTitle: String? = null, |
|
|
|
var latestChapterTitle: String? = null, |
|
|
|
var time: Long = 0L, |
|
|
|
var time: Long = 0L, |
|
|
|
var variable: String? = null |
|
|
|
var variable: String? = null, |
|
|
|
|
|
|
|
var bookInfoHtml: String? = null |
|
|
|
) : Parcelable, BaseBook { |
|
|
|
) : Parcelable, BaseBook { |
|
|
|
|
|
|
|
|
|
|
|
@IgnoredOnParcel |
|
|
|
@IgnoredOnParcel |
|
|
|