from mongoengine import Document
from mongoengine.fields import (
    FloatField,
    StringField,
    ListField,
    URLField,
    ObjectIdField,
)


class Shop(Document):
    meta = {"collection": "shop"}
    ID = ObjectIdField()
    name = StringField()
    address = StringField()
    website = URLField()


class Bike(Document):
    meta = {"collection": "bike"}
    ID = ObjectIdField()
    name = StringField()
    brand = StringField()
    year = StringField()
    size = ListField(StringField())
    wheel_size = FloatField()
    type = StringField()

[(13, 'mongoengine.fields.ObjectIdField', 'ObjectIdField', ([], {}), False, 'from mongoengine.fields import FloatField, StringField, ListField, URLField, ObjectIdField\n'), (14, 'mongoengine.fields.StringField', 'StringField', ([], {}), False, 'from mongoengine.fields import FloatField, StringField, ListField, URLField, ObjectIdField\n'), (15, 'mongoengine.fields.StringField', 'StringField', ([], {}), False, 'from mongoengine.fields import FloatField, StringField, ListField, URLField, ObjectIdField\n'), (16, 'mongoengine.fields.URLField', 'URLField', ([], {}), False, 'from mongoengine.fields import FloatField, StringField, ListField, URLField, ObjectIdField\n'), (21, 'mongoengine.fields.ObjectIdField', 'ObjectIdField', ([], {}), False, 'from mongoengine.fields import FloatField, StringField, ListField, URLField, ObjectIdField\n'), (22, 'mongoengine.fields.StringField', 'StringField', ([], {}), False, 'from mongoengine.fields import FloatField, StringField, ListField, URLField, ObjectIdField\n'), (23, 'mongoengine.fields.StringField', 'StringField', ([], {}), False, 'from mongoengine.fields import FloatField, StringField, ListField, URLField, ObjectIdField\n'), (24, 'mongoengine.fields.StringField', 'StringField', ([], {}), False, 'from mongoengine.fields import FloatField, StringField, ListField, URLField, ObjectIdField\n'), (26, 'mongoengine.fields.FloatField', 'FloatField', ([], {}), False, 'from mongoengine.fields import FloatField, StringField, ListField, URLField, ObjectIdField\n'), (27, 'mongoengine.fields.StringField', 'StringField', ([], {}), False, 'from mongoengine.fields import FloatField, StringField, ListField, URLField, ObjectIdField\n'), (25, 'mongoengine.fields.StringField', 'StringField', ([], {}), False, 'from mongoengine.fields import FloatField, StringField, ListField, URLField, ObjectIdField\n')]