You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
791 B
Java
36 lines
791 B
Java
1 year ago
|
package com.engine.hrmelog.annotation;
|
||
1 year ago
|
|
||
|
import java.lang.annotation.ElementType;
|
||
|
import java.lang.annotation.Retention;
|
||
|
import java.lang.annotation.RetentionPolicy;
|
||
|
import java.lang.annotation.Target;
|
||
|
|
||
|
@Target({ElementType.METHOD, ElementType.FIELD})
|
||
|
@Retention(RetentionPolicy.RUNTIME)
|
||
|
public @interface ApiModelProperty {
|
||
|
String value() default "";
|
||
|
|
||
|
String name() default "";
|
||
|
|
||
|
String allowableValues() default "";
|
||
|
|
||
|
String access() default "";
|
||
|
|
||
|
String notes() default "";
|
||
|
|
||
|
String dataType() default "";
|
||
|
|
||
|
boolean required() default false;
|
||
|
|
||
|
int position() default 0;
|
||
|
|
||
|
boolean hidden() default false;
|
||
|
|
||
|
String example() default "";
|
||
|
|
||
|
boolean readOnly() default false;
|
||
|
|
||
|
String reference() default "";
|
||
|
|
||
|
boolean allowEmptyValue() default false;
|
||
|
}
|