Annotation Interface Setting


@Retention(RUNTIME) @Target(FIELD) public @interface Setting
配置项定义
作者:
KevinHuangwl
  • 元素详细资料

    • label

      String label
      前端显示的label
      返回:
      默认值:
      ""
    • unit

      String unit
      数值单位
      返回:
      默认值:
      ""
    • order

      int order
      配置项顺序
      返回:
      默认值:
      0
    • options

      String[] options
      配置项可选项label
      返回:
      默认值:
      {}
    • optionsVal

      String[] optionsVal
      配置项可选项value
      返回:
      默认值:
      {}
    • placeholder

      String placeholder
      占位文字
      返回:
      默认值:
      ""
    • type

      FieldType type
      配置项类型
      返回:
      默认值:
      TEXT
    • required

      boolean required
      是否必填
      返回:
      默认值:
      true