2024-06-16 22:45:24 +02:00
|
|
|
from sqlalchemy import Column, String, Integer, Date
|
2024-06-16 20:57:18 +02:00
|
|
|
|
|
|
|
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)
|
2024-06-16 22:45:24 +02:00
|
|
|
current_reminder_date = Column(Date)
|