This commit is contained in:
Alex committed 2025-01-30 11:38:00 +03:00
1 parent 2b52e67be6
commit d39edba55a
1 file changed
+1 -1
+1 -1
View File
@@ -32,7 +32,7 @@ class DictCompetencesType(models.Model):
class DictDepartment(models.Model): class DictDepartment(models.Model):
id = models.IntegerField(primary_key=True, db_comment='╥рсхы№э√щ эюьхЁ') id = models.PositiveIntegerField(primary_key=True, db_comment='╥рсхы№э√щ эюьхЁ')
id_curator = models.ForeignKey('DictEmployee', models.DO_NOTHING, db_column='id_curator', blank=True, null=True, db_comment='╚─ ъєЁрЄюЁр юЄфхыр', related_name='deps_curator') id_curator = models.ForeignKey('DictEmployee', models.DO_NOTHING, db_column='id_curator', blank=True, null=True, db_comment='╚─ ъєЁрЄюЁр юЄфхыр', related_name='deps_curator')
id_chief = models.ForeignKey('DictEmployee', models.DO_NOTHING, db_column='id_chief', related_name='dictdepartment_id_chief_set', blank=True, null=True, db_comment='╚─ эрўры№эшър юЄфхыр') id_chief = models.ForeignKey('DictEmployee', models.DO_NOTHING, db_column='id_chief', related_name='dictdepartment_id_chief_set', blank=True, null=True, db_comment='╚─ эрўры№эшър юЄфхыр')
name = models.CharField(max_length=500, db_comment='═рчтрэшх юЄфхыр') name = models.CharField(max_length=500, db_comment='═рчтрэшх юЄфхыр')