package com.erp.reconciliation;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 对账管理服务启动类
 * 
 * 功能模块：
 * 1. 账单核对 - 平台账单与内部订单一致性核对
 * 2. 财务对账 - 订单金额与实际支付金额核对
 * 3. 差异处理 - 发现并处理对账差异
 * 4. 对账报表 - 生成各类对账统计报表
 * 
 * @author ERP Migration
 */
@SpringBootApplication(scanBasePackages = "com.erp.reconciliation")
@EnableFeignClients(basePackages = "com.erp.reconciliation.feign")
@EnableScheduling
@EnableTransactionManagement
public class ReconciliationServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(ReconciliationServiceApplication.class, args);
    }
}
