Files
1/model/wl_score_model.py
T
2026-09-12 20:55:36 +08:00

13 lines
338 B
Python

from sqlalchemy import Column, Integer, Float
from database import Base
class Score(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="成绩")