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

[((8, 9, 8, 48), 'app.extensions.db.Column', 'db.Column', (), '', False, 'from app.extensions import db\n'), ((10, 14, 10, 35), 'app.extensions.db.Column', 'db.Column', ({(10, 24, 10, 34): 'db.Integer'}, {}), '(db.Integer)', False, 'from app.extensions import db\n'), ((11, 11, 11, 31), 'app.extensions.db.Column', 'db.Column', ({(11, 21, 11, 30): 'db.String'}, {}), '(db.String)', False, 'from app.extensions import db\n'), ((14, 15, 14, 36), 'app.extensions.db.Column', 'db.Column', ({(14, 25, 14, 35): 'db.Integer'}, {}), '(db.Integer)', False, 'from app.extensions import db\n'), ((9, 38, 9, 96), 'app.extensions.db.ForeignKey', 'db.ForeignKey', ({(9, 52, 9, 95): '"""mms_now_submissions.application.messageid"""'}, {}), "('mms_now_submissions.application.messageid')", False, 'from app.extensions import db\n'), ((12, 30, 12, 47), 'app.extensions.db.Numeric', 'db.Numeric', ({(12, 41, 12, 43): '14', (12, 45, 12, 46): '2'}, {}), '(14, 2)', False, 'from app.extensions import db\n'), ((13, 29, 13, 46), 'app.extensions.db.Numeric', 'db.Numeric', ({(13, 40, 13, 42): '14', (13, 44, 13, 45): '2'}, {}), '(14, 2)', False, 'from app.extensions import db\n')]