fanxp 1 year ago
parent
commit
812d8f85c5

+ 43 - 0
src/main/java/com/xjrsoft/module/generator/dto/ApiGenerateCodesDto.java

@@ -0,0 +1,43 @@
+package com.xjrsoft.module.generator.dto;
+
+import com.xjrsoft.module.generator.entity.TableConfig;
+import lombok.Data;
+
+import javax.sql.DataSource;
+import java.util.List;
+
+@Data
+public class ApiGenerateCodesDto {
+    /**
+     * 包名
+     */
+    private String packageName;
+    /**
+     * 作者
+     */
+    private String author;
+    /**
+     * 数据源
+     */
+    private DataSource ds;
+    /**
+     * 是否分页
+     */
+    private boolean isPage;
+    /**
+     * 是否导入
+     */
+    private boolean isImport;
+    /**
+     * 是否导出
+     */
+    private boolean isExport;
+    /**
+     * 是否生成在主目录
+     */
+    private boolean isOutMainDir;
+    /**
+     * 表配置
+     */
+    private List<TableConfig> tableConfigs;
+}