mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
No effective change - adjust test to have at least 1 column on insert
This commit is contained in:
+12
-2
@@ -11,6 +11,8 @@ public class Position {
|
||||
@GeneratedValue
|
||||
protected Long id;
|
||||
|
||||
private String name;
|
||||
|
||||
@ManyToOne(cascade = {}, optional = false)
|
||||
private Contract contract;
|
||||
|
||||
@@ -22,11 +24,19 @@ public class Position {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Contract getContract() {
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public Contract getContract() {
|
||||
return contract;
|
||||
}
|
||||
|
||||
public void setContract(final Contract contract) {
|
||||
this.contract = contract;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user