2025-08-16 15:00:36 +02:00
|
|
|
"""
|
|
|
|
|
Database models for POS Integration Service
|
|
|
|
|
"""
|
|
|
|
|
|
2025-10-15 16:12:49 +02:00
|
|
|
# Import AuditLog model for this service
|
|
|
|
|
from shared.security import create_audit_log_model
|
|
|
|
|
from shared.database.base import Base
|
|
|
|
|
|
|
|
|
|
# Create audit log model for this service
|
|
|
|
|
AuditLog = create_audit_log_model(Base)
|
|
|
|
|
|
2025-08-16 15:00:36 +02:00
|
|
|
from .pos_config import POSConfiguration
|
|
|
|
|
from .pos_transaction import POSTransaction, POSTransactionItem
|
|
|
|
|
from .pos_webhook import POSWebhookLog
|
|
|
|
|
from .pos_sync import POSSyncLog
|
|
|
|
|
|
|
|
|
|
__all__ = [
|
|
|
|
|
"POSConfiguration",
|
|
|
|
|
"POSTransaction",
|
|
|
|
|
"POSTransactionItem",
|
|
|
|
|
"POSWebhookLog",
|
2025-10-15 16:12:49 +02:00
|
|
|
"POSSyncLog",
|
|
|
|
|
"AuditLog"
|
2025-08-16 15:00:36 +02:00
|
|
|
]
|