Fix test code only - Tune entity bean needs at least 1 non Id property

This commit is contained in:
rob bygrave
2018-07-15 15:01:17 +12:00
parent bbf54d6196
commit b6d3dc3516
@@ -15,11 +15,21 @@ public class Tune {
@Id
@Column(name = "id")
public Long _id;
Long _id;
String name;
@OneToMany(cascade = CascadeType.ALL)
private List<Looney> loonies = new BeanList<>();
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public List<Looney> getLoonies() {
return loonies;
}