from datetime import datetime
from flask_jwt import current_identity
from app.extensions import db


class CRUDMixin:

    def save(self):
        db.session.add(self)
        db.session.commit()
        return self

    def delete(self):
        db.session.delete(self)
        db.session.commit()
        return self

88db83cdda6b234ad3496e71e3608b29951b652e
<mask token>

<mask token>


class CRUDMixin:
    <mask token>
    <mask token>

<mask token>


class CRUDMixin:

    def save(self):
        db.session.add(self)
        db.session.commit()
        return self
    <mask token>

<mask token>


class CRUDMixin:

    def save(self):
        db.session.add(self)
        db.session.commit()
        return self

    def delete(self):
        db.session.delete(self)
        db.session.commit()
        return self

from datetime import datetime
from flask_jwt import current_identity
from app.extensions import db


class CRUDMixin:

    def save(self):
        db.session.add(self)
        db.session.commit()
        return self

    def delete(self):
        db.session.delete(self)
        db.session.commit()
        return self
