Package top.tangyh.basic.base.entity
Class TreeEntity<E,T extends Serializable>
java.lang.Object
top.tangyh.basic.base.entity.SuperEntity<T>
top.tangyh.basic.base.entity.Entity<T>
top.tangyh.basic.base.entity.TreeEntity<E,T>
- Type Parameters:
T- 主键类型E- 子集类型
- All Implemented Interfaces:
Serializable
包括id、created_time、created_by、updated_by、updated_time、label、parent_id、sort_value 字段的表继承的树形实体
- Author:
- zuihou
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class top.tangyh.basic.base.entity.SuperEntity
SuperEntity.Save, SuperEntity.Update -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringprotected T父IDstatic final Stringstatic final Stringprotected Integer排序Fields inherited from class top.tangyh.basic.base.entity.Entity
UPDATED_BY, UPDATED_BY_FIELD, UPDATED_TIME, UPDATED_TIME_FIELD, updatedBy, updatedTimeFields inherited from class top.tangyh.basic.base.entity.SuperEntity
CREATED_BY, CREATED_BY_FIELD, CREATED_ORG_ID, CREATED_ORG_ID_FIELD, CREATED_TIME, CREATED_TIME_FIELD, createdBy, createdTime, id, ID_FIELD -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
LABEL
- See Also:
-
PARENT_ID
- See Also:
-
SORT_VALUE
- See Also:
-
PARENT_ID_FIELD
- See Also:
-
SORT_VALUE_FIELD
- See Also:
-
parentId
父ID -
sortValue
排序 -
children
-
-
Constructor Details
-
TreeEntity
public TreeEntity()
-
-
Method Details
-
initChildren
public void initChildren()初始化子类 -
addChildren
-