Skip to content
Snippets Groups Projects
Commit ff9e00c8 authored by clement's avatar clement
Browse files

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

parents 07fb5b7b f3eacf14
No related branches found
No related tags found
No related merge requests found
CLIVI
=====
Projet de gestion de clinique vétérinaire, pour un projet NF17.
<?php
class Animal
{
private $nom;
......@@ -10,7 +11,6 @@ class Animal
private $taille;
private $code;
public function nom()
{
return $this->nom;
......@@ -51,24 +51,24 @@ class Animal
$this->sterile = $sterile;
}
public function date_naissance()
public function dateNaissance()
{
return $this->date_naissance;
return $this->dateNaissance;
}
public function setDate_naissance($date_naissance)
public function setDateNaissance($dateNaissance)
{
$this->date_naissance = $date_naissance;
$this->dateNaissance = $dateNaissance;
}
public function date_deces()
public function dateDeces()
{
return $this->date_deces;
return $this->dateDeces;
}
public function setDate_deces($date_deces)
public function setDateDeces($dateDeces)
{
$this->date_deces = $date_deces;
$this->dateDeces = $dateDeces;
}
public function taille()
......@@ -90,5 +90,4 @@ class Animal
{
$this->code = $code;
}
}
?>
\ No newline at end of file
}
\ No newline at end of file
<?php
class Client extends Personne
{
private $numTel;
......@@ -12,5 +13,4 @@ class Client extends Personne
{
$this->numTel = $numTel;
}
}
?>
\ No newline at end of file
}
\ No newline at end of file
<?php
class Employe extends Personne
{
private $id;
......@@ -12,5 +13,4 @@ class Employe extends Personne
{
$this->id = $id;
}
}
?>
\ No newline at end of file
}
\ No newline at end of file
<?php
class Espece
{
private $nom;
......@@ -14,14 +15,13 @@ class Espece
$this->nom = $nom;
}
public function prix_consult()
public function prixConsult()
{
return $this->prix_consult;
return $this->prixConsult;
}
public function setPrix_consult($prix_consult)
public function setPrixConsult($prixConsult)
{
$this->prix_consult = $prix_consult;
$this->prixConsult = $prixConsult;
}
}
?>
\ No newline at end of file
}
\ No newline at end of file
<?php
class Facture
{
private $id;
......@@ -7,7 +8,6 @@ class Facture
private $moyen_paiement;
private $prix_total;
public function id()
{
return $this->id;
......@@ -57,5 +57,4 @@ class Facture
{
$this->prix_total = $prix_total;
}
}
?>
\ No newline at end of file
}
\ No newline at end of file
<?php
class Ligne_facture
class LigneFacture
{
private $num;
private $quantite;
private $remise;
public function num()
{
return $this->num;
......@@ -34,5 +34,4 @@ class Ligne_facture
public function setRemise($remise)
{
$this->remise = $remise;
}
?>
\ No newline at end of file
}
\ No newline at end of file
<?php
class Ordonnance
{
private $id;
private $date_edition;
private $prix;
public function id()
{
return $this->id;
......@@ -35,5 +35,4 @@ class Ordonnance
{
$this->prix = $prix;
}
}
?>
\ No newline at end of file
}
\ No newline at end of file
<?php
class Personne
{
private $nom;
......@@ -24,8 +25,6 @@ class Personne
$this->prenom = $prenom;
}
}
?>
<?php
class Prestation
{
private $id;
......@@ -6,7 +7,6 @@ class Prestation
private $type;
private $prix;
public function id()
{
return $this->id;
......@@ -46,5 +46,4 @@ class Prestation
{
$this->prix = $prix;
}
}
?>
\ No newline at end of file
}
\ No newline at end of file
<?php
class Race
{
private $nom;
......@@ -23,5 +24,4 @@ class Race
{
$this->prix_intervention = $prix_intervention;
}
}
?>
\ No newline at end of file
}
\ No newline at end of file
<?php
class Rdv
{
private $id;
......@@ -35,5 +36,4 @@ class Rdv
{
$this->duree = $duree;
}
}
?>
\ No newline at end of file
}
\ No newline at end of file
<?php
class Veterinaire extends Employe
{
private $idNational;
......@@ -12,5 +13,4 @@ class Veterinaire extends Employe
{
$this->idNational = $idNational;
}
}
?>
\ No newline at end of file
}
\ No newline at end of file
<html>
<head>
<title>CLIVI: The Clinique</title>
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#0000EE" vlink="#551A8B" alink="#FF0000">
<hr WIDTH="100%">
<h3>
<center>
<font color="#CC0000">This project is not yet implemented !</font>
</h3>
</center>
<hr WIDTH="100%">
</body>
</html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment