diff --git a/class/animal.php b/class/animal.php new file mode 100644 index 0000000000000000000000000000000000000000..f6e847e3604601a90b344513a5f22b76657c0909 --- /dev/null +++ b/class/animal.php @@ -0,0 +1,94 @@ +<?php +class Animal +{ + private $nom; + private $poids; + private $genre; + private $sterile; + private $date_naissance; + private $date_deces; + private $taille; + private $code; + + + public function nom() + { + return $this->nom; + } + + public function setNom($nom) + { + $this->nom = $nom; + } + + public function poids() + { + return $this->poids; + } + + public function setPoids($poids) + { + $this->poids = $poids; + } + + public function genre() + { + return $this->genre; + } + + public function setGenre($genre) + { + $this->genre = $genre; + } + + public function sterile() + { + return $this->sterile; + } + + public function setSterile($sterile) + { + $this->sterile = $sterile; + } + + public function date_naissance() + { + return $this->date_naissance; + } + + public function setDate_naissance($date_naissance) + { + $this->date_naissance = $date_naissance; + } + + public function date_deces() + { + return $this->date_deces; + } + + public function setDate_deces($date_deces) + { + $this->date_deces = $date_deces; + } + + public function taille() + { + return $this->taille; + } + + public function setTaille($taille) + { + $this->taille = $taille; + } + + public function code() + { + return $this->code; + } + + public function setCode($code) + { + $this->code = $code; + } +} +?> \ No newline at end of file diff --git a/class/client.php b/class/client.php new file mode 100644 index 0000000000000000000000000000000000000000..754dec7ac0271dfea96286b0800f5b4bb79e6ff2 --- /dev/null +++ b/class/client.php @@ -0,0 +1,16 @@ +<?php +class Client extends Personne +{ + private $numTel; + + public function numTel() + { + return $this->numTel; + } + + public function setNumTel($numTel) + { + $this->numTel = $numTel; + } +} +?> \ No newline at end of file diff --git a/class/employe.php b/class/employe.php new file mode 100644 index 0000000000000000000000000000000000000000..fd7498860ac3a2b4ed31070d238bb5fa26e1e905 --- /dev/null +++ b/class/employe.php @@ -0,0 +1,16 @@ +<?php +class Employe extends Personne +{ + private $id; + + public function id() + { + return $this->id; + } + + public function setId($id) + { + $this->id = $id; + } +} +?> \ No newline at end of file diff --git a/class/espece.php b/class/espece.php new file mode 100644 index 0000000000000000000000000000000000000000..7fe5f7b20e09577621d42fdb120301ae00c318b2 --- /dev/null +++ b/class/espece.php @@ -0,0 +1,27 @@ +<?php +class Espece +{ + private $nom; + private $prix_consult; + + public function nom() + { + return $this->nom; + } + + public function setNom($nom) + { + $this->nom = $nom; + } + + public function prix_consult() + { + return $this->prix_consult; + } + + public function setPrix_consult($prix_consult) + { + $this->prix_consult = $prix_consult; + } +} +?> \ No newline at end of file diff --git a/class/facture.php b/class/facture.php new file mode 100644 index 0000000000000000000000000000000000000000..7db3638e1113f1fc58a6067f8550296748537eef --- /dev/null +++ b/class/facture.php @@ -0,0 +1,61 @@ +<?php +class Facture +{ + private $id; + private $date_edition; + private $date_paiement; + private $moyen_paiement; + private $prix_total; + + + public function id() + { + return $this->id; + } + + public function setId($id) + { + $this->id = $id; + } + + public function date_edition() + { + return $this->date_edition; + } + + public function setDate_edition($date_edition) + { + $this->date_edition = $date_edition; + } + + public function date_paiement() + { + return $this->date_paiement; + } + + public function setDate_paiement($date_paiement) + { + $this->date_paiement = $date_paiement; + } + + public function moyen_paiement() + { + return $this->moyen_paiement; + } + + public function setMoyen_paiement($moyen_paiement) + { + $this->moyen_paiement = $moyen_paiement; + } + + public function prix_total() + { + return $this->prix_total; + } + + public function setPrix_total($prix_total) + { + $this->prix_total = $prix_total; + } +} +?> \ No newline at end of file diff --git a/class/ligne_facture.php b/class/ligne_facture.php new file mode 100644 index 0000000000000000000000000000000000000000..a3f7b0ac89dc2032331a1334b826d380e7dc9da0 --- /dev/null +++ b/class/ligne_facture.php @@ -0,0 +1,38 @@ +<?php +class Ligne_facture +{ + private $num; + private $quantite; + private $remise; + + + public function num() + { + return $this->num; + } + + public function setNum($num) + { + $this->num = $num; + } + + public function quantite() + { + return $this->quantite; + } + + public function setQuantite($quantite) + { + $this->quantite = $quantite; + } + + public function remise() + { + return $this->remise; + } + + public function setRemise($remise) + { + $this->remise = $remise; + } +?> \ No newline at end of file diff --git a/class/ordonnance.php b/class/ordonnance.php new file mode 100644 index 0000000000000000000000000000000000000000..668273821795457325de196636cf42031e33cc02 --- /dev/null +++ b/class/ordonnance.php @@ -0,0 +1,39 @@ +<?php +class Ordonnance +{ + private $id; + private $date_edition; + private $prix; + + + public function id() + { + return $this->id; + } + + public function setId($id) + { + $this->id = $id; + } + + public function date() + { + return $this->date; + } + + public function setDate($date) + { + $this->date = $date; + } + + public function prix() + { + return $this->prix; + } + + public function setPrix($prix) + { + $this->prix = $prix; + } +} +?> \ No newline at end of file diff --git a/class/personne.php b/class/personne.php new file mode 100644 index 0000000000000000000000000000000000000000..5cda681092e563e01e506a135c71f5588cafa09e --- /dev/null +++ b/class/personne.php @@ -0,0 +1,31 @@ +<?php +class Personne +{ + private $nom; + private $prenom; + + public function nom() + { + return $this->nom; + } + + public function setNom($nom) + { + $this->nom = $nom; + } + + public function prenom() + { + return $this->prenom; + } + + public function setPrenom($prenom) + { + $this->prenom = $prenom; + } +} +?> + + + + diff --git a/class/prestation.php b/class/prestation.php new file mode 100644 index 0000000000000000000000000000000000000000..36a0029b840d0b0314f7a87063e7218f2fee2ab8 --- /dev/null +++ b/class/prestation.php @@ -0,0 +1,50 @@ +<?php +class Prestation +{ + private $id; + private $description; + private $type; + private $prix; + + + public function id() + { + return $this->id; + } + + public function setId($id) + { + $this->id = $id; + } + + public function description() + { + return $this->description; + } + + public function setDescription($description) + { + $this->description = $description; + } + + public function type() + { + return $this->type; + } + + public function setType($type) + { + $this->type = $type; + } + + public function prix() + { + return $this->prix; + } + + public function setPrix($prix) + { + $this->prix = $prix; + } +} +?> \ No newline at end of file diff --git a/class/race.php b/class/race.php new file mode 100644 index 0000000000000000000000000000000000000000..ffa338e6f3a3ea52b8fec740d8becae48de0b9b1 --- /dev/null +++ b/class/race.php @@ -0,0 +1,27 @@ +<?php +class Race +{ + private $nom; + private $prix_intervention; + + public function nom() + { + return $this->nom; + } + + public function setNom($nom) + { + $this->nom = $nom; + } + + public function prix_consult() + { + return $this->prix_intervention; + } + + public function setPrix_intervention($prix_intervention) + { + $this->prix_intervention = $prix_intervention; + } +} +?> \ No newline at end of file diff --git a/class/rdv.php b/class/rdv.php new file mode 100644 index 0000000000000000000000000000000000000000..bad5fc722eb7e35303b80fa98216276bd53a8d71 --- /dev/null +++ b/class/rdv.php @@ -0,0 +1,39 @@ +<?php +class Rdv +{ + private $id; + private $date; + private $duree; + + + public function id() + { + return $this->id; + } + + public function setId($id) + { + $this->id = $id; + } + + public function date() + { + return $this->date; + } + + public function setDate($date) + { + $this->date = $date; + } + + public function duree() + { + return $this->duree; + } + + public function setDuree($duree) + { + $this->duree = $duree; + } +} +?> \ No newline at end of file diff --git a/class/veterinaire.php b/class/veterinaire.php new file mode 100644 index 0000000000000000000000000000000000000000..85e6f023bfa481aa45767d0a987df348de792fbe --- /dev/null +++ b/class/veterinaire.php @@ -0,0 +1,16 @@ +<?php +class Veterinaire extends Employe +{ + private $idNational; + + public function idNational() + { + return $this->idNational; + } + + public function setIdNational($idNational) + { + $this->idNational = $idNational; + } +} +?> \ No newline at end of file