Skip to content

Commit

Permalink
update dto after afp-beholdning-api update
Browse files Browse the repository at this point in the history
  • Loading branch information
antonfofanov committed Feb 12, 2024
1 parent 9b06392 commit 856d8ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ import com.fasterxml.jackson.annotation.JsonProperty
import java.time.LocalDate

@JsonIgnoreProperties(ignoreUnknown = true)
data class AFPGrunnlagBeholdningPeriode(val pensjonsBeholdning: Int, @JsonProperty("fraOgMedDato") val fom: LocalDate)
data class AFPGrunnlagBeholdningPeriode(@JsonProperty("belop") val pensjonsBeholdning: Int, @JsonProperty("fraOgMedDato") val fom: LocalDate)
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package no.nav.tjenestepensjon.simulering.model.domain.popp

import com.fasterxml.jackson.annotation.JsonIgnoreProperties
import com.fasterxml.jackson.annotation.JsonProperty

@JsonIgnoreProperties(ignoreUnknown = true)
data class SimulerAFPBeholdningGrunnlagResponse(val pensjonsBeholdningsPeriodeListe: List<AFPGrunnlagBeholdningPeriode>)
data class SimulerAFPBeholdningGrunnlagResponse(@JsonProperty("afpBeholdningsgrunnlag") val pensjonsBeholdningsPeriodeListe: List<AFPGrunnlagBeholdningPeriode>)

0 comments on commit 856d8ce

Please sign in to comment.