play.db.Model Maven / Gradle / Ivy
The newest version!
package play.db;
import java.io.InputStream;
import java.lang.reflect.Field;
import java.util.List;
import play.Play;
import play.exceptions.UnexpectedException;
public interface Model {
public void _save();
public void _delete();
public Object _key();
public static class Property {
public String name;
public Class> type;
public Field field;
public boolean isSearchable;
public boolean isMultiple;
public boolean isRelation;
public boolean isGenerated;
public Class> relationType;
public Choices choices;
}
public static interface Choices {
public List