Skip to content

Commit

Permalink
TFP-4438 Utvider BeregningsgrunnlagDto med seksAvDeTiBeste som fortel… (
Browse files Browse the repository at this point in the history
#436)

TFP-4438 Utvider BeregningsgrunnlagDto med seksAvDeTiBeste som forteller om saken ble besteberegnet eller beregnet etter ordinære regler.
  • Loading branch information
AnjaAalerud authored Apr 24, 2023
1 parent 49b28ce commit c54ac5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ public record BeregningsgrunnlagDto(@NotNull @Valid @Size(min = 1) List<Aktivite
@NotNull @Valid HjemmelDto hjemmel,
@Valid @Digits(integer = 8, fraction = 2) @DecimalMin("0.00") @DecimalMax("10000000.00") BigDecimal grunnbeløp,
@Valid @NotNull @Size(min = 1) List<BeregningsgrunnlagPeriodeDto> beregningsgrunnlagperioder,
@Valid boolean erBesteberegnet) {
@Valid boolean erBesteberegnet,
@NotNull @Valid boolean seksAvDeTiBeste) {
}
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ void testRoundtrip() throws JsonProcessingException {
new BgAndelArbeidsforholdDto(testIdent, testRef, BigDecimal.ZERO, BigDecimal.ZERO),
false))
)),
false,
false);

// Act
Expand Down

0 comments on commit c54ac5f

Please sign in to comment.