matrix-bot-praying-times/matrix_bot_praying_times/models/user.py

15 lines
344 B
Python
Raw Permalink Normal View History

from sqlalchemy import Column, String, Integer, Date
from ..db import Base
class User(Base):
__tablename__ = "user"
id = Column(Integer, primary_key=True)
username = Column(String)
location = Column(String)
room_id = Column(String)
reminder_time_in_minutes = Column(Integer)
current_reminder_date = Column(Date)