test一轮完成的版本
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
#班级管理 熊浩钦
|
||||
from sqlalchemy import Column, Integer, DateTime
|
||||
from sqlalchemy.orm import relationship
|
||||
from sqlalchemy import Column, Integer, Date, String
|
||||
from database import Base
|
||||
|
||||
class WlClass(Base):
|
||||
__tablename__ = "wl_class"
|
||||
class_id = Column(Integer, primary_key=True, index=True, comment="班级编号")
|
||||
start_time = Column(DateTime, comment="开课时间")
|
||||
is_deleted = Column(Integer, default=0, comment="逻辑删除标记(0正常,1已删)")
|
||||
class Class_(Base):
|
||||
__tablename__ = "class_info"
|
||||
|
||||
class_id = Column(Integer, primary_key=True, autoincrement=True, comment="班级编号")
|
||||
start_time = Column(Date, comment="开课时间")
|
||||
Reference in New Issue
Block a user