from flask_sqlalchemy import SQLAlchemy

db = SQLAlchemy()


class Package(db.Model):
    __tablename__ = 'packages'

    id = db.Column(db.Integer, primary_key=True)
    sender = db.Column(db.String(255))
    recipient = db.Column(db.String(255))
    origin = db.Column(db.String(255))
    destination = db.Column(db.String(255))
    express_shipping = db.Column(db.Boolean, default=False)
