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-13 18:20:37 +08:00
|
|
|
__tablename__ = "wl_score"
|
2026-09-12 16:30:43 +08:00
|
|
|
|
|
|
|
|
stu_id = Column(Integer, primary_key=True, comment="学生编号")
|
|
|
|
|
exam_order = Column(Integer, primary_key=True, comment="考核序次")
|
|
|
|
|
score = Column(Float, nullable=False, comment="成绩")
|
|
|
|
|
|
|
|
|
|
|