src/Entity/Reseaux.php line 18

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\ReseauxRepository;
  8. use Doctrine\ORM\Mapping as ORM;
  9. /**
  10.  * reseaux table.
  11.  *
  12.  * @ORM\Entity(repositoryClass=ReseauxRepository::class)
  13.  * @ORM\Table(name="fusacq_dbo.reseaux")
  14.  */
  15. class Reseaux
  16. {
  17.     public const SEGMENT_TOUS '3';
  18.     public const SEGMENT_PME '2';
  19.     public const SEGMENT_TPE '1';
  20.     /**
  21.      * @var int @ORM\Id
  22.      * @ORM\Column(type="integer")
  23.      * @ORM\GeneratedValue(strategy="AUTO")
  24.      */
  25.     public $id_reseau;
  26.     /**
  27.      * @var string @ORM\Column(type="string", nullable=true, name="nom", options={"default"= null})
  28.      */
  29.     public $nom;
  30.     /**
  31.      * @var string @ORM\Column(type="string", nullable=true, name="resume", options={"default"= null})
  32.      */
  33.     public $resume;
  34.     /**
  35.      * @var string @ORM\Column(type="string", nullable=true, name="site_internet", options={"default"= null})
  36.      */
  37.     public $site_internet;
  38.     /**
  39.      * @var string @ORM\Column(type="string", nullable=true, name="mode_reseau", options={"default"= null})
  40.      */
  41.     public $mode_reseau;
  42.     /**
  43.      * @var string @ORM\Column(type="string", nullable=true, name="adresse", options={"default"= null})
  44.      */
  45.     public $adresse;
  46.     /**
  47.      * @var string @ORM\Column(type="string", nullable=true, name="code_postal", options={"default"= null})
  48.      */
  49.     public $code_postal;
  50.     /**
  51.      * @var string @ORM\Column(type="string", nullable=true, name="ville", options={"default"= null})
  52.      */
  53.     public $ville;
  54.     /**
  55.      * @var string @ORM\Column(type="string", nullable=true, name="contact", options={"default"= null})
  56.      */
  57.     public $contact;
  58.     /**
  59.      * @var string @ORM\Column(type="string", nullable=true, name="telephone", options={"default"= null})
  60.      */
  61.     public $telephone;
  62.     /**
  63.      * @var string @ORM\Column(type="integer", nullable=true, name="id_service_prestataire", options={"default"= null})
  64.      */
  65.     public $id_service_prestataire;
  66.     /**
  67.      * @var string @ORM\Column(type="integer", nullable=true, name="segments_classements_concernes", options={"default"= null})
  68.      */
  69.     public $segments_classements_concernes;
  70.     
  71.     public function __get($property)
  72.     {
  73.         return $this->$property;
  74.     }
  75.     
  76.     public function __set($property$value)
  77.     {
  78.         $this->$property $value;
  79.     }
  80. }