"""Personnel detail domain registration"""
from ...common.registry import DomainRegistry
from schemas.power.power_detail import PowerDetail
from .sync_node import PersonnelDetailSyncNode
from .sync_strategy import PersonnelDetailSyncStrategy
from .jsonl_handler import PersonnelDetailJsonlHandler
from .api_handler import PersonnelDetailApiHandler

# 注册 personnel_detail domain
DomainRegistry.register(
    node_type="personnel_detail",
    schema=PowerDetail,
    node_class=PersonnelDetailSyncNode,
    strategy_class=PersonnelDetailSyncStrategy,
    jsonl_handler_class=PersonnelDetailJsonlHandler,
    api_handler_class=PersonnelDetailApiHandler,
)