Not persisting segmentNumber, referenceSegmentNumber and segmentString. We don't need them after restoring and make resulting JSON file much smaller
This commit is contained in:
parent
f4128a2875
commit
4ae4609ffb
|
@ -1,13 +1,17 @@
|
||||||
package net.dankito.banking.fints.response.segments
|
package net.dankito.banking.fints.response.segments
|
||||||
|
|
||||||
import net.dankito.banking.fints.messages.Separators
|
import net.dankito.banking.fints.messages.Separators
|
||||||
|
import kotlin.jvm.Transient
|
||||||
|
|
||||||
|
|
||||||
open class ReceivedSegment(
|
open class ReceivedSegment(
|
||||||
val segmentId: String,
|
val segmentId: String,
|
||||||
|
@Transient
|
||||||
val segmentNumber: Int,
|
val segmentNumber: Int,
|
||||||
val segmentVersion: Int,
|
val segmentVersion: Int,
|
||||||
|
@Transient
|
||||||
val referenceSegmentNumber: Int? = null,
|
val referenceSegmentNumber: Int? = null,
|
||||||
|
@Transient
|
||||||
val segmentString: String
|
val segmentString: String
|
||||||
) {
|
) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue