You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: fp-topics/hendelser-behandling/src/main/java/no/nav/vedtak/hendelser/behandling/v1/BehandlingHendelseV1.java
+17
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,6 @@
1
1
packageno.nav.vedtak.hendelser.behandling.v1;
2
2
3
+
importjava.time.LocalDateTime;
3
4
importjava.util.UUID;
4
5
5
6
importjavax.validation.Valid;
@@ -48,6 +49,12 @@ public class BehandlingHendelseV1 extends BehandlingHendelse {
48
49
@JsonProperty("hendelse")
49
50
privateHendelsehendelse;
50
51
52
+
/**
53
+
* Tidspunkt for hendelse
54
+
*/
55
+
@JsonProperty("tidspunkt")
56
+
privateLocalDateTimetidspunkt;
57
+
51
58
/**
52
59
* Behandlingen gjelder bruker
53
60
*/
@@ -93,6 +100,11 @@ public Hendelse getHendelse() {
93
100
returnhendelse;
94
101
}
95
102
103
+
@Override
104
+
publicLocalDateTimegetTidspunkt() {
105
+
returntidspunkt;
106
+
}
107
+
96
108
publicAktørIdgetAktørId() {
97
109
returnaktørId;
98
110
}
@@ -136,6 +148,11 @@ public Builder medHendelse(Hendelse hendelse) {
Copy file name to clipboardexpand all lines: fp-topics/hendelser-behandling/src/test/java/no/nav/vedtak/hendelser/behandling/BehandlingHendelseV1Test.java
+8-5
Original file line number
Diff line number
Diff line change
@@ -23,12 +23,14 @@ public class BehandlingHendelseV1Test {
0 commit comments