CourseRegisterFieldPoolInfo 添加key值

FFIB 4 年之前
父节点
当前提交
795b75025e
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      registration/models.py

+ 1 - 0
registration/models.py

@@ -118,6 +118,7 @@ class CourseRegisterFieldPoolInfo(BaseModelMixin):
118 118
     # }
119 119
     field_type = models.CharField(_('field_type'), max_length=8, choices=FIELD_TYPE_TUPLE, default=INPUT, help_text='字段类型')
120 120
     field_name = models.CharField(_('field_name'), max_length=32, blank=True, null=True, help_text='字段名称')
121
+    field_key = models.CharField(_('field_key'), max_length=32, blank=True, null=True, help_text='字段键值')
121 122
     field_options = JSONField(_('field_options'), default=[], blank=True, null=True, help_text='字段选择')
122 123
 
123 124
     class Meta: