Skip to content

Commit

Permalink
Notat støtte for privat avtale (#467)
Browse files Browse the repository at this point in the history
  • Loading branch information
ugur93 authored Feb 24, 2025
1 parent f139c7a commit a9b2d5b
Showing 1 changed file with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ data class VedtakNotatDto(
val gebyr: List<NotatGebyrRolleDto>? = null,
var underholdskostnader: NotatUnderholdDto? = null,
val personer: List<NotatPersonDto>,
val privatavtale: List<NotatPrivatAvtaleDto>,
val roller: List<NotatPersonDto> = personer,
val inntekter: NotatInntekterDto,
val vedtak: NotatVedtakDetaljerDto,
Expand Down Expand Up @@ -756,4 +757,24 @@ data class NotatResultatBeregningInntekterDto(
val inntektBarnMånedlig get() = inntektBarn?.divide(BigDecimal(12), MathContext(10, RoundingMode.HALF_UP))
}

data class NotatPrivatAvtaleDto(
val gjelderBarn: NotatPersonDto,
val avtaleDato: LocalDate?,
val skalIndeksreguleres: Boolean,
val begrunnelse: NotatBegrunnelseDto? = null,
val perioder: List<NotatPrivatAvtalePeriodeDto> = emptyList(),
val beregnetPrivatAvtalePerioder: List<NotatBeregnetPrivatAvtalePeriodeDto> = emptyList(),
)

data class NotatPrivatAvtalePeriodeDto(
val periode: DatoperiodeDto,
val beløp: BigDecimal,
)

data class NotatBeregnetPrivatAvtalePeriodeDto(
val periode: DatoperiodeDto,
val indeksfaktor: BigDecimal,
val beløp: BigDecimal,
)

typealias NotatResultatForskuddBeregningBarnListe = List<NotatResultatForskuddBeregningBarnDto>

0 comments on commit a9b2d5b

Please sign in to comment.