|
|
@ -99,7 +99,7 @@ data class Book( |
|
|
|
@ColumnInfo(defaultValue = "0") |
|
|
|
@ColumnInfo(defaultValue = "0") |
|
|
|
var originOrder: Int = 0, |
|
|
|
var originOrder: Int = 0, |
|
|
|
// 自定义书籍变量信息(用于书源规则检索书籍信息) |
|
|
|
// 自定义书籍变量信息(用于书源规则检索书籍信息) |
|
|
|
var variable: String? = null, |
|
|
|
override var variable: String? = null, |
|
|
|
var readConfig: ReadConfig? = null |
|
|
|
var readConfig: ReadConfig? = null |
|
|
|
) : Parcelable, BaseBook { |
|
|
|
) : Parcelable, BaseBook { |
|
|
|
|
|
|
|
|
|
|
@ -142,11 +142,6 @@ data class Book( |
|
|
|
GSON.fromJsonObject<HashMap<String, String>>(variable).getOrNull() ?: hashMapOf() |
|
|
|
GSON.fromJsonObject<HashMap<String, String>>(variable).getOrNull() ?: hashMapOf() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
override fun putVariable(key: String, value: String?) { |
|
|
|
|
|
|
|
super.putVariable(key, value) |
|
|
|
|
|
|
|
variable = GSON.toJson(variableMap) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Ignore |
|
|
|
@Ignore |
|
|
|
@IgnoredOnParcel |
|
|
|
@IgnoredOnParcel |
|
|
|
override var infoHtml: String? = null |
|
|
|
override var infoHtml: String? = null |
|
|
|