feat: update medical training case and auth modules
This commit is contained in:
+3
-6
@@ -129,15 +129,12 @@ class TeacherStudentRelation(BaseModel):
|
||||
|
||||
|
||||
class Institution(BaseModel):
|
||||
"""医院/学校表"""
|
||||
TYPE_CHOICES = [
|
||||
('hospital', '医院'),
|
||||
('school', '学校'),
|
||||
]
|
||||
"""医疗机构表"""
|
||||
|
||||
id = models.BigAutoField(primary_key=True)
|
||||
code = models.CharField('机构编码', max_length=100, unique=True)
|
||||
name = models.CharField('名称', max_length=255)
|
||||
type = models.CharField('类型', max_length=30, choices=TYPE_CHOICES)
|
||||
type = models.CharField('类型', max_length=30, default='hospital', blank=True)
|
||||
level = models.CharField('等级', max_length=30, blank=True)
|
||||
province = models.CharField('省份', max_length=50, blank=True)
|
||||
city = models.CharField('城市', max_length=50, blank=True)
|
||||
|
||||
Reference in New Issue
Block a user