| Modifier and Type | Required Element and Description |
|---|---|
String[] |
value
数组参数
|
| Modifier and Type | Optional Element and Description |
|---|---|
Class<? extends ArrayMapper> |
mapper
类型转化器实现类,需要存在无参构造
默认不变
|
String |
param
区间参数,如果有值,则代表了字段之前的区间参数。默认没有值
例如当字段
age 的注解参数为 param = "10-20" 的时候, 相当于字段值为"age|10-20"。参数中的那个竖线不需要写。写了也会被去除的。 |
public abstract String[] value
public abstract Class<? extends ArrayMapper> mapper
public abstract String param
age 的注解参数为 param = "10-20" 的时候, 相当于字段值为"age|10-20"。参数中的那个竖线不需要写。写了也会被去除的。Copyright © 2024. All rights reserved.