Annotation Interface ApiMapProperty
@Target({FIELD,METHOD})
@Retention(RUNTIME)
@Documented
@Repeatable(ApiMapPropertyContainer.class)
public @interface ApiMapProperty
Map类型属性注解集合
- 作者:
- 李振峰
-
必需元素概要
所需元素 -
可选元素概要
可选元素
-
元素详细资料
-
name
String name名称 支持多级配置 例如:user.info.level
-
-
-
description
String description描述- 默认值:
- ""
-
required
boolean required是否必须- 默认值:
- false
-
type
String type数据类型[int,long,date,string,double]- 默认值:
- ""
-
format
String format数据格式(一般用于日期)[yyyy-MM-dd HH:mm:ss]- 默认值:
- ""
-
defaultValue
String defaultValue默认值- 默认值:
- "\n\t\t\n\t\t\n\ue000\ue001\ue002\n\t\t\t\t\n"
-
example
String example示例- 默认值:
- ""
-