Ajout classes PHP

This commit is contained in:
unknown 2020-12-04 01:31:37 +01:00
parent 293402a191
commit b0c773248f
6 changed files with 60 additions and 2 deletions

10
php/Hystorique.php Normal file
View 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
View File

@ -0,0 +1,9 @@
<?php
class Joueur
{
private int $id;
private bool $estVivant;
private bool $estImposteur;
}

14
php/Pointage.php Normal file
View 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
View File

@ -0,0 +1,9 @@
<?php
class Pollution
{
private int $id;
private int $niveauPollution;
private string $description;
}

16
php/Produits.php Normal file
View 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;
}

View File

@ -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;
}