40 lines
703 B
Java
40 lines
703 B
Java
@Entity
|
|
public class Événement {
|
|
@OneToMany (mappedBy= "événement")
|
|
public Collection<PariAvancé> pariavancés;
|
|
@OneToMany (mappedBy= "événement")
|
|
public Collection<PariSimple> parisimples;
|
|
@OneToMany (mappedBy= "événement")
|
|
public Collection<Participant> participants;
|
|
@OneToOne
|
|
public Sport sport
|
|
|
|
@Column
|
|
private Integer event_ID ;
|
|
|
|
@Column
|
|
private String evennt_Nom ;
|
|
|
|
@Column
|
|
private Date Date ;
|
|
|
|
@Column
|
|
private String Sport ;
|
|
|
|
@Column
|
|
private Integer Numéro_période ;
|
|
|
|
@Column
|
|
private String Score ;
|
|
|
|
@Column
|
|
private Integer getID() {}
|
|
|
|
@Column
|
|
private String getNom() {}
|
|
|
|
@Column
|
|
private Date getDate() {}
|
|
|
|
}
|