package com.erp.inventory;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 库存盘点服务启动类
 * 
 * @author ERP Migration
 */
@SpringBootApplication(scanBasePackages = "com.erp")
@EnableDiscoveryClient
@EnableJpaAuditing
@EnableTransactionManagement
@EnableAsync
@MapperScan("com.erp.inventory.mapper")
public class InventoryServiceApplication {

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