# Path: database.py
# def get_session():
# def teardown_session(exception):


from database import TableBase, Column, ForeignKey, INTEGER, VARCHAR


class FeatureOfficial(TableBase):
    __tablename__ = 'parts_seq_features'

    feature_id = Column(INTEGER(11), primary_key=True)
    feature_type = Column(VARCHAR(200))
    start_pos = Column(INTEGER(11))
    end_pos = Column(INTEGER(11))
    label = Column(VARCHAR(200))
    part_id = Column(INTEGER(11), ForeignKey('parts.part_id'))
    type = Column(VARCHAR(200))
    label2 = Column(VARCHAR(200))

# Path: database.py
# def get_session():
# def teardown_session(exception):


# Path: plugins/biobrick_manager/FeatureOfficial.py
from database import TableBase, Column, ForeignKey, INTEGER, VARCHAR



class FeatureOfficial(TableBase):
    __tablename__ = 'parts_seq_features'

    feature_id = Column(INTEGER(11), primary_key=True)
    feature_type = Column(VARCHAR(200))
    start_pos = Column(INTEGER(11))
    end_pos = Column(INTEGER(11))
    label = Column(VARCHAR(200))
    part_id = Column(INTEGER(11), ForeignKey('parts.part_id'))
    type = Column(VARCHAR(200))
    label2 = Column(VARCHAR(200))

    mark = Column(INTEGER(11))