Skip to content

Commit

Permalink
Allow null for Bruksperiode and Gyldighetsperiode
Browse files Browse the repository at this point in the history
  • Loading branch information
MalazAlkoj committed Sep 2, 2024
1 parent 5d4c8fe commit 9944a75
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/no/nav/syfo/aareg/Bruksperiode.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ import java.io.Serializable

@Suppress("SerialVersionUIDInSerializableClass")
data class Bruksperiode(
var fom: String,
var tom: String
var fom: String? = null,
var tom: String? = null
) : Serializable
4 changes: 2 additions & 2 deletions src/main/kotlin/no/nav/syfo/aareg/Gyldighetsperiode.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ import java.io.Serializable

@Suppress("SerialVersionUIDInSerializableClass")
data class Gyldighetsperiode(
var fom: String,
var tom: String
var fom: String? = null,
var tom: String? = null
) : Serializable

0 comments on commit 9944a75

Please sign in to comment.