135 |
135 |
136 sent_to = models.ManyToManyField(User, related_name = "%(class)s_sent_to", blank = False) |
136 sent_to = models.ManyToManyField(User, related_name = "%(class)s_sent_to", blank = False) |
137 sent_by = models.ForeignKey(User, related_name = "%(class)s_sent_by", blank = False) |
137 sent_by = models.ForeignKey(User, related_name = "%(class)s_sent_by", blank = False) |
138 role = models.CharField(max_length = 2, blank = False) |
138 role = models.CharField(max_length = 2, blank = False) |
139 reply = models.BooleanField(default = False) |
139 reply = models.BooleanField(default = False) |
|
140 remarks = models.TextField(default = "",blank = True) |
140 is_read = models.BooleanField(default = False) |
141 is_read = models.BooleanField(default = False) |
141 creation_date = models.DateTimeField() |
142 creation_date = models.DateTimeField() |
142 reply_date = models.DateTimeField() |
143 reply_date = models.DateTimeField() |
143 is_replied = models.BooleanField(default = False) |
144 is_replied = models.BooleanField(default = False) |
144 replied_by = models.ForeignKey(User, related_name = "%(class)s_replied_by", blank = True, null = True) |
145 replied_by = models.ForeignKey(User, related_name = "%(class)s_replied_by", blank = True, null = True) |