完成了添加学生接口的自动生成studentno功能
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ class Student(Base):
|
||||
, comment = '学生编号,自增主键'
|
||||
)
|
||||
student_no = Column(VARCHAR(50)
|
||||
, unique = True)
|
||||
,nullable = True)
|
||||
student_name = Column(VARCHAR(50))
|
||||
class_id = Column(Integer
|
||||
,ForeignKey('class_info_detail.id')
|
||||
|
||||
Reference in New Issue
Block a user