Skip to content

Commit

Permalink
Sonarfiks
Browse files Browse the repository at this point in the history
  • Loading branch information
pekern committed Oct 13, 2023
1 parent 9aa9ad5 commit f2c8559
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;

public record TilkjentYtelseDagytelseDto(@Valid @NotNull TilkjentYtelsePeriodeDto[] perioder) {}
import java.util.List;

public record TilkjentYtelseDagytelseDto(@Valid @NotNull List<TilkjentYtelsePeriodeDto> perioder) {}
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
import jakarta.validation.constraints.NotNull;

import java.time.LocalDate;
import java.util.List;

public record TilkjentYtelsePeriodeDto(@NotNull LocalDate fom,
@NotNull LocalDate tom,
Integer dagsats,
@Valid @NotNull TilkjentYtelseAndelDto[] andeler) {}
@Valid List<TilkjentYtelseAndelDto> andeler) {}

0 comments on commit f2c8559

Please sign in to comment.