from common.database import db
from flask_restful import fields
order_fields = {'id': fields.Integer, 'order_reference': fields.String}


class Order(db.Model):
    __tablename__ = 'orders'
    id = db.Column('id', db.Integer, primary_key=True, autoincrement=True)
    order_reference = db.Column('order_reference', db.String(15))

e51580278be784f03918768b321c9a197e5b9e46
<mask token>


class Order(db.Model):
    <mask token>
    <mask token>
    <mask token>

<mask token>


class Order(db.Model):
    __tablename__ = 'orders'
    id = db.Column('id', db.Integer, primary_key=True, autoincrement=True)
    order_reference = db.Column('order_reference', db.String(15))

<mask token>
order_fields = {'id': fields.Integer, 'order_reference': fields.String}


class Order(db.Model):
    __tablename__ = 'orders'
    id = db.Column('id', db.Integer, primary_key=True, autoincrement=True)
    order_reference = db.Column('order_reference', db.String(15))

from common.database import db
from flask_restful import fields
order_fields = {'id': fields.Integer, 'order_reference': fields.String}


class Order(db.Model):
    __tablename__ = 'orders'
    id = db.Column('id', db.Integer, primary_key=True, autoincrement=True)
    order_reference = db.Column('order_reference', db.String(15))
