WorkCalendarApplication.java 805 B

123456789101112131415161718192021222324
  1. package com.persagy;
  2. import org.springframework.boot.SpringApplication;
  3. import org.springframework.boot.autoconfigure.SpringBootApplication;
  4. import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
  5. import org.springframework.cloud.openfeign.EnableFeignClients;
  6. import org.springframework.transaction.annotation.EnableTransactionManagement;
  7. import com.persagy.common.annotation.EnableControllerLog;
  8. import com.persagy.common.annotation.EnableIdGenerator;
  9. @EnableIdGenerator
  10. @EnableControllerLog
  11. @EnableDiscoveryClient
  12. @SpringBootApplication
  13. @EnableTransactionManagement
  14. @EnableFeignClients(basePackages = "com.persagy.calendar.client")
  15. public class WorkCalendarApplication {
  16. public static void main(String[] args) {
  17. SpringApplication.run(WorkCalendarApplication.class, args);
  18. }
  19. }