- Split mother's name in KYC (last/first) - Added mileage_unit and fuel_type to Assets - Expanded AssetCost for international VAT and original currency - Fixed SQLAlchemy IndexError in asset catalog lookup - Added exchange_rate and ratings tables to models
37 lines
924 B
Python
Executable File
37 lines
924 B
Python
Executable File
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
|
|
from .address import Address, GeoPostalCode, GeoStreet, GeoStreetType
|
|
from .gamification import UserStats, PointsLedger
|
|
|
|
# Aliasok a kompatibilitás és a tiszta kód érdekében
|
|
Vehicle = Asset
|
|
UserVehicle = Asset
|
|
VehicleCatalog = AssetCatalog
|
|
ServiceRecord = AssetEvent
|
|
|
|
__all__ = [
|
|
"Base",
|
|
"User",
|
|
"Person",
|
|
"Wallet",
|
|
"UserRole",
|
|
"VerificationToken",
|
|
"Organization",
|
|
"OrganizationMember",
|
|
"Asset",
|
|
"AssetCatalog",
|
|
"AssetCost",
|
|
"AssetEvent",
|
|
"Address",
|
|
"GeoPostalCode",
|
|
"GeoStreet",
|
|
"GeoStreetType",
|
|
"UserStats",
|
|
"PointsLedger",
|
|
"Vehicle",
|
|
"UserVehicle",
|
|
"VehicleCatalog",
|
|
"ServiceRecord"
|
|
] |