text
This commit is contained in:
@@ -8,10 +8,10 @@ class Student_Model(Base):
|
||||
, primary_key=True
|
||||
, autoincrement=True
|
||||
,comment='学生编号')
|
||||
# class_id=Column(Integer
|
||||
# ,ForeignKey('wl_class.class_id')
|
||||
# ,nullable=False
|
||||
# ,comment='班级编号')
|
||||
class_id=Column(Integer
|
||||
,ForeignKey('wl_class.class_id')
|
||||
,nullable=False
|
||||
,comment='班级编号')
|
||||
stu_name=Column(String(100),comment='学生姓名')
|
||||
age=Column(Integer,comment='年龄')
|
||||
gender=Column(String(50),comment='性别')
|
||||
|
||||
Reference in New Issue
Block a user