package com.cslg.ppa;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

import java.text.SimpleDateFormat;
import java.util.Date;

@EnableCaching
@EnableAsync
@EnableScheduling
@SpringBootApplication
public class PpaApplication {

    public static void main(String[] args) {
        SpringApplication.run(PpaApplication.class, args);
        System.out.println(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date()) + "-----The Project started");
    }

}
