代码生成实体根据模板区分不同父字段

This commit is contained in:
RuoYi
2019-10-15 12:45:55 +08:00
parent 9f5067fbad
commit 69cc7a4111
3 changed files with 22 additions and 2 deletions

View File

@ -44,6 +44,12 @@ public class GenConstants
public static final String[] COLUMNNAME_NOT_QUERY = { "id", "create_by", "create_time", "del_flag", "update_by",
"update_time", "remark" };
/** Entity基类字段 */
public static final String[] BASE_ENTITY = { "createBy", "createTime", "updateBy", "updateTime", "remark" };
/** Tree基类字段 */
public static final String[] TREE_ENTITY = { "parentName", "parentId", "orderNum", "ancestors" };
/** 文本框 */
public static final String HTML_INPUT = "input";