Skip to content

Commit

Permalink
r - Typesikrer krav.type fra String? til KravType?
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel.skarpas@nav.no
  • Loading branch information
MariamPervez committed May 23, 2024
1 parent cdbdaa4 commit 4fabee6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/no/nav/eessi/pensjon/eux/model/sed/Nav.kt
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ data class Nav(
data class Krav(
var dato: String? = null,
//P15000
val type: String? = null
val type: KravType? = null
)

@Suppress("unused") // val kode (jsonvalue) brukes av jackson
enum class KravType(val verdi: String?) {
enum class KravType(@JsonValue val verdi: String?) {
ALDER("01"),
GJENLEV("02"),
UFOREP("03");
Expand Down

0 comments on commit 4fabee6

Please sign in to comment.