Skip to content

Commit

Permalink
Et par ekstra filer
Browse files Browse the repository at this point in the history
  • Loading branch information
jolarsen committed Dec 3, 2024
1 parent e01ac18 commit 571b082
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
package no.nav.foreldrepenger.kontrakter.formidling.v3;

import java.util.UUID;

import jakarta.validation.Valid;
import jakarta.validation.constraints.Digits;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Pattern;
import no.nav.foreldrepenger.kontrakter.formidling.kodeverk.Saksnummer;

import no.nav.foreldrepenger.kontrakter.formidling.kodeverk.DokumentMal;
import java.util.UUID;

/**
* Brukes til å kvittere tilbake til bestilleren at brevet ble produsert, journalført og distribuert.
Expand All @@ -17,6 +16,8 @@
* @param dokumentId - dokument id som identifiserer dokumentet i journalposten.
*/
public record DokumentKvitteringDto(@NotNull @Valid UUID behandlingUuid,

@Valid Saksnummer saksnummer,
@NotNull @Valid UUID dokumentbestillingUuid,
@NotNull @Pattern(regexp = "^[\\p{L}\\p{N}_.\\-]+$") String journalpostId,
@NotNull @Digits(integer = 12, fraction = 0) String dokumentId) {
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
package no.nav.foreldrepenger.kontrakter.risk.v1;

import java.util.UUID;

import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;

import no.nav.foreldrepenger.kontrakter.risk.kodeverk.RisikoklasseType;
import no.nav.foreldrepenger.kontrakter.risk.kodeverk.Saksnummer;

import java.util.UUID;

public record RisikovurderingCallbackDto(@NotNull UUID behandlingUuid, @NotNull RisikoklasseType risikoklasse) {
public record RisikovurderingCallbackDto(@NotNull UUID behandlingUuid,
@Valid Saksnummer saksnummer,
@NotNull RisikoklasseType risikoklasse) {
}

0 comments on commit 571b082

Please sign in to comment.