Added JsonIgnore
This commit is contained in:
parent
705740a0d0
commit
432e5016a9
|
@ -1,7 +1,9 @@
|
||||||
package net.codinux.banking.client.model.tan
|
package net.codinux.banking.client.model.tan
|
||||||
|
|
||||||
|
import net.codinux.banking.client.model.config.JsonIgnore
|
||||||
import net.codinux.banking.client.model.config.NoArgConstructor
|
import net.codinux.banking.client.model.config.NoArgConstructor
|
||||||
|
|
||||||
|
@Suppress("RUNTIME_ANNOTATION_NOT_SUPPORTED")
|
||||||
@NoArgConstructor
|
@NoArgConstructor
|
||||||
open class TanMethod(
|
open class TanMethod(
|
||||||
open val displayName: String,
|
open val displayName: String,
|
||||||
|
@ -11,6 +13,7 @@ open class TanMethod(
|
||||||
open val allowedTanFormat: AllowedTanFormat = AllowedTanFormat.Alphanumeric
|
open val allowedTanFormat: AllowedTanFormat = AllowedTanFormat.Alphanumeric
|
||||||
) {
|
) {
|
||||||
|
|
||||||
|
@get:JsonIgnore
|
||||||
open val isNumericTan: Boolean
|
open val isNumericTan: Boolean
|
||||||
get() = allowedTanFormat == AllowedTanFormat.Numeric
|
get() = allowedTanFormat == AllowedTanFormat.Numeric
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue