diff --git a/bidrag-transport/src/main/kotlin/no/nav/bidrag/transport/notat/VedtakNotatDto.kt b/bidrag-transport/src/main/kotlin/no/nav/bidrag/transport/notat/VedtakNotatDto.kt index 0fddc0c..e7f9c1d 100644 --- a/bidrag-transport/src/main/kotlin/no/nav/bidrag/transport/notat/VedtakNotatDto.kt +++ b/bidrag-transport/src/main/kotlin/no/nav/bidrag/transport/notat/VedtakNotatDto.kt @@ -60,6 +60,7 @@ data class VedtakNotatDto( val gebyr: List? = null, var underholdskostnader: NotatUnderholdDto? = null, val personer: List, + val privatavtale: List, val roller: List = personer, val inntekter: NotatInntekterDto, val vedtak: NotatVedtakDetaljerDto, @@ -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 = emptyList(), + val beregnetPrivatAvtalePerioder: List = 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