<s> from comport . database import ( Column , db , Model , SurrogatePK ) <EOL> class ChartBlock ( SurrogatePK , Model ) : <EOL> __tablename__ = '<STR_LIT>' <EOL> department_id = Column ( db . Integer , db . ForeignKey ( '<STR_LIT>' ) , nullable = False ) <EOL> title = Column ( db . String ( <NUM_LIT:255> ) , unique = False , nullable = False ) <EOL> caption = Column ( db . String ( <NUM_LIT:255> ) , unique = False , nullable = True ) <EOL> slug = Column ( db . String ( <NUM_LIT:255> ) , unique = False , nullable = False ) <EOL> dataset = Column ( db . String ( <NUM_LIT:255> ) , unique = False , nullable = False ) <EOL> content = Column ( db . Text , unique = False , nullable = True ) <EOL> date_updated = Column ( db . DateTime , nullable = True ) <EOL> date_edited = Column ( db . DateTime , nullable = True ) <EOL> def __init__ ( self , ** kwargs ) : <EOL> db . Model . __init__ ( self , ** kwargs ) </s>
