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

foreignfields in classes

parent 3e519794
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,12 @@ class Animal extends Objet
public $_specialFields = array(
"sterile" => array(
"t" => "BoolField"
),
"proprio" => array(
"t" => "ForeignField"
),
"race" => array(
"t" => "ForeignField"
));
public function id()
......
......@@ -9,6 +9,13 @@ class Facture extends Objet
protected $date_paiement;
protected $moyen_paiement;
protected $prix_total;
public $_specialFields = array(
"employe" => array(
"t" => "BoolField"
),
"animal" => array(
"t" => "ForeignField"
));
public function id()
{
......
......@@ -7,6 +7,13 @@ class Ordonnance extends Objet
protected $animal;
protected $date;
protected $prix;
public $_specialFields = array(
"veterinaire" => array(
"t" => "BoolField"
),
"animal" => array(
"t" => "ForeignField"
));
public function id()
{
......
......@@ -7,6 +7,13 @@ class Rdv extends Objet
protected $animal;
protected $date;
protected $duree;
public $_specialFields = array(
"veterinaire" => array(
"t" => "BoolField"
),
"animal" => array(
"t" => "ForeignField"
));
public function id()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment