package com.crm.activity;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableScheduling
@MapperScan("com.crm.activity.dao.mapper")
@EnableEurekaClient
@EnableFeignClients
@EntityScan({"com.crm.rely.backend.core.pojo.table","com.crm.rely.backend.model.pojo.table"})
public class CrmActivityApplication {

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

}
