File tree 2 files changed +9
-9
lines changed
src/main/java/io/securecodebox/persistence/defectdojo/model
2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 11
11
import io .securecodebox .persistence .defectdojo .exception .PersistenceException ;
12
12
import lombok .*;
13
13
14
- import java .time .LocalDateTime ;
14
+ import java .time .OffsetDateTime ;
15
15
import java .util .LinkedList ;
16
16
import java .util .List ;
17
17
import java .util .Map ;
@@ -101,10 +101,10 @@ public class Finding extends BaseModel {
101
101
List <Long > endpoints = new LinkedList <>();
102
102
103
103
@ JsonProperty ("created" )
104
- LocalDateTime createdAt ;
104
+ OffsetDateTime createdAt ;
105
105
106
106
@ JsonProperty ("mitigated" )
107
- LocalDateTime mitigatedAt ;
107
+ OffsetDateTime mitigatedAt ;
108
108
109
109
@ JsonProperty ("accepted_risks" )
110
110
List <RiskAcceptance > acceptedRisks ;
Original file line number Diff line number Diff line change 9
9
import com .fasterxml .jackson .annotation .JsonProperty ;
10
10
import lombok .*;
11
11
12
- import java .time .LocalDateTime ;
12
+ import java .time .OffsetDateTime ;
13
13
import java .util .Map ;
14
14
15
15
@ Data
@@ -40,19 +40,19 @@ public class RiskAcceptance extends BaseModel {
40
40
String acceptedBy ;
41
41
42
42
@ JsonProperty ("expiration_date" )
43
- LocalDateTime expirationDate ;
43
+ OffsetDateTime expirationDate ;
44
44
45
45
@ JsonProperty ("expiration_date_warned" )
46
- LocalDateTime expirationDateWarned ;
46
+ OffsetDateTime expirationDateWarned ;
47
47
48
48
@ JsonProperty ("expiration_date_handled" )
49
- LocalDateTime expirationDateHandled ;
49
+ OffsetDateTime expirationDateHandled ;
50
50
51
51
@ JsonProperty ("created" )
52
- LocalDateTime createdAt ;
52
+ OffsetDateTime createdAt ;
53
53
54
54
@ JsonProperty ("updated" )
55
- LocalDateTime updatedAt ;
55
+ OffsetDateTime updatedAt ;
56
56
57
57
@ JsonProperty
58
58
Long owner ;
You can’t perform that action at this time.
0 commit comments