mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 09:08:24 +08:00
feat: 同步 EntityConfig 添加的配置项。
This commit is contained in:
parent
1a8623f02f
commit
0cceda2607
@ -877,6 +877,20 @@ public class GlobalConfig {
|
||||
getEntityConfig().setWithLombok(entityWithLombok);
|
||||
}
|
||||
|
||||
/**
|
||||
* @see EntityConfig#getDataSource()
|
||||
*/
|
||||
public String getEntityDataSource() {
|
||||
return getEntityConfig().getDataSource();
|
||||
}
|
||||
|
||||
/**
|
||||
* @see EntityConfig#setDataSource(String)
|
||||
*/
|
||||
public void setEntityDataSource(String dataSource) {
|
||||
getEntityConfig().setDataSource(dataSource);
|
||||
}
|
||||
|
||||
public boolean isMapperGenerateEnable() {
|
||||
return mapperGenerateEnable;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user