import datetime
from app.index import db


class NoteTextModel(db.Model):
    """
    Creates a data access object for NoteTextModel
    This will hold the text value of a particular note
    """
    __tablename__ = 'note_text_model'
    id = db.Column(db.BigInteger, primary_key=True, autoincrement=True)
    value = db.Column(db.Text, nullable=False)
    timestamp = db.Column(db.DateTime, nullable=False)

    def __init__(self, **kwargs):
        self.value = kwargs['value']
        self.timestamp = datetime.datetime.utcnow()

4ef705dc60a9031d81d1dfbcedff29fa8d324daf
<mask token>


class NoteTextModel(db.Model):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>

    def __init__(self, **kwargs):
        self.value = kwargs['value']
        self.timestamp = datetime.datetime.utcnow()

<mask token>


class NoteTextModel(db.Model):
    <mask token>
    __tablename__ = 'note_text_model'
    id = db.Column(db.BigInteger, primary_key=True, autoincrement=True)
    value = db.Column(db.Text, nullable=False)
    timestamp = db.Column(db.DateTime, nullable=False)

    def __init__(self, **kwargs):
        self.value = kwargs['value']
        self.timestamp = datetime.datetime.utcnow()

<mask token>


class NoteTextModel(db.Model):
    """
    Creates a data access object for NoteTextModel
    This will hold the text value of a particular note
    """
    __tablename__ = 'note_text_model'
    id = db.Column(db.BigInteger, primary_key=True, autoincrement=True)
    value = db.Column(db.Text, nullable=False)
    timestamp = db.Column(db.DateTime, nullable=False)

    def __init__(self, **kwargs):
        self.value = kwargs['value']
        self.timestamp = datetime.datetime.utcnow()

import datetime
from app.index import db


class NoteTextModel(db.Model):
    """
    Creates a data access object for NoteTextModel
    This will hold the text value of a particular note
    """
    __tablename__ = 'note_text_model'
    id = db.Column(db.BigInteger, primary_key=True, autoincrement=True)
    value = db.Column(db.Text, nullable=False)
    timestamp = db.Column(db.DateTime, nullable=False)

    def __init__(self, **kwargs):
        self.value = kwargs['value']
        self.timestamp = datetime.datetime.utcnow()
