Ajout classes PHP
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
|
||||
class Hystorique
|
||||
{
|
||||
private int $id;
|
||||
private Utilisateur $utilisateur;
|
||||
private Spot $spot;
|
||||
private Pointage $pointage;
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
|
||||
class Joueur
|
||||
{
|
||||
private int $id;
|
||||
private bool $estVivant;
|
||||
private bool $estImposteur;
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
|
||||
class Pollution
|
||||
{
|
||||
private int $id;
|
||||
private int $niveauPollution;
|
||||
private string $description;
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
+2
-2
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user