diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-05-29 16:21:22 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-05-29 16:21:22 +0100 |
commit | 3a6db2117ac430fab6ca20c4067ba60c030cd7f9 (patch) | |
tree | 885351fec3fdd459ab719515ac588bafb6749155 /ctrack/organisations/models.py | |
parent | a5ccd4b3a176fa8c0302000fd1f09b06c1a04ced (diff) |
added dft handle status
Diffstat (limited to 'ctrack/organisations/models.py')
-rw-r--r-- | ctrack/organisations/models.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ctrack/organisations/models.py b/ctrack/organisations/models.py index 2dd798c..270ebd6 100644 --- a/ctrack/organisations/models.py +++ b/ctrack/organisations/models.py @@ -184,6 +184,12 @@ class Stakeholder(models.Model): class IncidentReport(models.Model): + DFT_HANDLE_STATUS = ( + ("queued", "QUEUED"), + ("reviewing", "REVIEWING"), + ("waiting", "WAITING"), + ("completed", "COMPLETE"), + ) INCIDENT_TYPES = ( ("cyber", "Cyber"), ("non-cyber", "Non-Cyber"), @@ -245,3 +251,9 @@ class IncidentReport(models.Model): next_steps = models.TextField( verbose_name="Planned next steps", help_text="What are your planned next steps?" ) + dft_handle_status = models.CharField( + choices=DFT_HANDLE_STATUS, max_length=20, default="queued" + ) + + def __str__(self): + return f"{self.reporting_person} - {self.date_time_incident_reported}" |