ormkids.E Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ormkids Show documentation
Show all versions of ormkids Show documentation
MySQL ORM framework for Java with Sharding supported
The newest version!
package ormkids;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.util.ArrayList;
import java.util.List;
public class E {
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE })
public @interface Table {
}
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.FIELD })
public @interface Column {
String name();
String type();
boolean nullable() default true;
boolean autoincrement() default false;
String defaultValue() default "";
}
public static class TableOptions {
private List