Files
th-hotel-simple/server/src/main/java/cn/nianxx/thhotel/ThHotelApplication.java
2026-07-12 23:53:50 +08:00

30 lines
1004 B
Java

package cn.nianxx.thhotel;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
/**
* TH Hotel 后端应用入口。
*/
@MapperScan({
"cn.nianxx.thhotel.platform.message.mapper",
"cn.nianxx.thhotel.platform.debug.mapper",
"cn.nianxx.thhotel.platform.identity.mapper",
"cn.nianxx.thhotel.platform.access.mapper",
"cn.nianxx.thhotel.platform.hotel.mapper",
"cn.nianxx.thhotel.platform.navigation.mapper",
"cn.nianxx.thhotel.platform.audit.mapper",
"cn.nianxx.thhotel.workflows.reservation.mapper",
"cn.nianxx.thhotel.integrations.ai.superagent.mapper"
})
@EnableScheduling
@SpringBootApplication
public class ThHotelApplication {
public static void main(String[] args) {
SpringApplication.run(ThHotelApplication.class, args);
}
}