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

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

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,
)

__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",
]
