Add match counter

This commit is contained in:
2025-08-18 23:27:14 +02:00
parent 3baea70356
commit 36c8f3b22f
8 changed files with 48 additions and 12 deletions

View File

@@ -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<>();

View File

@@ -28,4 +28,8 @@ public class TournamentPlayer extends AbstractEntity {
private boolean paid;
private boolean present;
private boolean counting;
private Long counts;
}