Skip to content

Commit 57f9670

Browse files
committed
Add timestamp to be visible in fault type
1 parent 61b8f88 commit 57f9670

5 files changed

Lines changed: 284 additions & 19 deletions

File tree

backend/src/main/java/com/apexgrid/transformertracker/model/Inspection.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,14 @@ public class Inspection {
9999
@Column(name = "recentstatushistory", columnDefinition = "text")
100100
private String recentStatusHistory;
101101

102+
// Per-box timestamps (ISO-8601) aligned with boundingBoxes order
103+
@Column(name = "boxcreatedat", columnDefinition = "text")
104+
private String boxCreatedAt;
105+
106+
// History of per-box created-at arrays aligned with boundingBoxHistory snapshots
107+
@Column(name = "boxcreatedathistory", columnDefinition = "text")
108+
private String boxCreatedAtHistory;
109+
102110

103111
public String getId() { return id; }
104112
public void setId(String id) { this.id = id; }
@@ -184,4 +192,10 @@ public class Inspection {
184192

185193
public String getRecentStatusHistory() { return recentStatusHistory; }
186194
public void setRecentStatusHistory(String recentStatusHistory) { this.recentStatusHistory = recentStatusHistory; }
195+
196+
public String getBoxCreatedAt() { return boxCreatedAt; }
197+
public void setBoxCreatedAt(String boxCreatedAt) { this.boxCreatedAt = boxCreatedAt; }
198+
199+
public String getBoxCreatedAtHistory() { return boxCreatedAtHistory; }
200+
public void setBoxCreatedAtHistory(String boxCreatedAtHistory) { this.boxCreatedAtHistory = boxCreatedAtHistory; }
187201
}

0 commit comments

Comments
 (0)