Skip to content

Commit

Permalink
Lagt til stønadstype i BeregnGrunnlag-objektet (#460)
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsOttoHaugen authored Feb 19, 2025
1 parent cdf26d2 commit 8db2af9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
package no.nav.bidrag.transport.behandling.beregning.felles

import io.swagger.v3.oas.annotations.media.Schema
import no.nav.bidrag.domene.enums.vedtak.Stønadstype
import no.nav.bidrag.domene.tid.ÅrMånedsperiode
import no.nav.bidrag.transport.behandling.felles.grunnlag.GrunnlagDto

@Schema(description = "Grunnlaget for en beregning av barnebidrag, forskudd og særbidrag")
data class BeregnGrunnlag(
@Schema(description = "Beregningsperiode") val periode: ÅrMånedsperiode,
@Schema(description = "Om beregning skal opphøre siste periode") val opphørSistePeriode: Boolean = false,
@Schema(description = "Stønadstype som skal beregnes") val stønadstype: Stønadstype = Stønadstype.BIDRAG,
@Schema(description = "Referanse til Person-objekt som tilhører søknadsbarnet") valknadsbarnReferanse: String,
@Schema(description = "Periodisert liste over grunnlagselementer") val grunnlagListe: List<GrunnlagDto> = emptyList(),
)
Expand Down

0 comments on commit 8db2af9

Please sign in to comment.