cn.ipokerface.common.validation.validator.Constraint Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of common-beans Show documentation
Show all versions of common-beans Show documentation
Common Library of ipokerface
package cn.ipokerface.common.validation.validator;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* Created by PokerFace
* Create Date 2019-11-25.
* Email: [email protected]
* Version 1.0.0
*
* Description: use on
*/
@Target({ ANNOTATION_TYPE })
@Retention(RUNTIME)
@Documented
public @interface Constraint {
Class extends ConstraintValidator, ?>> validator();
}