Source code for timApp.slide.slidestatus
from timApp.timdb.sqa import db
[docs]class SlideStatus(db.Model):
__tablename__ = "slide_status"
doc_id = db.Column(db.Integer, db.ForeignKey("block.id"), primary_key=True)
status = db.Column(db.Text, nullable=False)
def __init__(self, doc_id, status):
self.doc_id = doc_id
self.status = status