class WhitePaper(db.Document): meta = {'collection': 'WhitePaper'} _id = db.ObjectIdField() title = db.StringField() brand = db.ListField() lc_mode = db.ListField() instrument_type = db.ListField() topic = db.ListField() industry = db.ListField()
class Notes(db.Document): meta = {'collection': 'Notes'} _id = db.ObjectIdField() number = db.StringField(required=True) title = db.StringField() brand = db.ListField() format_note = db.StringField() lc_mode = db.ListField() instrument_type = db.ListField() topic = db.ListField() industry = db.ListField()
class PostersPresentations(db.Document): meta = {'collection': 'PostersPresentations'} _id = db.ObjectIdField(required=True) conference = db.StringField(required=True) year = db.StringField(required=True) brand = db.ListField(required=True) industry = db.ListField(required=True) title = db.StringField(required=True) lc_mode = db.ListField() format = db.StringField() instrument_type = db.ListField() src = db.StringField()
class ProductLogos(db.Document): meta = {'collection': 'productlogos'} _id = db.StringField(primary_key=True) brand = db.StringField(required=True) logourl = db.StringField(required=True) path = db.StringField(requred=True) brandphases = db.ListField() layout = db.StringField()
class Nabvar(db.Document): meta = {'collection': 'Navbar'} _id = db.StringField(primary_key=True) title = db.StringField(required=True) component = db.StringField(required=False) active = db.BooleanField(required=True) isDropDown = db.BooleanField(required=True) DropdownItems = db.ListField()
class ApplicationGuides(db.Document): meta = {'collection': 'fs.files'} _id = db.ObjectIdField(required=True) md5 = db.StringField() filename = db.StringField(required=True) metadata = db.ListField() chunkSize = db.IntField() length = db.IntField() uploadDate = db.DateTimeField() belongsTo = db.StringField() contentType = db.StringField() form = db.StringField() daterecorded = db.DateTimeField() year = db.IntField()
class Orders(db.Document): meta = {'collection': 'orders'} _id = db.ObjectIdField() orderplaced = db.DateTimeField() companyname = db.StringField(required=True) companyaddress = db.StringField(required=True) city = db.StringField(required=True) state = db.StringField(required=True) zipcode = db.IntField() ccname = db.StringField(required=True) card = db.IntField() expiration = db.DateTimeField() ccv = db.IntField() subtotal = db.IntField() items = db.ListField()