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, 'app.extensions.db.Column', 'db.Column', False, 'from app.extensions import db\n'), (10, 'app.extensions.db.Column', 'db.Column', False, 'from app.extensions import db\n'), (11, 'app.extensions.db.Column', 'db.Column', False, 'from app.extensions import db\n'), (14, 'app.extensions.db.Column', 'db.Column', False, 'from app.extensions import db\n'), (9, 'app.extensions.db.ForeignKey', 'db.ForeignKey', False, 'from app.extensions import db\n'), (12, 'app.extensions.db.Numeric', 'db.Numeric', False, 'from app.extensions import db\n'), (13, 'app.extensions.db.Numeric', 'db.Numeric', False, 'from app.extensions import db\n')]