-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
48 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
...main/java/no/nav/foreldrepenger/web/app/tjenester/fpoversikt/FpSakInntektsmeldingDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package no.nav.foreldrepenger.web.app.tjenester.fpoversikt; | ||
|
||
import java.math.BigDecimal; | ||
import java.time.LocalDate; | ||
import java.time.LocalDateTime; | ||
import java.util.List; | ||
|
||
import com.fasterxml.jackson.annotation.JsonInclude; | ||
|
||
import no.nav.foreldrepenger.domene.iay.modell.kodeverk.NaturalYtelseType; | ||
import no.nav.foreldrepenger.domene.typer.JournalpostId; | ||
|
||
@JsonInclude(JsonInclude.Include.NON_NULL) | ||
record FpSakInntektsmeldingDto(Boolean erAktiv, BigDecimal stillingsprosent, | ||
BigDecimal inntektPrMnd, | ||
BigDecimal refusjonPrMnd, | ||
String arbeidsgiverNavn, | ||
String arbeidsgiverIdent, | ||
String journalpostId, | ||
LocalDateTime mottattTidspunkt, | ||
LocalDate startDatoPermisjon, | ||
List<NaturalYtelse> bortfalteNaturalytelser, | ||
List<Refusjon> refusjonsperioder | ||
){ | ||
record NaturalYtelse( | ||
LocalDate fomDato, | ||
LocalDate tomDato, | ||
BigDecimal beløpPerMnd, | ||
NaturalYtelseType type | ||
) {} | ||
|
||
record Refusjon( | ||
BigDecimal refusjonsbeløpMnd, | ||
LocalDate fomDato | ||
) {} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters