add
yj
2024-12-05 a160d838f9c0a79dfc2f18e7cd46bdd4faa59c6d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package com.dobbinsoft.fw.core.annotation;
 
import com.dobbinsoft.fw.core.enums.BaseEnums;
import com.dobbinsoft.fw.core.enums.EmptyEnums;
 
import java.lang.annotation.*;
 
/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: rize
 * Date: 2018-03-25
 * Time: 下午1:12
 */
@Target(ElementType.PARAMETER)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface HttpParam {
 
    String name();
 
    HttpParamType type() default HttpParamType.COMMON;
 
    String description() default "";
 
    String valueDef() default "";
 
    Class arrayClass() default Object.class;
 
    /**
     * 绑定枚举
     * @return
     */
    Class<? extends BaseEnums> enums() default EmptyEnums.class;
}