2025-01-05 21:05:16 +08:00
|
|
|
from sqlalchemy import Column, Integer
|
2025-03-05 20:56:27 +08:00
|
|
|
from mooc.db.database import Base
|
2025-01-05 21:05:16 +08:00
|
|
|
|
|
|
|
|
|
|
|
class CustomReply(Base):
|
|
|
|
__tablename__ = 'custom_reply'
|
|
|
|
|
|
|
|
id = Column(Integer, primary_key=True, index=True)
|
|
|
|
rid = Column(Integer, nullable=False)
|
|
|
|
start1 = Column(Integer, nullable=False)
|
|
|
|
end1 = Column(Integer, nullable=False)
|
|
|
|
start2 = Column(Integer, nullable=False)
|
|
|
|
end2 = Column(Integer, nullable=False)
|