diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2020-03-03 08:38:30 +0000 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2020-03-03 08:38:40 +0000 |
commit | c7f9b3340944f58077747fcbd54ac721fd4cfc58 (patch) | |
tree | 4349326f15489998cb9151bf101e90c306fb5b11 /ctrack/caf/models.py | |
parent | eb9b5823265ed2641428b15fe406431c7a458c1c (diff) |
added extra fields to caf model
Diffstat (limited to 'ctrack/caf/models.py')
-rw-r--r-- | ctrack/caf/models.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ctrack/caf/models.py b/ctrack/caf/models.py index 59675e0..9f01739 100644 --- a/ctrack/caf/models.py +++ b/ctrack/caf/models.py @@ -1,6 +1,6 @@ from django.db import models -from ctrack.organisations.models import Organisation +from ctrack.organisations.models import Organisation, Person class Grading(models.Model): @@ -66,6 +66,10 @@ class CAF(models.Model): confidence_grading = models.ForeignKey(Grading, on_delete=models.CASCADE, blank=True, null=True, related_name="confidence_grading") file = models.ForeignKey(DocumentFile, on_delete=models.CASCADE, blank=True, null=True) + version = models.CharField(max_length=10, blank=True, null=True) + triage_review_date = models.DateField(blank=True, null=True) + triage_review_inspector = models.ForeignKey(Person, on_delete=models.CASCADE, blank=True, null=True) + comments = models.TextField(max_length=1000) class Meta: verbose_name = "CAF" |