Skip to content

Commit

Permalink
Legg til opprinneligVedtakstype notat (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
ugur93 authored Aug 16, 2024
1 parent 29ac402 commit a04cda1
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ enum class NotatMalType {
data class NotatBehandlingDetaljerDto(
valknadstype: String?,
val vedtakstype: Vedtakstype?,
val opprinneligVedtakstype: Vedtakstype? = null,
val kategori: NotatSærbidragKategoriDto? = null,
valktAv: SøktAvType?,
val mottattDato: LocalDate?,
Expand All @@ -74,6 +75,9 @@ data class NotatBehandlingDetaljerDto(
} else {
kategori?.kategori?.visningsnavn?.intern
}

@get:Schema(name = "vedtakstypeVisningsnavn")
val vedtakstypeVisningsnavn get() = vedtakstype?.visningsnavnIntern(opprinneligVedtakstype)
}

data class NotatSærbidragUtgifterDto(
Expand Down

0 comments on commit a04cda1

Please sign in to comment.