from yearplan import db
from datetime import datetime


class BaseModel(object):
    created_at = db.DateTimeField(default=datetime.now, required=True)
    updated_at = db.DateTimeField(default=datetime.now, required=True)
    alive = db.BooleanField(default=False, required=True)
    history = db.ListField()
    meta = {'allow_inheritance': True, 'indexes': ['-created_at', 'alive',
        '-updated_at'], 'ordering': ['-created_at']}

80b879d1028c2d1defae72b7402ca8c866907c38
<mask token>

<mask token>


class BaseModel(object):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>

<mask token>


class BaseModel(object):
    created_at = db.DateTimeField(default=datetime.now, required=True)
    updated_at = db.DateTimeField(default=datetime.now, required=True)
    alive = db.BooleanField(default=False, required=True)
    history = db.ListField()
    meta = {'allow_inheritance': True, 'indexes': ['-created_at', 'alive',
        '-updated_at'], 'ordering': ['-created_at']}

from yearplan import db
from datetime import datetime


class BaseModel(object):
    created_at = db.DateTimeField(default=datetime.now, required=True)
    updated_at = db.DateTimeField(default=datetime.now, required=True)
    alive = db.BooleanField(default=False, required=True)
    history = db.ListField()
    meta = {'allow_inheritance': True, 'indexes': ['-created_at', 'alive',
        '-updated_at'], 'ordering': ['-created_at']}
