Ajout classes PHP
This commit is contained in:
parent
293402a191
commit
b0c773248f
10
php/Hystorique.php
Normal file
10
php/Hystorique.php
Normal file
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
|
||||
class Hystorique
|
||||
{
|
||||
private int $id;
|
||||
private Utilisateur $utilisateur;
|
||||
private Spot $spot;
|
||||
private Pointage $pointage;
|
||||
}
|
9
php/Joueur.php
Normal file
9
php/Joueur.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
|
||||
class Joueur
|
||||
{
|
||||
private int $id;
|
||||
private bool $estVivant;
|
||||
private bool $estImposteur;
|
||||
}
|
14
php/Pointage.php
Normal file
14
php/Pointage.php
Normal file
@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
|
||||
class Pointage
|
||||
{
|
||||
private int $id;
|
||||
private int $nbBaigneur;
|
||||
private int $nbPratiquant;
|
||||
private int $bateauPeche;
|
||||
private int $bateauLoisir;
|
||||
private int $bateauVoile;
|
||||
private Produits $produit;
|
||||
private int $niveauDechet;
|
||||
}
|
9
php/Pollution.php
Normal file
9
php/Pollution.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
|
||||
class Pollution
|
||||
{
|
||||
private int $id;
|
||||
private int $niveauPollution;
|
||||
private string $description;
|
||||
}
|
16
php/Produits.php
Normal file
16
php/Produits.php
Normal file
@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
|
||||
class Produits
|
||||
{
|
||||
private int $id;
|
||||
private bool $estCremeSolaire;
|
||||
private bool $estCremeParfum;
|
||||
private bool $estCremeHydratante;
|
||||
private bool $estMaquillage;
|
||||
private bool $estEssence;
|
||||
private bool $estCigarette;
|
||||
private bool $estEngrais;
|
||||
private bool $estPeinture;
|
||||
private string $autreProduit;
|
||||
}
|
@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
|
||||
class spot
|
||||
class Spot
|
||||
{
|
||||
private int $id;
|
||||
private string $nom;
|
||||
private Ville $ville;
|
||||
private Meteo $meteo;
|
||||
private MeteoSpot $meteo;
|
||||
private Pollution $pollution;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user