com.zyy.common.annotation.SearchModel Maven / Gradle / Ivy
package com.zyy.common.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(ElementType.PARAMETER)
@Retention(RetentionPolicy.RUNTIME)
public @interface SearchModel {
/**
* 参数是否必须
*
* @return boolean
*/
boolean required() default false;
}