package com.erp.audit;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 操作日志审计服务
 * 功能：审计日志记录、查询统计、导出、敏感操作告警、合规支持
 */
@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages = {"com.erp.audit", "com.erp.common"})
@EnableAsync
@EnableScheduling
public class AuditLogServiceApplication {

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