From 33cefae17a45373c7d11f74af01902efe1c057fa Mon Sep 17 00:00:00 2001 From: Magnus Rinnan <44389619+rinnan17@users.noreply.github.com> Date: Wed, 2 Oct 2024 12:00:46 +0200 Subject: [PATCH] =?UTF-8?q?Endringer=20for=20=C3=A5=20hente=20inn=20grunnl?= =?UTF-8?q?ag=20tilleggsst=C3=B8nad=20(#267)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../behandling/grunnlag/response/HentGrunnlagDto.kt | 2 +- .../response/Tilleggsst\303\270nadGrunnlagDto.kt" | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 "bidrag-transport/src/main/kotlin/no/nav/bidrag/transport/behandling/grunnlag/response/Tilleggsst\303\270nadGrunnlagDto.kt" diff --git a/bidrag-transport/src/main/kotlin/no/nav/bidrag/transport/behandling/grunnlag/response/HentGrunnlagDto.kt b/bidrag-transport/src/main/kotlin/no/nav/bidrag/transport/behandling/grunnlag/response/HentGrunnlagDto.kt index 5933f00..d628638 100644 --- a/bidrag-transport/src/main/kotlin/no/nav/bidrag/transport/behandling/grunnlag/response/HentGrunnlagDto.kt +++ b/bidrag-transport/src/main/kotlin/no/nav/bidrag/transport/behandling/grunnlag/response/HentGrunnlagDto.kt @@ -34,7 +34,7 @@ data class HentGrunnlagDto( "Indikator på om person mottar eller har mottatt tilleggsstønad til barnetilsyn i " + "enten Arena eller tilleggsstonader-sak. Responsen skal utvides med periode og beløp senere", ) - val tilleggsstønadBarnetilsyn: Boolean, + val tilleggsstønadBarnetilsynListe: List, @Schema(description = "Liste over evt. feil rapportert under henting av grunnlag") val feilrapporteringListe: List, val hentetTidspunkt: LocalDateTime, diff --git "a/bidrag-transport/src/main/kotlin/no/nav/bidrag/transport/behandling/grunnlag/response/Tilleggsst\303\270nadGrunnlagDto.kt" "b/bidrag-transport/src/main/kotlin/no/nav/bidrag/transport/behandling/grunnlag/response/Tilleggsst\303\270nadGrunnlagDto.kt" new file mode 100644 index 0000000..e82b0b5 --- /dev/null +++ "b/bidrag-transport/src/main/kotlin/no/nav/bidrag/transport/behandling/grunnlag/response/Tilleggsst\303\270nadGrunnlagDto.kt" @@ -0,0 +1,10 @@ +package no.nav.bidrag.transport.behandling.grunnlag.response + +import io.swagger.v3.oas.annotations.media.Schema + +data class TilleggsstønadGrunnlagDto( + @Schema(description = "Id til personen som mottar tilleggsstønaden") + val partPersonId: String, + @Schema(description = "Indikator som viser om en person mottar tilleggsstønad") + val harInnvilgetVedtak: Boolean, +)