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,42 @@
SequenceDiagram {
actor parieur
lifeline siteweb
lifeline serveur autoactivate
entity "Base de donnée" as bdd autoactivate
parieur --> siteweb "login"
activate siteweb
siteweb --> serveur "transferer données de input"
serveur --> bdd "rechercher données de user"
fragment alt "[Bon mdp et user]" {
bdd -r-> serveur "Charger user données "
serveur -r-> siteweb "login réussi"
siteweb -r-> parieur "Bienvenue au FDJ"
parieur --> siteweb "Parier"
siteweb --> serveur "Le client veut parier"
serveur -r-> siteweb "Demande événement"
siteweb -r-> parieur "Choissiez un événement"
parieur --> siteweb "Donner information"
siteweb --> serveur "Evenement choisi"
serveur -r-> siteweb "Demande montant"
siteweb -r-> parieur "Combien vous voulez parier?"
parieur --> siteweb "Donner le montant"
siteweb --> serveur "L'agrent que clien a parié"
serveur --> serveur "Débiter"
serveur -r-> siteweb " Afficher nouveau montant"
siteweb -r-> parieur "Mis à jour le portefeuille"
fragment alt "[Gagné]" {
serveur --> serveur "Nouveau montant pour client"
serveur -r-> siteweb "Motant gagné"
siteweb -r-> parieur "Félicitation"
case "[Perdu]"
serveur -r-> siteweb "Motant perdu"
siteweb -r-> parieur "Dommage"
}
case "[Mdp ou nom est faux]"
serveur -r-> siteweb "login incorrect"
siteweb -r-> parieur "Faux mdp ou user"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 577 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 560 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

View File

Before

Width:  |  Height:  |  Size: 92 KiB

After

Width:  |  Height:  |  Size: 92 KiB

View File

Before

Width:  |  Height:  |  Size: 103 KiB

After

Width:  |  Height:  |  Size: 103 KiB

View File

Before

Width:  |  Height:  |  Size: 89 KiB

After

Width:  |  Height:  |  Size: 89 KiB

View File

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 66 KiB

View File

Before

Width:  |  Height:  |  Size: 95 KiB

After

Width:  |  Height:  |  Size: 95 KiB

View File

Before

Width:  |  Height:  |  Size: 68 KiB

After

Width:  |  Height:  |  Size: 68 KiB

View File

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 82 KiB

View File

Before

Width:  |  Height:  |  Size: 98 KiB

After

Width:  |  Height:  |  Size: 98 KiB

View File

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB

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

View File

6633
OpenXAVA/workspace/.metadata/.log Executable file

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,62 @@
#MyEclipse Usage Data
#Sun Mar 24 22:35:58 CET 2024
devstyle/state/iconsColor/pastel=1
misc/arch=x86_64
bundle/com.genuitec.eclipse.startup.workspace=25
bundle/com.genuitec.eclipse.theming.ui=25
bundle/com.genuitec.eclipse.theming.elevation.win32=-1
view/org.eclipse.ui.console.ConsoleView=5
bundle/com.genuitec.eclipse.theming.css=-1
view/org.eclipse.ui.navigator.ProjectExplorer=2
misc/timestamp=Mar 24, 2024, 9\:35\:58 PM
editor/org.eclipse.jdt.ui.CompilationUnitEditor=214
bundle/com.genuitec.eclipse.theming.scrollbar=-1
perspective/org.eclipse.jdt.ui.JavaPerspective.<Java>=15
misc/eclipseVersion/4.24.0.I20220607-0700=1
bundle/com.genuitec.eclipse.theming.base=-1
devstyle/state/iconsColor/primary=1
bundle/com.genuitec.eclipse.inlinesearch=25
bundle/com.genuitec.eclipse.monitor=25
devstyle/state/enabled=1
bundle/com.genuitec.eclipse.webclipse.evergreen=25
bundle/com.genuitec.eclipse.news=-1
misc/eclipseVersion/4.23.0.I20220308-0310=1
bundle/com.genuitec.eclipse.theming.scrollbar.win=-1
misc/period=24706051
devstyle/state/iconsColor/grayscale=1
perspective/org.eclipse.ui.resourcePerspective=5
devstyle/state/inlinesearch=1
bundle/com.genuitec.eclipse.ui.common.platform=73
misc/count=73
view/org.eclipse.ui.views.ProblemView=1
editor/org.eclipse.ui.browser.editor=13
editor/org.eclipse.ui.DefaultTextEditor=4
bundle/com.genuitec.eclipse.meexplorer=25
misc/productType/devstyle=1
misc/os=linux
editor/org.eclipse.ui.systemInPlaceEditor=1
bundle/com.genuitec.eclipse.meexplorer.jdt=25
devstyle/state/workbenchColor/Dark_Gray=1
view/org.eclipse.jdt.ui.PackageExplorer=200
bundle/com.genuitec.eclipse.webicons=73
misc/core_version=<unknown>
misc/installmode/stable=0
bundle/com.genuitec.eclipse.core.common.rss=-1
devstyle/state/editorColor/Darkest_Dark=1
misc/ws=gtk
view/org.eclipse.jdt.junit.ResultView=1
bundle/com.genuitec.eclipse.patches=73
bundle/com.genuitec.eclipse.startup=25
devstyle/state/editorColor/IntelliJ_IDEA_Dark=1
misc/eclipseVersion/4.18.0.I20201202-1800=1
bundle/com.genuitec.eclipse.theming.base.win=-1
misc/installmode/standalone=0
misc/locale=en_US
misc/workspace_hash=1254134561
perspective/org.eclipse.jdt.ui.JavaPerspective=33
editor/org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart=2
bundle/com.genuitec.eclipse.theming.epl=-1
bundle/com.genuitec.eclipsecolortheme.api=73
bundle/com.genuitec.eclipse.theming.core=26
bundle/com.genuitec.eclipse.core.common.platform=73
misc/product/org.eclipse.platform.ide=1

View File

@@ -0,0 +1,43 @@
/*******************************************************************************
* Copyright (c) 2014, 2022 Andrea Guarinoni and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Andrea Guarinoni - initial API and implementation
* Fabio Zadrozny - Bug 465672 - EGit staging view and commit page are not properly styled
* Lars Vogel <Lars.Vogel@vogella.com> - Bug 466486
*******************************************************************************/
/* ############################## EGIT preferences ############################## */
/* See bug 466075 about the pseudo-selector ":org-eclipse-egit-ui" */
/*
* The default e4_dark_partstyle.css has .MPart Composite > StyledText with a lighter background.
* Override this with a more specific selector.
*/
.MPart Composite > StyledText.org-eclipse-egit-ui-CommitAndDiffComponent {
background-color: inherit;
color: inherit;
}
/*
* Use a darker background for the tables in the Git history page. The default dark theme assigns
* a slightly lighter background otherwise; we want the default background color as is used for
* other views (#272c30; decimal 39,44,48).
*/
Table.org-eclipse-egit-ui-GitHistoryPage {
background-color: inherit;
}
/*
* Same for the staged/unstaged tree viewers in the staging view.
*/
.MPart Section Tree.org-eclipse-egit-ui-StagingView {
background-color: inherit;
}

View File

@@ -0,0 +1,59 @@
.MarketplaceViewer,
.MarketplaceViewer > *,
.MarketplaceItem,
.MarketplaceItem * {
background-color: #32393e;
color: #d8dcdf;
}
.MarketplaceItem Link {
color: #86939c;
}
.MarketplaceItem .disabled {
color: #a0aab1;
}
.TagsToolTip,
.TagsToolTip * {
background-color: #49535a;
color: #d8dcdf;
}
.NotificationItem,
.NotificationItem * {
background-color: #4d5c6c;
color: #9ac9d8;
}
.CatalogSwitcher,
.CatalogSwitcher > ScrolledComposite,
.CatalogSwitcher > ScrolledComposite > *,
.Catalog,
.Catalog > * {
background-color: #32393e;
color: #d8dcdf;
}
.Catalog:checked,
.Catalog:checked > * {
background-color: COLOR-LIST-SELECTION;
}
#MarketplacePage CTabItem:selected,
#MarketplaceContent,
.MarketplaceSearchHeader,
.MarketplaceSearchHeader > Label {
background-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END';
}
#MarketplacePage CategoryItem,
#MarketplacePage CategoryItem > GradientCanvas,
#MarketplacePage CategoryItem > GradientCanvas > Label {
/* SWT-BUG workaround: a style for background is not applied on GradientCanvas (CSS engine repaint issue) */
background: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END';
background-image: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END';
background-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END';
color: #d8dcdf;
}

View File

@@ -0,0 +1,50 @@
/*******************************************************************************
* Copyright (c) 2014, 2020 Lars Vogel and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Lars Vogel <Lars.Vogel@gmail.com> - initial API and implementation
* Andrea Guarinoni <andrea.guarinoni@gmail.com> - intial color schema definition
*******************************************************************************/
/* ############################## JDT syntax highlighting ############################## */
BulletListBlock > StyledText {
background-color: #394146;
color: #b3bbc1;
}
FormatterPreferenceSectionComposite {
background-color:#49535a;
color:#ebedef;
swt-titlebar-color: #c7cdd1;
}
#BreadcrumbComposite > Composite,
#BreadcrumbItemComposite,
#BreadcrumbItemDetailComposite,
#BreadcrumbItemDetailTextComposite,
#BreadcrumbItemDetailImageComposite,
#BreadcrumbItemDetailTextLabel,
#BreadcrumbItemDetailImageLabel,
#BreadcrumbItemDropDownToolBar
{
/*
* Bug 465666
*
* Note: as we can't change the arrow to black, we configure
* the background with the lighter color used for the background
* of toolbars and make the foreground color brighter too.
*/
background-color:#49535a;
color: white;
}

View File

@@ -0,0 +1,7 @@
#org-eclipse-ui-splash-progressText {
color: #ffffff;
}
#org-eclipse-ui-splash-progressPart {
background-image: url('me-custom:/platform:/plugin/org.eclipse.platform/splash.bmp');
}

View File

@@ -0,0 +1,24 @@
package com.yourcompany.bmo.model;
import java.util.*;
import javax.persistence.*;
import org.openxava.annotations.*;
@Entity
public class PariSimple extends Pari {
@Required @Column
String Issue;
@Required @Column
DateTime HeureLimite;
@Required @Column
Integer pointsAvanceequipe1;
@Required @Column
Integer pointsAvanceequipe2;
}

View File

@@ -0,0 +1,31 @@
package com.yourcompany.bmo.model;
import javax.persistence.*;
import org.openxava.annotations.*;
@Entity
public class Pari {
@Id @Required @Column
Integer pari_ID;
@Required @Column
Parieur parieur;
@Column @Required
String TypePari;
@Column @Required
String RésultatParié;
@Column @Required
Float Montant;
@Column @Required
Float Cote;
}

View File

@@ -0,0 +1,5 @@
package com.yourcompany.bmo.model.Sports;
public class Basket {
}

View File

@@ -0,0 +1,26 @@
package com.yourcompany.bmo.model;
import java.util.*;
import javax.persistence.*;
import org.openxava.annotations.*;
import lombok.*;
@Entity
public class Sport {
@Column @Required
String sport_Nom;
@OneToMany (mappedBy="sport")
private Collection<Evenement> evenements;
public String getNom() {
return this.sport_Nom;
}
}

View File

@@ -0,0 +1,16 @@
package com.yourcompany.bmo.model.Matchs;
import javax.persistence.*;
import org.openxava.annotations.*;
import lombok.*;
@Entity @Getter @Setter
public class Sets {
@Column @Required
Integer numéro_set;
}

View File

@@ -0,0 +1,10 @@
package com.yourcompany.bmo.model;
import javax.persistence.*;
@Entity
public class Bookmarker {
public void crediterParieur(Pari pari){}
}

View File

@@ -0,0 +1,21 @@
package com.yourcompany.bmo.model;
import javax.persistence.*;
import org.openxava.annotations.*;
import lombok.*;
@Entity @Getter @Setter
public class Sport {
@Column @Required
String sport_Nom;
public String getNom() {
return this.sport_Nom;
}
}

View File

@@ -0,0 +1,9 @@
package com.yourcompany.bmo.model.Dans_match;
import javax.persistence.*;
@Entity
public class Sets {
@Column
public int numéro_set;
}

View File

@@ -0,0 +1,8 @@
package com.yourcompany.bmo.model;
import javax.persistence.*;
public class QuartTemps {
@Column
private int numéro_quarttemps;
}

View File

@@ -0,0 +1,16 @@
import javax.persistence.*;
import org.openxava.annotations.*;
import lombok.*;
@Embeddable @Getter @Setter
public class MiTemps {
@Column @Required
Integer numéro_mitemps;
}

View File

@@ -0,0 +1,9 @@
package com.yourcompany.bmo.model;
import javax.persistence.*;
@Entity
public class Sets {
@Column
private int numéro_set;
}

View File

@@ -0,0 +1,16 @@
import javax.persistence.*;
import org.openxava.annotations.*;
import lombok.*;
@Embeddable @Getter @Setter
public class MiTemps {
@Column @Required
Integer numéro_mitemps;
}

View File

@@ -0,0 +1,16 @@
package com.yourcompany.bmo.model.Matchs;
import javax.persistence.*;
import org.openxava.annotations.*;
import lombok.*;
@Embeddable @Getter @Setter
public class Sets {
@Column @Required
Integer numéro_set;
}

View File

@@ -0,0 +1,34 @@
package com.yourcompany.bmo.model;
import java.sql.*;
import javax.persistence.*;
import org.openxava.annotations.*;
import lombok.*;
@Entity @Getter @Setter
public class Evenement {
@Id @Required @Column
Integer event_ID;
@Required @Column
String event_Nom;
@Column
Date date;
@Column @Required
String sport_Nom;
public String getNom() {
return this.sport_Nom;
}
}

View File

@@ -0,0 +1,16 @@
package com.yourcompany.bmo.model.Matchs;
import javax.persistence.*;
import org.openxava.annotations.*;
import lombok.*;
@Entity @Getter @Setter
public class QuartTemps {
@Column(length=50) @Required
Integer numéro_quarttemps;
}

View File

@@ -0,0 +1,14 @@
package com.yourcompany.bmo.model;
import javax.persistence.*;
import org.openxava.annotations.*;
import lombok.*;
@Entity @Getter @Setter
public class MiTemps {
@Column(length=50) @Required
public int numéro_mitemps;
}

View File

@@ -0,0 +1,17 @@
package com.yourcompany.bmo.model;
import javax.persistence.*;
import org.openxava.annotations.*;
import org.openxava.model.*;
import lombok.*;
@Entity @Getter @Setter
public class QuartTemps {
@Column(length=50) @Required
Integer numéro_quarttemps;
}

View File

@@ -0,0 +1,10 @@
package com.yourcompany.bmo.model;
import javax.persistence.*;
import lombok.*;
public class QuartTemps {
@Column
private int numéro_quarttemps;
}

View File

@@ -0,0 +1,10 @@
package com.yourcompany.bmo.model;
import javax.persistence.*;
import lombok.*;
@Entity @Getter @Setter
public class MiTemps {
@Column(length=50)
public int numéro_mitemps;
}

View File

@@ -0,0 +1,16 @@
package com.yourcompany.bmo.model;
import java.util.*;
import javax.persistence.*;
@Entity
public class Bookmarker {
@OneToMany (mappedBy="bookmarker")
private Collection<Pari> paris;
public void crediterParieur(Pari pari){}
}

View File

@@ -0,0 +1,10 @@
package com.yourcompany.bmo.model.Dans_match;
import javax.persistence.*;
import lombok.*;
@Entity @Getter @Setter
public class MiTemps {
@Column
public int numéro_mitemps;
}

View File

@@ -0,0 +1,33 @@
import java.sql.*;
import javax.persistence.*;
import org.openxava.annotations.*;
import lombok.*;
@Entity @Getter @Setter
public class Evenement {
@Id @Required @Column
Integer event_ID;
@Required @Column
String event_Nom;
@Column
Date date;
@Column @Required
String sport_Nom;
public String getNom() {
return this.sport_Nom;
}
}

View File

@@ -0,0 +1,16 @@
package com.yourcompany.bmo.model;
import java.util.*;
import javax.persistence.*;
@Entity
public class Bookmaker {
@OneToMany (mappedBy="bookmarker")
private Collection<Pari> paris;
public void crediterParieur(Pari pari){}
}

View File

@@ -0,0 +1,28 @@
import java.util.*;
import javax.persistence.*;
import org.openxava.annotations.*;
import lombok.*;
@Entity @Getter @Setter
public class Parieur {
@Id @Required @Column
Integer parieur_ID;
@Required @Column
String parieur_Nom;
@Column @Required
Float Solde;
@Column
Integer capital_jetons;
@OneToMany (mappedBy="parieur")
private Collection<Pari> paris;
}

View File

@@ -0,0 +1,8 @@
package com.yourcompany.bmo.model.Dans_match;
import javax.persistence.*;
@Entity
public class MiTemps {
@Column
public int numéro_mitemps;
}

View File

@@ -0,0 +1,19 @@
import javax.persistence.*;
import org.openxava.annotations.*;
import lombok.*;
@Entity @Getter @Setter
public class Basket extends Sport {
@Embedded
Collection <QuartTemps>
@Column @Required
Integer numéro_mitemps;
}

View File

@@ -0,0 +1,16 @@
import javax.persistence.*;
import org.openxava.annotations.*;
import lombok.*;
@Embeddable @Getter @Setter
public class Sets {
@Column @Required
Integer numéro_set;
}

View File

@@ -0,0 +1,9 @@
package com.yourcompany.bmo.model;
import javax.persistence.*;
@Entity
public class Sets {
@Column
private int numéro_set;
}

View File

@@ -0,0 +1,5 @@
package com.yourcompany.bmo.model.Matchs;
public class MiTemps {
}

View File

@@ -0,0 +1,10 @@
package com.yourcompany.bmo.model.Dans_match;
import javax.persistence.*;
import lombok.*;
@Entity @Getter @Setter
public class MiTemps {
@Column(length=50)
public int numéro_mitemps;
}

View File

@@ -0,0 +1,16 @@
package com.yourcompany.bmo.model.Matchs;
import javax.persistence.*;
import org.openxava.annotations.*;
import lombok.*;
@Embeddable @Getter @Setter
public class MiTemps {
@Column @Required
Integer numéro_mitemps;
}

View File

@@ -0,0 +1,5 @@
package com.yourcompany.bmo.model;
public class PariAvancé {
}

View File

@@ -0,0 +1,16 @@
package com.yourcompany.bmo.model.Matchs;
import javax.persistence.*;
import org.openxava.annotations.*;
import lombok.*;
@Entity @Getter @Setter
public class Basket extends Sport {
@Column @Required
Integer numéro_mitemps;
}

View File

@@ -0,0 +1,21 @@
import java.util.*;
import javax.persistence.*;
import org.openxava.annotations.*;
import lombok.*;
@Entity
public class Basket extends Sport {
@Embedded
public Collection<QuartTemps> quarttemps;
@Column @Required
Integer numéro_mitemps;
}

View File

@@ -0,0 +1,16 @@
package com.yourcompany.bmo.model;
import javax.persistence.*;
import org.openxava.annotations.*;
import lombok.*;
@Entity @Getter @Setter
public class QuartTemps {
@Column(length=50) @Required
Integer numéro_quarttemps;
}

View File

@@ -0,0 +1,5 @@
package com.yourcompany.bmo.model;
public class QuartTemps {
}

View File

@@ -0,0 +1,9 @@
package com.yourcompany.bmo.model;
import javax.persistence.*;
@Entity
public class QuartTemps {
@Column
private int numéro_quarttemps;
}

View File

@@ -0,0 +1,15 @@
package com.yourcompany.bmo.model;
import javax.persistence.*;
import org.openxava.annotations.*;
import org.openxava.model.*;
import lombok.*;
@Entity @Getter @Setter
public class QuartTemps extends Identifiable {
@Column(length=50) @Required
public Integer numéro_quarttemps;
}

View File

@@ -0,0 +1,50 @@
package com.yourcompany.bmo.model;
import java.util.*;
import javax.persistence.*;
import org.openxava.annotations.*;
import lombok.*;
@Entity @Getter @Setter
public class Evenement {
@Id @Required @Column
Integer event_ID;
@Required @Column
String event_Nom;
@Column @Required
Date date;
@Column
Integer numéro_période;
@Column
String score;
@OneToMany (mappedBy="evenement")
private Collection<Participant> participants;
@Column @Required
String sport_Nom;
public String getNom() {
return this.event_Nom;
}
public Date getDate() {
return this.date;
}
public Integer getID() {
return this.event_ID;
}
}

View File

@@ -0,0 +1,5 @@
package com.yourcompany.bmo.model;
public class Parieur {
}

View File

@@ -0,0 +1,15 @@
import java.util.*;
import javax.persistence.*;
@Entity
public class Tennis extends Sport {
@Embedded
public Collection<Sets> sets;
}

View File

@@ -0,0 +1,16 @@
package com.yourcompany.bmo.model.Matchs;
import javax.persistence.*;
import org.openxava.annotations.*;
import lombok.*;
@Embeddable @Getter @Setter
public class QuartTemps {
@Column(length=50) @Required
Integer numéro_quarttemps;
}

View File

@@ -0,0 +1,18 @@
package com.yourcompany.bmo.model;
import java.math.*;
import java.time.*;
import javax.persistence.*;
import org.openxava.annotations.*;
import org.openxava.model.*;
import lombok.*;
@Entity @Getter @Setter
public class QuartTemps {
@Column(length=50) @Required
public Integer numéro_quarttemps;
}

Some files were not shown because too many files have changed in this diff Show More