package com.aiotagro.cattletrade;

import cn.dev33.satoken.SaManager;
import com.mzt.logapi.starter.annotation.EnableLogRecord;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication(scanBasePackages = {"com.aiotagro.cattletrade", "com.aiotagro.common"})
@EnableTransactionManagement
@EnableScheduling
@EnableLogRecord(tenant = "com.aiotagro.cattletrade")
@MapperScan("com.aiotagro.cattletrade.business.mapper")
public class AiotagroCattleTradeApplication {
    public static void main(String[] args) {
        SpringApplication.run(AiotagroCattleTradeApplication.class, args);
        System.out.println(SaManager.getConfig());
    }

}
