src/Entity/FondsInvestissement.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Doctrine\Common\Collections\ArrayCollection;
  5. /**
  6.  * @ORM\Entity
  7.  * @ORM\Table(name="fusacq_dbo.societe_gestionnaire_fonds")
  8.  */
  9. class FondsInvestissement{
  10.     /**
  11.      *
  12.      * @var int @ORM\Id
  13.      *      @ORM\Column(type="integer",name="id_gestionnaire_fonds")
  14.      *      @ORM\GeneratedValue(strategy="AUTO")
  15.      */
  16.     protected $id_gestionnaire_fonds;
  17.         /**
  18.      * @ORM\ManyToMany(targetEntity="Participation")
  19.      * @ORM\JoinTable(name="lien_participations_fonds",
  20.      *      joinColumns={@ORM\JoinColumn(name="id_gestionnaire_fonds", referencedColumnName="id_gestionnaire_fonds")},
  21.      *      inverseJoinColumns={@ORM\JoinColumn(name="id_participation", referencedColumnName="id_societe")}
  22.      *      )
  23.      */
  24.     protected $participations;
  25.     /**
  26.      *
  27.      * @var string @ORM\Column(type="string", nullable=true, name="mode", options={"default"= null})
  28.      */
  29.     protected $mode;
  30.     /**
  31.      *
  32.      * @var string @ORM\Column(type="string", nullable=true, name="nom_societe", options={"default"= null})
  33.      */
  34.     protected $nom_societe;
  35.     /**
  36.      *
  37.      * @var string @ORM\Column(type="string", nullable=true, name="adresse_societe", options={"default"= null})
  38.      */
  39.     protected $adresse_societe;
  40.     /**
  41.      *
  42.      * @var string @ORM\Column(type="string", nullable=true, name="code_postal_societe", options={"default"= null})
  43.      */
  44.     protected $code_postal_societe;
  45.     /**
  46.      *
  47.      * @var string @ORM\Column(type="string", nullable=true, name="ville_societe", options={"default"= null})
  48.      */
  49.     protected $ville_societe;
  50.     /**
  51.      *
  52.      * @var string @ORM\Column(type="string", nullable=true, name="site_internet", options={"default"= null})
  53.      */
  54.     protected $site_internet;
  55.     /**
  56.      *
  57.      * @var string @ORM\Column(type="string", nullable=true, name="src_image_si_artviper_desactive", options={"default"= "https://content.fusacq.com/static/raw-fusacq/css/images/logo_annu_fond_invest.gif"})
  58.      */
  59.     protected $src_image_si_artviper_desactive;
  60.     /**
  61.      *
  62.      * @var string @ORM\Column(type="string", nullable=true, name="nom_contact", options={"default"= null})
  63.      */
  64.     protected $nom_contact;
  65.     /**
  66.      *
  67.      * @var string @ORM\Column(type="string", nullable=true, name="mail_contact", options={"default"= null})
  68.      */
  69.     protected $mail_contact;
  70.     /**
  71.      *
  72.      * @var string @ORM\Column(type="string", nullable=true, name="telephone", options={"default"= null})
  73.      */
  74.     protected $telephone;
  75.     /**
  76.      *
  77.      * @var string @ORM\Column(type="string", nullable=true, name="indicatif", options={"default"= null})
  78.      */
  79.     protected $indicatif;
  80.     /**
  81.      *
  82.      * @var string @ORM\Column(type="string", nullable=true, name="fax", options={"default"= null})
  83.      */
  84.     protected $fax;
  85.     /**
  86.      *
  87.      * @var string @ORM\Column(type="string", nullable=true, name="id_pays", options={"default"= null})
  88.      */
  89.     protected $id_pays;
  90.     /**
  91.      *
  92.      * @var string @ORM\Column(type="string", nullable=true, name="id_region", options={"default"= null})
  93.      */
  94.     protected $id_region;
  95.     /**
  96.      *
  97.      * @var string @ORM\Column(type="string", nullable=true, name="id_autres_localisations", options={"default"= null})
  98.      */
  99.     protected $id_autres_localisations;
  100.     /**
  101.      *
  102.      * @var string @ORM\Column(type="string", nullable=true, name="date_mise_a_jour", options={"default"= null})
  103.      */
  104.     protected $date_mise_a_jour;
  105.     /**
  106.      *
  107.      * @var string @ORM\Column(type="string", nullable=true, name="fichier_joint", options={"default"= null})
  108.      */
  109.     protected $fichier_joint;
  110.     /**
  111.      *
  112.      * @var string @ORM\Column(type="text", nullable=true, name="strategie_globale_investissement", options={"default"= null})
  113.      */
  114.     protected $strategie_globale_investissement;
  115.     /**
  116.      *
  117.      * @var string @ORM\Column(type="string", nullable=true, name="login_demande_publication", options={"default"= null})
  118.      */
  119.     protected $login_demande_publication;
  120.     /**
  121.      *
  122.      * @var string @ORM\Column(type="string", nullable=true, name="date_relance_suivi", options={"default"= null})
  123.      */
  124.     protected $date_relance_suivi;
  125.     /**
  126.      *
  127.      * @var string @ORM\Column(type="text", nullable=true, name="suivi", options={"default"= null})
  128.      */
  129.     protected $suivi;
  130.     /**
  131.      *
  132.      * @var string @ORM\Column(type="string", nullable=true, name="societe_active", options={"default"= null})
  133.      */
  134.     protected $societe_active;
  135.     /**
  136.      *
  137.      * @var string @ORM\Column(type="string", nullable=true, name="type_utilisation", options={"default"= null})
  138.      */
  139.     protected $type_utilisation;
  140.     /**
  141.      *
  142.      * @var string @ORM\Column(type="string", nullable=true, name="date_relance", options={"default"= null})
  143.      */
  144.     protected $date_relance;
  145.     /**
  146.      *
  147.      * @var string @ORM\Column(type="string", nullable=true, name="relance_mise_a_jour", options={"default"= null})
  148.      */
  149.     protected $relance_mise_a_jour;
  150.     /**
  151.      *
  152.      * @var string @ORM\Column(type="string", nullable=true, name="login_resp_tache", options={"default"= null})
  153.      */
  154.     protected $login_resp_tache;
  155.     /**
  156.      *
  157.      * @var string @ORM\Column(type="string", nullable=true, name="logos", options={"default"= null})
  158.      */
  159.     protected $logos;
  160.     /**
  161.      *
  162.      * @var string @ORM\Column(type="string", nullable=true, name="date_derniere_MAJ_participations", options={"default"= null})
  163.      */
  164.     protected $date_derniere_MAJ_participations;
  165.     /**
  166.      *
  167.      * @var string @ORM\Column(type="integer", nullable=true, name="id_service_prestataire_associe", options={"default"= null})
  168.      */
  169.     protected $id_service_prestataire_associe;
  170.     /**
  171.      *
  172.      * @var string @ORM\Column(type="decimal", nullable=true, name="montant_investissement_min", options={"default"= null})
  173.      */
  174.     protected $montant_investissement_min;
  175.     /**
  176.      *
  177.      * @var string @ORM\Column(type="decimal", nullable=true, name="montant_investissement_min_devise", options={"default"= null})
  178.      */
  179.     protected $montant_investissement_min_devise;
  180.     /**
  181.      *
  182.      * @var string @ORM\Column(type="decimal", nullable=true, name="montant_investissement_max", options={"default"= null})
  183.      */
  184.     protected $montant_investissement_max;
  185.     /**
  186.      *
  187.      * @var string @ORM\Column(type="decimal", nullable=true, name="montant_investissement_max_devise", options={"default"= null})
  188.      */
  189.     protected $montant_investissement_max_devise;
  190.     /**
  191.      *
  192.      * @var string @ORM\Column(type="string", nullable=true, name="devise", options={"default"= null})
  193.      */
  194.     protected $devise;
  195.     /**
  196.      *
  197.      * @var string @ORM\Column(type="float", nullable=false, name="taux_change")
  198.      */
  199.     protected $taux_change;
  200.     /**
  201.      *
  202.      * @var string @ORM\Column(type="string", nullable=true, name="type_investissement", options={"default"= null})
  203.      */
  204.     protected $type_investissement;
  205.     /**
  206.      *
  207.      * @var string @ORM\Column(type="string", nullable=true, name="stade_investissement", options={"default"= null})
  208.      */
  209.     protected $stade_investissement;
  210.     /**
  211.      *
  212.      * @var string @ORM\Column(type="string", nullable=true, name="etat_fusacq_bot_actu", options={"default"= null})
  213.      */
  214.     protected $etat_fusacq_bot_actu;
  215.     /**
  216.      *
  217.      * @var string @ORM\Column(type="text", nullable=true, name="suivi_bot_actu", options={"default"= null})
  218.      */
  219.     protected $suivi_bot_actu;
  220.     /**
  221.      *
  222.      * @var string @ORM\Column(type="string", nullable=true, name="etat_fusacq_bot_part", options={"default"= null})
  223.      */
  224.     protected $etat_fusacq_bot_part;
  225.     /**
  226.      *
  227.      * @var string @ORM\Column(type="text", nullable=true, name="suivi_bot_part", options={"default"= null})
  228.      */
  229.     protected $suivi_bot_part;
  230.     /**
  231.      *
  232.      * @var string @ORM\Column(type="integer", nullable=true, name="date_relance_respo", options={"default"= null})
  233.      */
  234.     protected $date_relance_respo;
  235.     /**
  236.      *
  237.      * @var string @ORM\Column(type="integer", nullable=true, name="date_valide_respo", options={"default"= null})
  238.      */
  239.     protected $date_valide_respo;
  240.     /**
  241.      *
  242.      * @var string @ORM\Column(type="string", nullable=true, name="id_secteur_activite", options={"default"= null})
  243.      */
  244.     protected $id_secteur_activite;
  245.     /**
  246.      *
  247.      * @var string @ORM\Column(type="string", nullable=true, name="mail_respon_maj", options={"default"= null})
  248.      */
  249.     protected $mail_respon_maj;
  250.     /**
  251.      *
  252.      * @var string @ORM\Column(type="string", nullable=true, name="regions_ciblees", options={"default"= null})
  253.      */
  254.     protected $regions_ciblees;
  255.     /**
  256.      * @var string @ORM\Column(type="string", nullable=true, name="pays_ciblees", options={"default"= null})
  257.      */
  258.     protected $pays_ciblees;
  259.     protected $nom_localisation;
  260.     protected $nb_participation;
  261.     protected $url;
  262.     /**
  263.      * @var string @ORM\Column(type="string", nullable=true, name="utiliser_artviper", options={"default"= null})
  264.      */
  265.     protected $utiliser_artviper;
  266.     /**
  267.      * Initialies the contacts variable.
  268.      */
  269.     public function __construct() {
  270.         $this->participations = new ArrayCollection ();
  271.     }
  272.     public function addParticipations($participation) {
  273.         $this->participations [] = $participation;
  274.     }
  275.     public function getParticipations() {
  276.         return $this->participations;
  277.     }
  278.     /**
  279.      * Magic getter to expose protected properties.
  280.      *
  281.      * @param string $property
  282.      * @return mixed
  283.      */
  284.     public function _get($property)
  285.     {
  286.         return $this->$property;
  287.     }
  288.     
  289.     /**
  290.      * Magic setter to save protected properties.
  291.      *
  292.      * @param string $property
  293.      * @param mixed $value
  294.      */
  295.     public function _set($property$value)
  296.     {
  297.         $this->$property $value;
  298.     }
  299.     public function setUrl($seoUrlFilter) {
  300.         $this->url $seoUrlFilter->filter $this->_get("nom_societe") );
  301.     }
  302. }