32 lines
1.5 KiB
Python
Executable File
32 lines
1.5 KiB
Python
Executable File
# /opt/docker/dev/service_finder/backend/app/models/__init__.py
|
|
from app.db.base_class import Base
|
|
|
|
from .identity import User, Person, Wallet, UserRole, VerificationToken
|
|
from .organization import Organization, OrganizationMember
|
|
from .asset import (
|
|
Asset, AssetCatalog, AssetCost, AssetEvent,
|
|
AssetFinancials, AssetTelemetry, AssetReview, ExchangeRate
|
|
)
|
|
from .address import Address, GeoPostalCode, GeoStreet, GeoStreetType
|
|
from .gamification import PointRule, LevelConfig, UserStats, Badge, UserBadge, Rating, PointsLedger
|
|
from .system_config import SystemParameter
|
|
from .document import Document
|
|
from .core_logic import SubscriptionTier, OrganizationSubscription, CreditTransaction, ServiceSpecialty
|
|
from .history import AuditLog, VehicleOwnership
|
|
|
|
# Aliasok
|
|
Vehicle = Asset
|
|
UserVehicle = Asset
|
|
VehicleCatalog = AssetCatalog
|
|
ServiceRecord = AssetEvent
|
|
|
|
__all__ = [
|
|
"Base", "User", "Person", "Wallet", "UserRole", "VerificationToken",
|
|
"Organization", "OrganizationMember", "Asset", "AssetCatalog", "AssetCost",
|
|
"AssetEvent", "AssetFinancials", "AssetTelemetry", "AssetReview", "ExchangeRate",
|
|
"Address", "GeoPostalCode", "GeoStreet", "GeoStreetType", "PointRule",
|
|
"LevelConfig", "UserStats", "Badge", "UserBadge", "Rating", "PointsLedger",
|
|
"SystemParameter", "Document", "SubscriptionTier", "OrganizationSubscription",
|
|
"CreditTransaction", "ServiceSpecialty", "AuditLog", "VehicleOwnership",
|
|
"Vehicle", "UserVehicle", "VehicleCatalog", "ServiceRecord"
|
|
] |