Skip to content

Commit

Permalink
Feature/json alias barnetillegg (#382)
Browse files Browse the repository at this point in the history
* Renamet grunnlagstype barnetilsyn med stønad

* Lagt til jsonalias for Inntektstype BARNETILLEGG_PENSJON
  • Loading branch information
rinnan17 authored Dec 10, 2024
1 parent dce07c6 commit 1766df3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package no.nav.bidrag.domene.enums.inntekt

import com.fasterxml.jackson.annotation.JsonAlias
import io.swagger.v3.oas.annotations.media.Schema

@Schema(enumAsRef = true)
Expand All @@ -21,6 +22,7 @@ enum class Inntektstype {
BARNETILSYN, // Ytelse fra offentlig

// BARNETILLEGG
@JsonAlias("PENSJON")
BARNETILLEGG_PENSJON,
BARNETILLEGG_UFØRETRYGD,
BARNETILLEGG_DAGPENGER,
Expand Down

0 comments on commit 1766df3

Please sign in to comment.