update 代码生成 改为生成抽象实体

feature/model
疯狂的狮子li 3 years ago
parent b47f8fd784
commit 284f47e76c

@ -64,7 +64,7 @@ public class GenConstants
public static final String[] BASE_ENTITY = { "createBy", "createTime", "updateBy", "updateTime" }; public static final String[] BASE_ENTITY = { "createBy", "createTime", "updateBy", "updateTime" };
/** Tree基类字段 */ /** Tree基类字段 */
public static final String[] TREE_ENTITY = { "parentName", "parentId", "orderNum", "children" }; public static final String[] TREE_ENTITY = { "parentName", "parentId", "children" };
/** 文本框 */ /** 文本框 */
public static final String HTML_INPUT = "input"; public static final String HTML_INPUT = "input";

@ -193,7 +193,7 @@ public class GenTableColumn extends BaseEntity {
// BaseEntity // BaseEntity
"createBy", "createTime", "updateBy", "updateTime", "createBy", "createTime", "updateBy", "updateTime",
// TreeEntity // TreeEntity
"parentName", "parentId", "orderNum"); "parentName", "parentId");
} }
public boolean isUsableColumn() { public boolean isUsableColumn() {

Loading…
Cancel
Save