src/main/kotlin/de/uapcore/lightpit/entities/IssueHistoryEntry.kt

changeset 241
1ca4f27cefe8
parent 239
9365c7fb0240
child 242
b7f3e972b13c
--- a/src/main/kotlin/de/uapcore/lightpit/entities/IssueHistoryEntry.kt	Sat Nov 27 11:04:23 2021 +0100
+++ b/src/main/kotlin/de/uapcore/lightpit/entities/IssueHistoryEntry.kt	Sat Nov 27 12:12:20 2021 +0100
@@ -39,10 +39,26 @@
     val subject: String,
     val description: String,
     val assignee: String,
-    val assigneeUsername: String,
     val eta: Date?,
     val affected: String,
     val resolved: String,
 )
 
-class IssueHistoryEntry(val time: Timestamp, val type: IssueHistoryType, val data: IssueHistoryData)
\ No newline at end of file
+class IssueCommentHistoryData(
+    val commentid: Int,
+    val comment: String
+)
+
+class IssueHistoryEntry(
+    val time: Timestamp,
+    val type: IssueHistoryType,
+    val currentAssignee: String?,
+    val data: IssueHistoryData
+)
+
+class IssueCommentHistoryEntry(
+    val time: Timestamp,
+    val type: IssueHistoryType,
+    val currentAssignee: String?,
+    val data: IssueCommentHistoryData
+)
\ No newline at end of file

mercurial