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

com.github.dreamroute.pager.starter.anno.Pager Maven / Gradle / Ivy

There is a newer version: 2.6.5-RELEASE
Show newest version
package com.github.dreamroute.pager.starter.anno;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

/**
 * 分页相关配置
 *
 * @author w.dehi
 */
@Retention(RUNTIME)
@Target(METHOD)
public @interface Pager {

    /**
     * 主表主键id,用于去重
     */
    String distinctBy() default "id";
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy