mirror of
https://github.com/continew-org/continew-starter.git
synced 2025-09-09 20:57:23 +08:00
chore(extension/crud): 完善树配置相关注释
- 在 CrudProperties 中添加了树配置的注释,明确用于简单树场景 - 在 CrudTreeProperties 中增加了用于简单树场景的注释,并添加了与 TreeField 的关联 - 在 TreeField 中添加了用于复杂树场景的注释,明确了其适用范围
This commit is contained in:
@@ -16,13 +16,20 @@
|
|||||||
|
|
||||||
package top.continew.starter.extension.crud.annotation;
|
package top.continew.starter.extension.crud.annotation;
|
||||||
|
|
||||||
|
import top.continew.starter.extension.crud.autoconfigure.CrudTreeProperties;
|
||||||
|
|
||||||
import java.lang.annotation.*;
|
import java.lang.annotation.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 树结构字段
|
* 树结构字段
|
||||||
*
|
*
|
||||||
* @author Charles7c
|
* <p>
|
||||||
|
* 用于复杂树场景,例如:表格
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
* @see cn.hutool.core.lang.tree.TreeNodeConfig
|
* @see cn.hutool.core.lang.tree.TreeNodeConfig
|
||||||
|
* @see CrudTreeProperties
|
||||||
|
* @author Charles7c
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
@Target(ElementType.TYPE)
|
@Target(ElementType.TYPE)
|
||||||
|
@@ -31,6 +31,7 @@ public class CrudProperties {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 树配置
|
* 树配置
|
||||||
|
* <p>用于简单树场景,例如:树选择(下拉)</p>
|
||||||
*/
|
*/
|
||||||
@NestedConfigurationProperty
|
@NestedConfigurationProperty
|
||||||
private CrudTreeProperties tree = new CrudTreeProperties();
|
private CrudTreeProperties tree = new CrudTreeProperties();
|
||||||
|
@@ -23,6 +23,11 @@ import top.continew.starter.extension.crud.annotation.TreeField;
|
|||||||
/**
|
/**
|
||||||
* CRUD 树列表配置属性
|
* CRUD 树列表配置属性
|
||||||
*
|
*
|
||||||
|
* <p>
|
||||||
|
* 用于简单树场景,例如:树选择(下拉)
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @see TreeField
|
||||||
* @author Charles7c
|
* @author Charles7c
|
||||||
* @since 2.7.2
|
* @since 2.7.2
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user