Commit 37e52a42 by Riku Silvola

unpaidbills fix

1 parent 31880a33
......@@ -54,6 +54,9 @@ public class FoodWave extends GenericEntity {
@OneToMany(mappedBy = "foodwave")
private List<BillLine> billLines;
@OneToMany(mappedBy = "foodwave")
private List<BillLine> unpaidBills;
@ManyToOne
@JoinColumn(name = "template_id", referencedColumnName = "id", nullable = false)
private FoodWaveTemplate template;
......@@ -194,4 +197,12 @@ public class FoodWave extends GenericEntity {
this.maximumFoods = maximumFoods;
}
public List<BillLine> getUnpaidBills() {
return unpaidBills;
}
public void setUnpaidBills(List<BillLine> unpaidBills) {
this.unpaidBills = unpaidBills;
}
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!