更新基类TreeEntity
This commit is contained in:
parent
8230404035
commit
0b3f82660f
@ -1,5 +1,6 @@
|
|||||||
package com.ruoyi.common.orm.core.domain;
|
package com.ruoyi.common.orm.core.domain;
|
||||||
|
|
||||||
|
import com.alibaba.excel.annotation.ExcelProperty;
|
||||||
import com.mybatisflex.annotation.Column;
|
import com.mybatisflex.annotation.Column;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
@ -19,18 +20,20 @@ public class TreeEntity extends BaseEntity
|
|||||||
@Serial
|
@Serial
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
/** 父菜单名称 */
|
/** 父级名称 */
|
||||||
@Column(ignore = true)
|
@Column(ignore = true)
|
||||||
private String parentName;
|
private String parentName;
|
||||||
|
|
||||||
/** 父菜单ID */
|
/** 父亲ID */
|
||||||
|
@ExcelProperty(value = "上级编号")
|
||||||
private Long parentId;
|
private Long parentId;
|
||||||
|
|
||||||
/** 显示顺序 */
|
/** 显示顺序 */
|
||||||
|
@ExcelProperty(value = "显示顺序")
|
||||||
private Integer orderNum;
|
private Integer orderNum;
|
||||||
|
|
||||||
/** 祖级列表 */
|
/** 祖级列表 */
|
||||||
@Column(ignore = true)
|
//@Column(ignore = true)
|
||||||
private String ancestors;
|
private String ancestors;
|
||||||
|
|
||||||
/** 子部门 */
|
/** 子部门 */
|
||||||
|
Loading…
Reference in New Issue
Block a user