Add match counter
This commit is contained in:
@@ -39,6 +39,9 @@ public class Match extends AbstractEntity {
|
||||
|
||||
private Long court;
|
||||
|
||||
@ManyToOne
|
||||
private Player counter;
|
||||
|
||||
@OneToMany(cascade = CascadeType.MERGE, fetch = FetchType.LAZY)
|
||||
private List<Game> games;// = new ArrayList<>();
|
||||
|
||||
|
||||
@@ -28,4 +28,8 @@ public class TournamentPlayer extends AbstractEntity {
|
||||
private boolean paid;
|
||||
|
||||
private boolean present;
|
||||
|
||||
private boolean counting;
|
||||
|
||||
private Long counts;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user