Ajout classes PHP

This commit is contained in:
unknown 2020-12-04 01:22:13 +01:00
parent 86506b11de
commit 293402a191
5 changed files with 54 additions and 0 deletions

10
php/MeteoSpot.php Normal file
View File

@ -0,0 +1,10 @@
<?php
class MeteoSpot
{
private int $id;
private int $houle;
private int $maree;
private int $vent;
}

9
php/MeteoVille.php Normal file
View File

@ -0,0 +1,9 @@
<?php
class MeteoVille
{
private int $id;
private int $temperature;
private int $vent;
}

11
php/Spot.php Normal file
View File

@ -0,0 +1,11 @@
<?php
class spot
{
private int $id;
private string $nom;
private Ville $ville;
private Meteo $meteo;
private Pollution $pollution;
}

13
php/Utilisateur.php Normal file
View File

@ -0,0 +1,13 @@
<?php
class Utilisateur
{
private int $id;
private string $nom;
private string $prenom;
private string $pseudo;
private string $mail;
private string $password;
}

11
php/Ville.php Normal file
View File

@ -0,0 +1,11 @@
<?php
class Ville
{
private int $id;
private string $nom;
private string $codePostal;
private int $temperature;
private MeteoVille $meteo;
}