-
Notifications
You must be signed in to change notification settings - Fork 2
oppdater aksjonspunktdto #7456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
oppdater aksjonspunktdto #7456
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,27 +3,31 @@ | |
import java.time.LocalDateTime; | ||
import java.util.Set; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
|
||
import jakarta.validation.constraints.NotNull; | ||
|
||
import no.nav.foreldrepenger.behandlingslager.behandling.aksjonspunkt.AksjonspunktDefinisjon; | ||
import no.nav.foreldrepenger.behandlingslager.behandling.aksjonspunkt.AksjonspunktStatus; | ||
import no.nav.foreldrepenger.behandlingslager.behandling.aksjonspunkt.AksjonspunktType; | ||
import no.nav.foreldrepenger.behandlingslager.behandling.aksjonspunkt.VurderÅrsak; | ||
import no.nav.foreldrepenger.behandlingslager.behandling.vilkår.VilkårType; | ||
|
||
public class AksjonspunktDto { | ||
private AksjonspunktDefinisjon definisjon; | ||
private AksjonspunktStatus status; | ||
private String begrunnelse; | ||
private VilkårType vilkarType; | ||
private Boolean toTrinnsBehandling; | ||
private Boolean toTrinnsBehandlingGodkjent; | ||
private Set<VurderÅrsak> vurderPaNyttArsaker; | ||
private String besluttersBegrunnelse; | ||
private AksjonspunktType aksjonspunktType; | ||
private Boolean kanLoses; | ||
private Boolean erAktivt; | ||
private LocalDateTime fristTid; | ||
private LocalDateTime endretTidspunkt; | ||
private String endretAv; | ||
@NotNull private AksjonspunktDefinisjon definisjon; | ||
@NotNull private AksjonspunktStatus status; | ||
@Schema(nullable = true, requiredMode = Schema.RequiredMode.REQUIRED) private String begrunnelse; | ||
@Schema(nullable = true, requiredMode = Schema.RequiredMode.REQUIRED) private VilkårType vilkarType; | ||
@NotNull private Boolean toTrinnsBehandling; | ||
@Schema(nullable = true, requiredMode = Schema.RequiredMode.REQUIRED) private Boolean toTrinnsBehandlingGodkjent; | ||
@Schema(nullable = true, requiredMode = Schema.RequiredMode.REQUIRED) private Set<VurderÅrsak> vurderPaNyttArsaker; | ||
@Schema(nullable = true, requiredMode = Schema.RequiredMode.REQUIRED) private String besluttersBegrunnelse; | ||
@Schema(nullable = true, requiredMode = Schema.RequiredMode.REQUIRED) private AksjonspunktType aksjonspunktType; | ||
@NotNull private Boolean kanLoses; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. boolean ... There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Var slik. Kun lagt på annotasjoner |
||
@NotNull private Boolean erAktivt; | ||
@Schema(nullable = true, requiredMode = Schema.RequiredMode.REQUIRED) private LocalDateTime fristTid; | ||
@Schema(nullable = true, requiredMode = Schema.RequiredMode.REQUIRED) private LocalDateTime endretTidspunkt; | ||
@Schema(nullable = true, requiredMode = Schema.RequiredMode.REQUIRED) private String endretAv; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hvorfor alle REQUIRED? Kan man ikke ha en default for alt / klassen og markere der det er avvik. |
||
|
||
public void setDefinisjon(AksjonspunktDefinisjon definisjon) { | ||
this.definisjon = definisjon; | ||
|
@@ -136,4 +140,5 @@ public String getEndretAv() { | |
public void setEndretAv(String endretAv) { | ||
this.endretAv = endretAv; | ||
} | ||
|
||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aksjonspunktType er @NotNull - men om den brukes frontend er en annen sak.