package dist.models; import com.avaje.ebean.Model; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name = "products") public class DistProduct extends Model { public static Finder<String, DistProduct> find = new Finder<>("dist",DistProduct.class); @Id public String name; public String file; public String type; @Override public String toString() { return "DistProduct{" + "name='" + name + '\'' + ", file='" + file + '\'' + ", type='" + type + '\'' + '}'; } }