vocal_ai / core /models /appointment.py
dhruv2842's picture
Upload 29 files
643a619 verified
raw
history blame contribute delete
396 Bytes
from sqlalchemy import Column, Integer, String
from core.database import Base
class Appointment(Base):
__tablename__ = "appointments"
id = Column(Integer, primary_key=True, index=True)
patient_name = Column(String, nullable=False)
age = Column(Integer, nullable=False)
symptoms = Column(String, nullable=False)
specialist = Column(String, nullable=False)