org.ibankapp.base.persistence.validation.constraint.Uniques Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of base-persistence Show documentation
Show all versions of base-persistence Show documentation
the base moudle of ibankapp series
/*
* iBankApp
*
* License : Apache License,Version 2.0, January 2004
*
* See the LICENSE file in English or LICENSE.zh_CN in chinese
* in the root directory or .
*/
package org.ibankapp.base.persistence.validation.constraint;
import java.lang.annotation.Documented;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* 多个唯一约束检查的聚合注解
*
* @author ibankapp
* @author codelder
* @since 1.0.0
*/
@Documented
@Target({TYPE, ANNOTATION_TYPE})
@Retention(RUNTIME)
@Inherited
public @interface Uniques {
Unique[] constraints();
}