from app.api.utils.models_mixins import Base
from app.extensions import db


class MMSSurfaceBulkSampleActivity(Base):
    __tablename__ = "surface_bulk_sample_activity"
    __table_args__ = {"schema": "mms_now_submissions"}
    id = db.Column(db.Integer, primary_key=True)
    messageid = db.Column(db.Integer, db.ForeignKey('mms_now_submissions.application.messageid'))
    mms_cid = db.Column(db.Integer)
    type = db.Column(db.String)
    disturbedarea = db.Column(db.Numeric(14, 2))
    timbervolume = db.Column(db.Numeric(14, 2))
    quantity = db.Column(db.Integer)
    
    def __repr__(self):
        return '<MMSSurfaceBulkSampleActivity %r>' % self.id

[((234, 273), 'app.extensions.db.Column', 'db.Column', (['db.Integer'], {'primary_key': '(True)'}), '(db.Integer, primary_key=True)\n', (243, 273), False, 'from app.extensions import db\n'), ((386, 407), 'app.extensions.db.Column', 'db.Column', (['db.Integer'], {}), '(db.Integer)\n', (395, 407), False, 'from app.extensions import db\n'), ((419, 439), 'app.extensions.db.Column', 'db.Column', (['db.String'], {}), '(db.String)\n', (428, 439), False, 'from app.extensions import db\n'), ((552, 573), 'app.extensions.db.Column', 'db.Column', (['db.Integer'], {}), '(db.Integer)\n', (561, 573), False, 'from app.extensions import db\n'), ((312, 370), 'app.extensions.db.ForeignKey', 'db.ForeignKey', (['"""mms_now_submissions.application.messageid"""'], {}), "('mms_now_submissions.application.messageid')\n", (325, 370), False, 'from app.extensions import db\n'), ((470, 487), 'app.extensions.db.Numeric', 'db.Numeric', (['(14)', '(2)'], {}), '(14, 2)\n', (480, 487), False, 'from app.extensions import db\n'), ((518, 535), 'app.extensions.db.Numeric', 'db.Numeric', (['(14)', '(2)'], {}), '(14, 2)\n', (528, 535), False, 'from app.extensions import db\n')]