# Path: pyfeedreader/models/ReadEntries.py
# class ReadEntry(Model):
#     __tablename__ = "read_entry"
#     id = Column('id', Integer, primary_key=True)
#     entry_id = Column(Integer)
#     user_id = Column(Integer, ForeignKey('user.id'))
# 
#     def __init__(self, entry_id, user_id):
#         self.entry_id = entry_id
#         self.user_id = user_id
# 
#     def __repr__(self):
#         return '<ReadEntry %r>' % self.username
# 
# Path: pyfeedreader/database.py
# def init_db():
# def drop_all():


from pyfeedreader.models.ReadEntries import ReadEntry
from pyfeedreader.database import Model, db_session
from sqlalchemy import Column, Integer, String, Text

__author__ = 'sis13'



class Entry(Model):
    __tablename__ = "entry"
    id = Column('id', Integer, primary_key=True)
    feed_id = Column(Integer)
    published = Column(Integer)

# Path: pyfeedreader/models/ReadEntries.py
# class ReadEntry(Model):
#     __tablename__ = "read_entry"
#     id = Column('id', Integer, primary_key=True)
#     entry_id = Column(Integer)
#     user_id = Column(Integer, ForeignKey('user.id'))
# 
#     def __init__(self, entry_id, user_id):
#         self.entry_id = entry_id
#         self.user_id = user_id
# 
#     def __repr__(self):
#         return '<ReadEntry %r>' % self.username
# 
# Path: pyfeedreader/database.py
# def init_db():
# def drop_all():


# Path: pyfeedreader/models/entry.py
from pyfeedreader.models.ReadEntries import ReadEntry
from pyfeedreader.database import Model, db_session
from sqlalchemy import Column, Integer, String, Text


__author__ = 'sis13'



class Entry(Model):
    __tablename__ = "entry"
    id = Column('id', Integer, primary_key=True)
    feed_id = Column(Integer)
    published = Column(Integer)

    updated = Column(Integer)