blade.plugin.sql2o.Table Maven / Gradle / Ivy
package blade.plugin.sql2o;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* model表关联注解
*
* @author biezhi
* @since 1.0
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Table {
String value();
String PK() default "id";
}