Integrated catalog_robot.py logic for structured data ingestion. Updated models and documentation for the Robot Ecosystem.
57 lines
2.1 KiB
Python
Executable File
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"
|
|
] |