File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
src/main/java/io/securecodebox/persistence/defectdojo/model Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1111import io .securecodebox .persistence .defectdojo .exception .PersistenceException ;
1212import lombok .*;
1313
14- import java .time .LocalDateTime ;
14+ import java .time .OffsetDateTime ;
1515import java .util .LinkedList ;
1616import java .util .List ;
1717import java .util .Map ;
@@ -101,10 +101,10 @@ public class Finding extends BaseModel {
101101 List <Long > endpoints = new LinkedList <>();
102102
103103 @ JsonProperty ("created" )
104- LocalDateTime createdAt ;
104+ OffsetDateTime createdAt ;
105105
106106 @ JsonProperty ("mitigated" )
107- LocalDateTime mitigatedAt ;
107+ OffsetDateTime mitigatedAt ;
108108
109109 @ JsonProperty ("accepted_risks" )
110110 List <RiskAcceptance > acceptedRisks ;
Original file line number Diff line number Diff line change 99import com .fasterxml .jackson .annotation .JsonProperty ;
1010import lombok .*;
1111
12- import java .time .LocalDateTime ;
12+ import java .time .OffsetDateTime ;
1313import java .util .Map ;
1414
1515@ Data
@@ -40,19 +40,19 @@ public class RiskAcceptance extends BaseModel {
4040 String acceptedBy ;
4141
4242 @ JsonProperty ("expiration_date" )
43- LocalDateTime expirationDate ;
43+ OffsetDateTime expirationDate ;
4444
4545 @ JsonProperty ("expiration_date_warned" )
46- LocalDateTime expirationDateWarned ;
46+ OffsetDateTime expirationDateWarned ;
4747
4848 @ JsonProperty ("expiration_date_handled" )
49- LocalDateTime expirationDateHandled ;
49+ OffsetDateTime expirationDateHandled ;
5050
5151 @ JsonProperty ("created" )
52- LocalDateTime createdAt ;
52+ OffsetDateTime createdAt ;
5353
5454 @ JsonProperty ("updated" )
55- LocalDateTime updatedAt ;
55+ OffsetDateTime updatedAt ;
5656
5757 @ JsonProperty
5858 Long owner ;
You can’t perform that action at this time.
0 commit comments