13 lines
432 B
Python
13 lines
432 B
Python
from sqlalchemy import Column, Integer, String
|
|
from database import Base
|
|
from .CustomBase import CustomBase
|
|
from sqlalchemy.orm import relationship
|
|
|
|
class MasterAppointmentTypes(Base, CustomBase):
|
|
__tablename__ = "master_appointment_types"
|
|
|
|
id = Column(Integer, primary_key=True, index=True)
|
|
type = Column(String)
|
|
|
|
appointmentRelations = relationship("AppointmentRelations", back_populates="masterAppointmentTypes")
|