com.github.brunodutr.persistence.criteria.annotations.CriteriaOrderBy Maven / Gradle / Ivy
package com.github.brunodutr.persistence.criteria.annotations;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
@Target(TYPE)
@Retention(RUNTIME)
public @interface CriteriaOrderBy {
String[] columns() default {};
String sort() default "asc";
}