Add OpenXava
This commit is contained in:
39
Generateur/tested/Événement.java
Normal file
39
Generateur/tested/Événement.java
Normal file
@@ -0,0 +1,39 @@
|
||||
@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() {}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user