Files
service-finder/backend/app/models/__init__.py
Kincses bb02d4ed59 checkpoint: DB baseline reset (v10) with perfect column order for n8n.
Integrated catalog_robot.py logic for structured data ingestion.
Updated models and documentation for the Robot Ecosystem.
2026-02-14 15:31:56 +00:00

57 lines
2.1 KiB
Python
Executable File

# /opt/docker/dev/service_finder/backend/app/models/__init__.py
from app.db.base_class import Base
# Identitás és Jogosultság
from .identity import User, Person, Wallet, UserRole, VerificationToken, SocialAccount
# Szervezeti struktúra
from .organization import Organization, OrganizationMember
# Járművek és Eszközök (Digital Twin)
from .asset import (
Asset, AssetCatalog, AssetCost, AssetEvent,
AssetFinancials, AssetTelemetry, AssetReview, ExchangeRate
)
# Szerviz és Szakértelem (ÚJ)
from .service import ServiceProfile, ExpertiseTag, ServiceExpertise, ServiceStaging
# Földrajzi adatok és Címek
from .address import Address, GeoPostalCode, GeoStreet, GeoStreetType
# Gamification és Economy
from .gamification import PointRule, LevelConfig, UserStats, Badge, UserBadge, Rating, PointsLedger
# Rendszerkonfiguráció és Alapok
from .system_config import SystemParameter
from .document import Document
from .translation import Translation
# Üzleti logika és Előfizetés
from .core_logic import SubscriptionTier, OrganizationSubscription, CreditTransaction, ServiceSpecialty
# Naplózás és Biztonság
from .history import AuditLog, VehicleOwnership
from .security import PendingAction
# Aliasok a kényelmesebb fejlesztéshez
Vehicle = Asset
UserVehicle = Asset
VehicleCatalog = AssetCatalog
ServiceRecord = AssetEvent
__all__ = [
"Base", "User", "Person", "Wallet", "UserRole", "VerificationToken", "SocialAccount",
"Organization", "OrganizationMember",
"Asset", "AssetCatalog", "AssetCost", "AssetEvent", "AssetFinancials",
"AssetTelemetry", "AssetReview", "ExchangeRate",
"Address", "GeoPostalCode", "GeoStreet", "GeoStreetType",
"PointRule", "LevelConfig", "UserStats", "Badge", "UserBadge", "Rating", "PointsLedger",
"SystemParameter", "Document", "Translation", "PendingAction",
"SubscriptionTier", "OrganizationSubscription",
"CreditTransaction", "ServiceSpecialty", "AuditLog", "VehicleOwnership",
# --- SZERVIZ MODUL (Tisztítva) ---
"ServiceProfile", "ExpertiseTag", "ServiceExpertise", "ServiceStaging",
# --- ALIASOK ---
"Vehicle", "UserVehicle", "VehicleCatalog", "ServiceRecord"
]