package com.sckw.transport;

import com.sckw.remote.annotation.SckwRemoteApplication;
import com.sckw.startup.annotation.SckwCloudApplication;
import io.seata.spring.annotation.datasource.EnableAutoDataSourceProxy;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author lfdc
 * @desc 运输服务启动类
 * @date 2023-06-26 16:00:26
 */
@EnableAutoDataSourceProxy
@SckwRemoteApplication
@SckwCloudApplication
@MapperScan("com.sckw.transport.dao")
@EnableScheduling
@EnableAsync
public class TransPortApplication {
    public static void main(String[] args) {
        SpringApplication.run(TransPortApplication.class, args);
    }

}
