18 lines
539 B
Python
18 lines
539 B
Python
from sqlalchemy import Column, Integer, String, DateTime
|
|
|
|
|
|
from database import Base
|
|
from .CustomBase import CustomBase
|
|
|
|
|
|
class CallTranscripts(Base, CustomBase):
|
|
__tablename__ = "call_transcripts"
|
|
|
|
id = Column(Integer, primary_key=True, index=True)
|
|
patient_name = Column(String, nullable=True)
|
|
patient_number = Column(String)
|
|
call_duration = Column(String)
|
|
call_received_time = Column(DateTime(timezone=True))
|
|
transcript_key_id = Column(String)
|
|
clinic_id = Column(Integer, nullable=True, default=None)
|
|
|