fuyongxin
2026-06-03 1fd2a709d850c743a6d1da8b65133fc8e51c92d2
ruoyi-modules/ruoyi-gen/src/main/java/com/ruoyi/gen/domain/GenTable.java
@@ -41,7 +41,7 @@
    /** 使用的模板(crud单表操作 tree树表操作 sub主子表操作) */
    private String tplCategory;
    /** 前端类型(element-ui模版 element-plus模版) */
    /** 前端类型(element-ui模版 element-plus模版 element-plus-typescript模版) */
    private String tplWebType;
    /** 生成包路径 */
@@ -63,6 +63,9 @@
    /** 生成作者 */
    @NotBlank(message = "作者不能为空")
    private String functionAuthor;
    /** 表单布局(单列 双列 三列) */
    private Integer formColNum;
    /** 生成代码方式(0zip压缩包 1自定义路径) */
    private String genType;
@@ -97,6 +100,9 @@
    /** 上级菜单名称字段 */
    private String parentMenuName;
    /** 是否生成详情页 */
    private boolean isView;
    public Long getTableId()
    {
@@ -228,6 +234,16 @@
        this.functionAuthor = functionAuthor;
    }
    public Integer getFormColNum()
    {
        return formColNum;
    }
    public void setFormColNum(Integer formColNum)
    {
        this.formColNum = formColNum;
    }
    public String getGenType()
    {
        return genType;
@@ -267,6 +283,7 @@
    {
        this.subTable = subTable;
    }
    public List<GenTableColumn> getColumns()
    {
        return columns;
@@ -337,6 +354,16 @@
        this.parentMenuName = parentMenuName;
    }
    public boolean isView()
    {
        return isView;
    }
    public void setView(boolean isView)
    {
        this.isView = isView;
    }
    public boolean isSub()
    {
        return isSub(this.tplCategory);
@@ -346,6 +373,7 @@
    {
        return tplCategory != null && StringUtils.equals(GenConstants.TPL_SUB, tplCategory);
    }
    public boolean isTree()
    {
        return isTree(this.tplCategory);