05/11 Update issue's status, and inspector can changes issue's status
This commit is contained in:
@@ -15,6 +15,7 @@ final class LocalIssue {
|
||||
var facilityServerId: Int // facility this issue belongs to (replaces areaServerId)
|
||||
var severity: String // "low" | "medium" | "high" | "critical"
|
||||
var issueDescription: String
|
||||
var issueStatus: String = "open" // server status: "open" | "in_progress" | "resolved" | "pending_verification"
|
||||
var photoLocalPath: String? // local file path before upload
|
||||
var photoServerPath: String? // server path after upload
|
||||
|
||||
@@ -37,6 +38,7 @@ final class LocalIssue {
|
||||
self.facilityServerId = facilityServerId
|
||||
self.severity = severity
|
||||
self.issueDescription = description
|
||||
self.issueStatus = "open"
|
||||
self.photoLocalPath = nil
|
||||
self.photoServerPath = nil
|
||||
self.createdAt = Date()
|
||||
|
||||
Reference in New Issue
Block a user