Annotation Interface Setting
配置项定义
- 作者:
- KevinHuangwl
-
可选元素概要
可选元素修饰符和类型可选元素说明前端显示的labelClass<? extends SettingOptionsProvider>配置项实现类(此接口的实现类提供的值将覆盖options与optionsVal的值)String[]配置项可选项labelString[]配置项可选项valueint配置项顺序占位文字boolean是否必填配置项类型数值单位
-
元素详细资料
-
label
String label前端显示的label- 返回:
- 默认值:
- ""
-
unit
String unit数值单位- 返回:
- 默认值:
- ""
-
order
int order配置项顺序- 返回:
- 默认值:
- 0
-
options
String[] options配置项可选项label- 返回:
- 默认值:
- {}
-
optionsVal
String[] optionsVal配置项可选项value- 返回:
- 默认值:
- {}
-
optionProvider
Class<? extends SettingOptionsProvider> optionProvider配置项实现类(此接口的实现类提供的值将覆盖options与optionsVal的值)- 返回:
- 默认值:
- org.dromara.northstar.common.SettingOptionsProvider.class
-
placeholder
String placeholder占位文字- 返回:
- 默认值:
- ""
-
type
FieldType type配置项类型- 返回:
- 默认值:
- TEXT
-
required
boolean required是否必填- 返回:
- 默认值:
- true
-