import datetime
from exts import db


class BaseModel(object):
    create_at = db.Column(db.DateTime, default=datetime.datetime.now)
    update_at = db.Column(db.DateTime, nullable=True, onupdate=datetime.
        datetime.now)

508ceb17ff8eb4bee86a4f40f08184c142f3fdf4
<mask token>

<mask token>


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

<mask token>


class BaseModel(object):
    create_at = db.Column(db.DateTime, default=datetime.datetime.now)
    update_at = db.Column(db.DateTime, nullable=True, onupdate=datetime.
        datetime.now)

import datetime
from exts import db


class BaseModel(object):
    create_at = db.Column(db.DateTime, default=datetime.datetime.now)
    update_at = db.Column(db.DateTime, nullable=True, onupdate=datetime.
        datetime.now)
