add dataSource config: @Table(dataSource="***")

This commit is contained in:
开源海哥 2023-03-31 10:23:37 +08:00
parent 53b3bc1010
commit 712082d8ce

View File

@ -37,6 +37,11 @@ public @interface Table {
*/
boolean camelToUnderline() default true;
/**
* 默认使用哪个数据源若系统找不到该指定的数据源时默认使用第一个数据源
*/
String dataSource() default "";
/**
* 监听 entity insert 行为
*/