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:
dankito 2020-09-19 01:37:24 +02:00
parent f4128a2875
commit 4ae4609ffb
1 changed files with 4 additions and 0 deletions

View File

@ -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
) { ) {