16 lines
549 B
Python
16 lines
549 B
Python
from database import Base
|
|
from models.CustomBase import CustomBase
|
|
from sqlalchemy import Column, Integer, String, ForeignKey, Numeric
|
|
from sqlalchemy.orm import relationship
|
|
|
|
class PaymentLogs(Base, CustomBase):
|
|
__tablename__ = "payment_logs"
|
|
id = Column(Integer, primary_key=True, index=True)
|
|
customer_id = Column(String)
|
|
account_id = Column(String)
|
|
amount = Column(Numeric(10, 2))
|
|
clinic_id = Column(Integer)
|
|
unique_clinic_id = Column(String)
|
|
payment_status = Column(String)
|
|
metadata_logs = Column(String)
|
|
|