strangedb/src/main/java/it/cavallium/strangedb/annotations/DbPropertyGetter.java

14 lines
367 B
Java
Raw Normal View History

2019-03-07 11:41:45 +01:00
package it.cavallium.strangedb.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
2019-03-07 11:41:45 +01:00
public @interface DbPropertyGetter {
int id();
2019-03-07 11:41:45 +01:00
DbDataType type() default DbDataType.OBJECT;
}