Skip to content

Commit

Permalink
Rydder oppgave attribut som ikke skal brukes. (#1244)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsladek authored Jan 31, 2023
1 parent 235cd31 commit b46c140
Showing 1 changed file with 3 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
package no.nav.vedtak.felles.integrasjon.oppgave.v1;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;

import java.time.LocalDate;

@JsonIgnoreProperties(ignoreUnknown = true)
public record Oppgave(Long id,
Expand All @@ -24,13 +20,6 @@ public record Oppgave(Long id,
LocalDate aktivDato,
Prioritet prioritet,
Oppgavestatus status,
String beskrivelse,
@JsonDeserialize(using = LocalOffsetDateTimeFormatter.class) LocalDateTime opprettetTidspunkt) {

private static class LocalOffsetDateTimeFormatter extends LocalDateTimeDeserializer {
public LocalOffsetDateTimeFormatter() {
super(DateTimeFormatter.ISO_OFFSET_DATE_TIME);
}
}
String beskrivelse) {

}

0 comments on commit b46c140

Please sign in to comment.