add config for print
This commit is contained in:
@@ -285,6 +285,10 @@ open class Plant : BaseModel() {
|
||||
this.clear()
|
||||
this.putAll(p.prefixes ?: emptyMap())
|
||||
}
|
||||
this.print?.apply {
|
||||
this.clear()
|
||||
this.putAll(p.print ?: emptyMap())
|
||||
}
|
||||
this.save()
|
||||
}
|
||||
|
||||
@@ -292,6 +296,8 @@ open class Plant : BaseModel() {
|
||||
var plantName: String = ""
|
||||
var plantOriginalName: String? = ""
|
||||
|
||||
@DbJsonB
|
||||
var print: MutableMap<String, String>? = mutableMapOf()
|
||||
@DbJsonB
|
||||
var prefixes: MutableMap<String, String>? = mutableMapOf()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user