# -*- coding: utf-8 -*-
"""NeoZQYY 共享包 — 跨项目复用的工具代码。

提供：
- enums: 字段枚举定义（支付状态、订单状态、会员状态、助教状态等）
- money: 金额精度工具（CNY，Decimal + ROUND_HALF_UP，scale=2）
- datetime_utils: 时区转换、日期范围计算
- area_mapping: 区域映射配置（ETL 和后端共用）
"""

from neozqyy_shared.enums import (
    PaymentStatus,
    OrderStatus,
    MemberStatus,
    AssistantStatus,
    DataSource,
    TaskCategory,
)
from neozqyy_shared.money import round_cny, to_cny, CNY_SCALE
from neozqyy_shared.datetime_utils import (
    SHANGHAI_TZ,
    now_shanghai,
    date_range,
    business_day_range,
    business_week_range,
    business_month_range,
)
from neozqyy_shared.area_mapping import (
    AREA_LABEL_MAP,
    SPECIFIC_AREA_CODES,
    ALL_AREA_CODES,
    resolve_area_code,
    get_area_labels,
)

__all__ = [
    # enums
    "PaymentStatus",
    "OrderStatus",
    "MemberStatus",
    "AssistantStatus",
    "DataSource",
    "TaskCategory",
    # money
    "round_cny",
    "to_cny",
    "CNY_SCALE",
    # datetime_utils
    "SHANGHAI_TZ",
    "now_shanghai",
    "date_range",
    "business_day_range",
    "business_week_range",
    "business_month_range",
    # area_mapping
    "AREA_LABEL_MAP",
    "SPECIFIC_AREA_CODES",
    "ALL_AREA_CODES",
    "resolve_area_code",
    "get_area_labels",
]
