All Downloads are FREE. Search and download functionalities are using the official Maven repository.

top.openyuan.jpa.specification.annotation.NotLike Maven / Gradle / Ivy

package top.openyuan.jpa.specification.annotation;

import java.lang.annotation.*;

/**
 * 用于“模糊不匹配某个元素”({@code NOT LIKE})场景的注解.
 *
 * @author lzy on 2021-11-15
 * @since v1.0.0
 */
@Documented
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface NotLike {

    /**
     * 注解的实体字段属性名称,默认为空或空字符串时将使用属性名称.
     *
     * @return 值
     */
    String value() default "";

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy