Mybatis-Plus————AutoGenerator 代码生成器
public static void main(String[] args) {
// 1、创建代码生成器
AutoGenerator autoGenerator = new AutoGenerator();
// 2、全局配置
GlobalConfig gc = new GlobalConfig();
String projectPath = System.getProperty("user.dir");
gc.setOutputDir(projectPath + "/src/main/java"); //生成路径
gc.setAuthor("kimi");//作者名
gc.setOpen(false);