src/Entity/SocietesPrestataire.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\SocietesPrestataireRepository;
  8. use Doctrine\ORM\Mapping as ORM;
  9. /**
  10.  * societes_prestataire table.
  11.  *
  12.  * @ORM\Entity(repositoryClass=SocietesPrestataireRepository::class)
  13.  * @ORM\Table(name="fusacq_dbo.societes_prestataire")
  14.  */
  15. class SocietesPrestataire {
  16.     public const SEGMENT_TOUS '3';
  17.     public const SEGMENT_PME '2';
  18.     public const SEGMENT_TPE '1';
  19.     public const ETAT_ABO = ["attente""actif"NULL];
  20.     /**
  21.      * @var int @ORM\Id
  22.      * @ORM\Column(type="integer")
  23.      * @ORM\GeneratedValue(strategy="AUTO")
  24.      */
  25.     protected $id_societe_prestataire;
  26.     /**
  27.      * @var string @ORM\Column(type="string", nullable=true, name="raison_sociale", options={"default"= null})
  28.      */
  29.     protected $raison_sociale;
  30.     /**
  31.      * @var string @ORM\Column(type="string", nullable=true, name="contact_facturation", options={"default"= null})
  32.      */
  33.     protected $contact_facturation;
  34.     /**
  35.      * @var string @ORM\Column(type="string", nullable=true, name="adresse", options={"default"= null})
  36.      */
  37.     protected $adresse;
  38.     /**
  39.      * @var string @ORM\Column(type="string", nullable=true, name="code_postal", options={"default"= null})
  40.      */
  41.     protected $code_postal;
  42.     /**
  43.      * @var string @ORM\Column(type="string", nullable=true, name="ville", options={"default"= null})
  44.      */
  45.     protected $ville;
  46.     /**
  47.      * @var string @ORM\Column(type="string", nullable=true, name="pays", options={"default"= null})
  48.      */
  49.     protected $pays;
  50.     /**
  51.      * @var string @ORM\Column(type="string", nullable=true, name="telephone", options={"default"= null})
  52.      */
  53.     protected $telephone;
  54.     /**
  55.      * @var string @ORM\Column(type="string", nullable=true, name="fax", options={"default"= null})
  56.      */
  57.     protected $fax;
  58.     /**
  59.      * @var string @ORM\Column(type="string", nullable=true, name="login_utilisateur", options={"default"= null})
  60.      */
  61.     protected $login_utilisateur;
  62.     /**
  63.      * @var string @ORM\Column(type="string", nullable=true, name="mail_contact", options={"default"= null})
  64.      */
  65.     protected $mail_contact;
  66.     /**
  67.      * @var string @ORM\Column(type="string", nullable=true, name="etat_abonnement", options={"default"= null})
  68.      */
  69.     protected $etat_abonnement;
  70.     /**
  71.      * @var string @ORM\Column(type="string", nullable=true, name="reference_abonnement", options={"default"= null})
  72.      */
  73.     protected $reference_abonnement;
  74.     /**
  75.      * @var string @ORM\Column(type="string", nullable=true, name="relance_fin_carte", options={"default"= null})
  76.      */
  77.     protected $relance_fin_carte;
  78.     /**
  79.      * @var string @ORM\Column(type="string", nullable=true, name="type_pays", options={"default"= null})
  80.      */
  81.     protected $type_pays;
  82.     /**
  83.      * @var string @ORM\Column(type="string", nullable=true, name="numero_tva", options={"default"= null})
  84.      */
  85.     protected $numero_tva;
  86.     /**
  87.      * @var string @ORM\Column(type="string", nullable=true, name="complement_abonnement", options={"default"= null})
  88.      */
  89.     protected $complement_abonnement;
  90.     /**
  91.      * @var string @ORM\Column(type="string", nullable=true, name="mode_reglement_abonnement", options={"default"= null})
  92.      */
  93.     protected $mode_reglement_abonnement;
  94.     /**
  95.      * @var string @ORM\Column(type="string", nullable=true, name="nb_prestations_sans_cb", options={"default"= null})
  96.      */
  97.     protected $nb_prestations_sans_cb;
  98.     /**
  99.      * @var string @ORM\Column(type="string", nullable=true, name="nb_coordonnees_par_service", options={"default"= null})
  100.      */
  101.     protected $nb_coordonnees_par_service;
  102.     /**
  103.      * @var string @ORM\Column(type="string", nullable=true, name="parametres_blog_site", options={"default"= null})
  104.      */
  105.     protected $parametres_blog_site;
  106.     /**
  107.      * @var string @ORM\Column(type="string", nullable=true, name="code_acces_blog", options={"default"= null})
  108.      */
  109.     protected $code_acces_blog;
  110.     /**
  111.      * @var string @ORM\Column(type="string", nullable=true, name="abonnements_autres_services", options={"default"= null})
  112.      */
  113.     protected $abonnements_autres_services;
  114.     /**
  115.      * @var string @ORM\Column(type="string", nullable=true, name="date_debut_referencement", options={"default"= null})
  116.      */
  117.     protected $date_debut_referencement;
  118.     /**
  119.      * @var string @ORM\Column(type="string", nullable=true, name="date_fin_referencement", options={"default"= null})
  120.      */
  121.     protected $date_fin_referencement;
  122.     /**
  123.      * @var string @ORM\Column(type="string", nullable=true, name="cession_droit_auteur", options={"default"= null})
  124.      */
  125.     protected $cession_droit_auteur;
  126.     /**
  127.      * @var string @ORM\Column(type="integer", nullable=true, name="segments_classements_concernes", options={"default"= null})
  128.      */
  129.     protected $segments_classements_concernes;
  130.     public function __get($property) {
  131.         return $this->$property;
  132.     }
  133.     public function __set($property$value) {
  134.         $this->$property $value;
  135.     }
  136.     public function _get($property) {
  137.         return $this->$property;
  138.     }
  139.     public function _set($property$value) {
  140.         $this->$property $value;
  141.     }
  142.     /**
  143.      * @return int
  144.      */
  145.     public function getId() {
  146.         return $this->id_societe_prestataire;
  147.     }
  148.     public function getCode() {
  149.         return $this->code_acces_blog;
  150.     }
  151.     public function getParametres() {
  152.         return $this->parametres_blog_site;
  153.     }
  154. }