src/Entity/CoordonneesServicePrestataire.php line 16

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4.  * @author Mehrez Labidi
  5.  */
  6. namespace App\Entity;
  7. use App\Repository\CoordonneesServicePrestataireRepository;
  8. use Doctrine\ORM\Mapping as ORM;
  9. /**
  10.  * @ORM\Entity(repositoryClass=CoordonneesServicePrestataireRepository::class)
  11.  * @ORM\Table(name="fusacq_dbo.coordonnees_service_prestataire")
  12.  */
  13. class CoordonneesServicePrestataire {
  14.     /**
  15.      * @var int @ORM\Id
  16.      * @ORM\Column(type="integer")
  17.      * @ORM\GeneratedValue(strategy="AUTO")
  18.      */
  19.     public $id_coordonnees;
  20.     /**
  21.      * @var string @ORM\Column(type="integer", nullable=true, name="id_service_prestataire", options={"default"= null})
  22.      */
  23.     public $id_service_prestataire;
  24.     /**
  25.      * @var string @ORM\Column(type="integer", nullable=true, name="id_societe_prestataire", options={"default"= null})
  26.      */
  27.     public $id_societe_prestataire;
  28.     /**
  29.      * @var string @ORM\Column(type="string", nullable=true, name="adresse", options={"default"= null})
  30.      */
  31.     public $adresse;
  32.     /**
  33.      * @var string @ORM\Column(type="string", nullable=true, name="code_postal", options={"default"= null})
  34.      */
  35.     public $code_postal;
  36.     /**
  37.      * @var string @ORM\Column(type="string", nullable=true, name="ville", options={"default"= null})
  38.      */
  39.     public $ville;
  40.     /**
  41.      * @var string @ORM\Column(type="string", nullable=true, name="pays", options={"default"= null})
  42.      */
  43.     public $pays;
  44.     /**
  45.      * @var string @ORM\Column(type="string", nullable=true, name="nom_contact1", options={"default"= null})
  46.      */
  47.     public $nom_contact1;
  48.     /**
  49.      * @var string @ORM\Column(type="string", nullable=true, name="email_contact1", options={"default"= null})
  50.      */
  51.     public $email_contact1;
  52.     /**
  53.      * @var string @ORM\Column(type="string", nullable=true, name="nom_contact2", options={"default"= null})
  54.      */
  55.     public $nom_contact2;
  56.     /**
  57.      * @var string @ORM\Column(type="string", nullable=true, name="email_contact2", options={"default"= null})
  58.      */
  59.     public $email_contact2;
  60.     /**
  61.      * @var string @ORM\Column(type="string", nullable=true, name="telephone", options={"default"= null})
  62.      */
  63.     public $telephone;
  64.     /**
  65.      * @var string @ORM\Column(type="string", nullable=true, name="indicatif_telephone", options={"default"= null})
  66.      */
  67.     public $indicatif_telephone;
  68.     /**
  69.      * @var string @ORM\Column(type="string", nullable=true, name="fax", options={"default"= null})
  70.      */
  71.     public $fax;
  72.     /**
  73.      * @var string @ORM\Column(type="string", nullable=true, name="telephone_contact1", options={"default"= null})
  74.      */
  75.     public $telephone_contact1;
  76.     /**
  77.      * @var string @ORM\Column(type="string", nullable=true, name="indicatif_telephone_contact1", options={"default"= null})
  78.      */
  79.     public $indicatif_telephone_contact1;
  80.     /**
  81.      * @var string @ORM\Column(type="string", nullable=true, name="telephone_contact2", options={"default"= null})
  82.      */
  83.     public $telephone_contact2;
  84.     /**
  85.      * @var string @ORM\Column(type="string", nullable=true, name="indicatif_telephone_contact2", options={"default"= null})
  86.      */
  87.     public $indicatif_telephone_contact2;
  88.     public function _get($property) {
  89.         return $this->$property;
  90.     }
  91.     public function _set($property$value) {
  92.         $this->$property $value;
  93.     }
  94.     public function getAttribute() {
  95.         return array_keys(get_class_vars(get_class($this)));
  96.     }
  97.      public function getId() {
  98.         return $this->id_coordonnees;
  99.     }
  100. }