Skip to content
Snippets Groups Projects
Commit fa6b7f4b authored by Matthieu Guffroy's avatar Matthieu Guffroy
Browse files

Merge branch 'master' of gitlab.utc.fr:nf17-camp-p14/clivi

parents af423086 2671dcbc
No related branches found
No related tags found
No related merge requests found
<?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
<?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
<?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
<?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
<?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
<?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
<?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
<?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;
}
}
?>
<?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
<?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
<?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
<?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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment