Skip to content

Commit

Permalink
HarmfulFactor models - UUID
Browse files Browse the repository at this point in the history
  • Loading branch information
Wellheor1 committed Oct 25, 2023
1 parent 19bfa57 commit 338373a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clients/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1043,6 +1043,7 @@ class HarmfulFactor(models.Model):
title = models.CharField(max_length=255, help_text='Наименование')
description = models.CharField(max_length=255, help_text='Описание', blank=True, default=None, null=True)
template = models.ForeignKey(AssignmentTemplates, db_index=True, null=True, blank=True, default=None, on_delete=models.CASCADE)
cpp_key = models.UUIDField(null=True, blank=True, editable=False, help_text="UUID, с справочника", db_index=True)

class Meta:
verbose_name = 'Фактор вредности'
Expand Down

0 comments on commit 338373a

Please sign in to comment.