Files
2026-03-31 14:41:56 -04:00

17 lines
379 B
Python

from banjo.models import Model, StringField, IntegerField
class SpottingEvent(Model):
make = StringField()
model = StringField()
color = StringField()
bodystyle = StringField()
location = StringField()
instances = IntegerField()
note = StringField(blank=True, null=True)
def __repr__(self):
rep = self.to_dict()
return rep