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<>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user