first
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#学生考核成绩 圣国伟
|
||||
from sqlalchemy import Column, Integer, Float
|
||||
|
||||
from database import Base
|
||||
class StudentScore(Base):
|
||||
__tablename__ = "student_score"
|
||||
|
||||
stu_id = Column(Integer, primary_key=True, comment="学生编号")
|
||||
exam_order = Column(Integer, primary_key=True, comment="考核序次")
|
||||
score = Column(Float, nullable=False, comment="成绩")
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user