예제 #1
0
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()
예제 #2
0
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()
예제 #3
0
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()
예제 #4
0
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()
예제 #5
0
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()
예제 #6
0
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()
예제 #7
0
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()