This commit is contained in:
maruizhi
2026-09-24 14:10:22 +08:00
parent a9d73c8578
commit a0bf614c77
27 changed files with 245 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
from sqlalchemy import Integer, Column, DateTime, Numeric, String
from util.database import Base
class Course(Base):
"""对应 Excel Sheet:课程表。"""
__tablename__ = "wl_course"
id = Column(Integer, primary_key=True, autoincrement=True)
course_number = Column(String(50))
name = Column(String(100))
planned_training_hours = Column(Numeric(8, 2))
created_at = Column(DateTime)
updated_at = Column(DateTime)
is_deleted = Column(default=False, nullable=False)