feat(tickets): 工单添加comment字段

This commit is contained in:
Bai
2020-09-07 19:36:05 +08:00
committed by 老广
parent 1b84afee0c
commit d944b5f4ff
3 changed files with 20 additions and 1 deletions

View File

@@ -40,6 +40,7 @@ class Ticket(OrgModelMixin, CommonModelMixin):
type = models.CharField(max_length=16, choices=TYPE.choices, default=TYPE.GENERAL, verbose_name=_("Type"))
status = models.CharField(choices=STATUS.choices, max_length=16, default='open')
action = models.CharField(choices=ACTION.choices, max_length=16, default='', blank=True)
comment = models.TextField(max_length=128, default='', blank=True, verbose_name=_('Comment'))
origin_objects = models.Manager()