15 lines
521 B
Python
15 lines
521 B
Python
from sqlalchemy import Column, Integer, Boolean, DateTime, ForeignKey, String
|
|
from database import Base
|
|
from .CustomBase import CustomBase
|
|
from sqlalchemy.orm import relationship
|
|
from datetime import datetime
|
|
|
|
|
|
class ClinicOffers(Base,CustomBase):
|
|
__tablename__ = "clinic_offers"
|
|
|
|
id = Column(Integer, primary_key=True, index=True)
|
|
clinic_email = Column(String)
|
|
setup_fees_waived = Column(Boolean, default=False)
|
|
special_offer_for_month = Column(String, nullable=True) # free till specified month
|
|
|