node-web-mvc
Version:
node spring mvc
18 lines (17 loc) • 421 B
TypeScript
import { RequestParamType } from '../../method/MethodParameter';
export default class ParamAnnotation {
/**
* 需要提取的参数名称,默认为:注解目标形参参数名
*/
value?: string;
/**
* 参数是否必填
*/
required?: boolean;
/**
* 默认值
*/
defaultValue?: any;
get paramAt(): RequestParamType;
constructor(paramAt: RequestParamType);
}