Files
1/model/wl_score_model.py
T

13 lines
338 B
Python
Raw Normal View History

2026-09-12 20:55:36 +08:00
from sqlalchemy import Column, Integer, Float
2026-09-12 16:30:43 +08:00
from database import Base
2026-09-12 20:55:36 +08:00
class Score(Base):
2026-09-12 16:30:43 +08:00
__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="成绩")