完成了添加学生接口的自动生成studentno功能

This commit is contained in:
wolin_liyujie
2026-09-21 19:28:15 +08:00
parent 8b0cdbdb10
commit 30e6af308d
4 changed files with 31 additions and 14 deletions
+1 -1
View File
@@ -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')