public class TreeSelect extends Object
| Modifier and Type | Field and Description |
|---|---|
private boolean |
checked |
private List<? extends TreeSelect> |
children
子节点
|
private String |
id
节点ID
|
private I18nName |
jsonLabel
国际化名称
|
private String |
label
节点名称
|
private int |
level
层级
|
private String |
params
其他参数
|
private String |
parId
父id
|
private int |
seqNo
排序
|
| Constructor and Description |
|---|
TreeSelect() |
| Modifier and Type | Method and Description |
|---|---|
List<? extends TreeSelect> |
getChildren()
获取 子节点
|
String |
getId()
获取 节点ID
|
I18nName |
getJsonLabel()
获取 国际化名称
|
String |
getLabel()
获取 节点名称
|
int |
getLevel()
获取 层级
|
String |
getParams()
获取 其他参数
|
String |
getParId()
获取 父id
|
int |
getSeqNo()
获取 排序
|
boolean |
isChecked()
获取 @Schema(description = "是否选中")
|
void |
setChecked(boolean checked)
设置 @Schema(description = "是否选中")
|
void |
setChecked(List<String> ids) |
void |
setChildren(List<? extends TreeSelect> children)
设置 子节点
|
void |
setId(String id)
设置 节点ID
|
void |
setJsonLabel(I18nName jsonLabel)
设置 国际化名称
|
void |
setLabel(String label)
设置 节点名称
|
void |
setLevel(int level)
设置 层级
|
void |
setParams(String params)
设置 其他参数
|
void |
setParId(String parId)
设置 父id
|
void |
setSeqNo(int seqNo)
设置 排序
|
private String id
private String params
private String label
private I18nName jsonLabel
private boolean checked
private String parId
private int level
private int seqNo
private List<? extends TreeSelect> children
public String getId()
public void setId(String id)
id - 节点IDpublic String getParams()
public void setParams(String params)
params - 其他参数public String getLabel()
public void setLabel(String label)
label - 节点名称public I18nName getJsonLabel()
public void setJsonLabel(I18nName jsonLabel)
jsonLabel - 国际化名称public boolean isChecked()
public void setChecked(boolean checked)
checked - @Schema(description = "是否选中")public String getParId()
public void setParId(String parId)
parId - 父idpublic int getLevel()
public void setLevel(int level)
level - 层级public int getSeqNo()
public void setSeqNo(int seqNo)
seqNo - 排序public List<? extends TreeSelect> getChildren()
public void setChildren(List<? extends TreeSelect> children)
children - 子节点Copyright © 2024. All rights reserved.