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

com.mars.jdbc.core.annotation.MarsSelect Maven / Gradle / Ivy

There is a newer version: 3.3.3
Show newest version
package com.mars.jdbc.core.annotation;

import java.lang.annotation.*;
import java.util.Map;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface MarsSelect {

    /**
     * sql语句
     * @return
     */
    String sql();

    /**
     * 返回类型
     * @return
     */
    Class resultType() default Map.class;

    /**
     * 是否分页
     * @return
     */
    boolean page() default false;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy