初始化第一版influxORM
This commit is contained in:
25
src/main/java/com/njcn/influx/ano/Select.java
Normal file
25
src/main/java/com/njcn/influx/ano/Select.java
Normal file
@@ -0,0 +1,25 @@
|
||||
package com.njcn.influx.ano;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
/**
|
||||
* 查询记录
|
||||
* @author hongawen
|
||||
*/
|
||||
@Target(ElementType.METHOD)
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface Select {
|
||||
|
||||
/***
|
||||
* 查询sql
|
||||
*/
|
||||
String value();
|
||||
|
||||
/***
|
||||
* 返回映射的实体对象
|
||||
*/
|
||||
Class resultType();
|
||||
}
|
||||
Reference in New Issue
Block a user