Files
swiss-backend/src/main/java/nl/connectedit/swiss/domain/entity/TournamentPlayerSubstitution.java
Michel ten Voorde b4bbefff46
All checks were successful
Gitea/swiss-backend/pipeline/head This commit looks good
Invallers
2025-09-17 08:58:45 +02:00

29 lines
537 B
Java

package nl.connectedit.swiss.domain.entity;
import jakarta.persistence.*;
import lombok.Getter;
import lombok.Setter;
import java.util.List;
@Entity
@Table
@Getter
@Setter
public class TournamentPlayerSubstitution extends AbstractEntity {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
// @ManyToMany(mappedBy = "substitutions", fetch = FetchType.LAZY)
// private List<TournamentPlayer> tournamentPlayer;
@ManyToOne
private Event event;
@ManyToOne
private TournamentPlayer substitute;
}