Add OpenXava

This commit is contained in:
2024-03-24 23:00:47 +01:00
parent 2002d29d0b
commit 8dc83d7511
856 changed files with 37005 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
@Entity
public class Basket extends Sport {
@Embedded
public Collection<QuartTemps> quarttempss ;
}

View File

@@ -0,0 +1,9 @@
@Entity
public class Bookmaker {
@OneToMany (mappedBy= "bookmaker")
public Collection<Pari> paris;
@Column
private void crediterParieur(pari:Pari) {}
}

View File

@@ -0,0 +1,4 @@
@Entity
public class CourseDeChevaux extends Sport {
}

View File

@@ -0,0 +1,7 @@
@Entity
public class DataSource {
@Column
private Data misesàjourData() {}
}

View File

@@ -0,0 +1,6 @@
@Entity
public class Football extends Sport {
@Embedded
public Collection<MiTemps> mitempss ;
}

View File

@@ -0,0 +1,7 @@
@Embeddable
public class MiTemps {
@Column
private Integer numéro_mitemps ;
}

View File

@@ -0,0 +1,29 @@
@Entity
public class Pari {
@ManyToOne
public Bookmaker bookmaker;One
@ManyToOne
public Parieur parieur;
@Column
private Integer pari_ID ;
@Column
private Parieur Parieur ;
@Column
private Événement Événement ;
@Column
private String TypePari ;
@Column
private String RésultatParié ;
@Column
private Float Montant ;
@Column
private Float Cote ;
}

View File

@@ -0,0 +1,12 @@
@Entity
public class PariAvancé extends Pari {
@ManyToOne
public Événement événement;
@Column
private String Type ;
@Column
private String Intervalle ;
}

View File

@@ -0,0 +1,18 @@
@Entity
public class PariSimple extends Pari {
@ManyToOne
public Événement événement;
@Column
private String Issue ;
@Column
private Datetime HeureLimite ;
@Column
private Integer PointsAvanceÉquipe1 ;
@Column
private Integer PointsAvanceÉquipe2 ;
}

View File

@@ -0,0 +1,21 @@
@Entity
public class Parieur {
@OneToMany (mappedBy= "parieur")
public Collection<Pari> paris;
@Column
private Integer parieur_ID ;
@Column
private String aprieur_Nom ;
@Column
private Float Solde ;
@Column
private Integer capital_jetons ;
@Column
private void placerUnPari() {}
}

View File

@@ -0,0 +1,24 @@
@Entity
public class Participant {
@ManyToOne
public Événement événement;
@Column
private Integer participant_ID ;
@Column
private String aprticipant_Nom ;
@Column
private String PArticipant_Type ;
@Column
private Integer getID() {}
@Column
private String getNom() {}
@Column
private String getType() {}
}

View File

@@ -0,0 +1,7 @@
@Embeddable
public class QuartTemps {
@Column
private Integer numéro_quarttemps ;
}

View File

@@ -0,0 +1,7 @@
@Embeddable
public class Sets {
@Column
private Integer numéro_set ;
}

View File

@@ -0,0 +1,12 @@
@Entity
public class Sport {
@OneToOne
public Événement événement
@Column
private String sport_Nom ;
@Column
private String getNom() {}
}

View File

@@ -0,0 +1,6 @@
@Entity
public class Tennis extends Sport {
@Embedded
public Collection<Sets> setss ;
}

View 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() {}
}