Ajout classes PHP
This commit is contained in:
parent
86506b11de
commit
293402a191
10
php/MeteoSpot.php
Normal file
10
php/MeteoSpot.php
Normal 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
9
php/MeteoVille.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
|
||||
class MeteoVille
|
||||
{
|
||||
private int $id;
|
||||
private int $temperature;
|
||||
private int $vent;
|
||||
}
|
11
php/Spot.php
Normal file
11
php/Spot.php
Normal 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
13
php/Utilisateur.php
Normal 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
11
php/Ville.php
Normal file
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
|
||||
class Ville
|
||||
{
|
||||
private int $id;
|
||||
private string $nom;
|
||||
private string $codePostal;
|
||||
private int $temperature;
|
||||
private MeteoVille $meteo;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user