<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use App\Repository\SocietesRepository;
/**
* @ORM\Entity(repositoryClass=SocietesRepository::class)
* @ORM\Table(name="fusacq_dbo.societes")
*/
class Participation{
public function __construct() {
$this->fonds = new \Doctrine\Common\Collections\ArrayCollection ();
}
/**
*
* @var int @ORM\Id
* @ORM\Column(type="integer",name="id_societe",nullable=false)
* @ORM\GeneratedValue(strategy="AUTO")
*/
protected $id_societe;
/**
* @ORM\ManyToMany(targetEntity="FondsInvestissement")
* @ORM\JoinTable(name="lien_participations_fonds",
* joinColumns={@ORM\JoinColumn(name="id_participation", referencedColumnName="id_societe")},
* inverseJoinColumns={@ORM\JoinColumn(name="id_gestionnaire_fonds", referencedColumnName="id_gestionnaire_fonds")}
* )
*/
private $fonds;
/**
*
* @var string @ORM\Column(type="integer", nullable=true, name="id_societe_news", options={"default"= 0})
*/
protected $id_societe_news;
/**
*
* @var string @ORM\Column(type="integer", nullable=true, name="id_participation", options={"default"= 0})
*/
protected $id_participation;
/**
*
* @var string @ORM\Column(type="string", nullable=true, name="mode_participation", options={"default"= null})
*/
protected $mode_participation;
/**
*
* @var string @ORM\Column(type="string", nullable=true, name="deja_publique", options={"default"= null})
*/
protected $deja_publique;
/**
*
* @var string @ORM\Column(type="string", nullable=true, name="raison_sociale", options={"default"= null})
*/
protected $raison_sociale;
/**
*
* @var string @ORM\Column(type="string", nullable=true, name="raison_sociale_formatee", options={"default"= null})
*/
protected $raison_sociale_formatee;
/**
*
* @var string @ORM\Column(type="string", nullable=true, name="nom_president", options={"default"= null})
*/
protected $nom_president;
/**
*
* @var string @ORM\Column(type="string", nullable=true, name="nom_directeur_general", options={"default"= null})
*/
protected $nom_directeur_general;
/**
*
* @var string @ORM\Column(type="text", nullable=true, name="adresse", options={"default"= null})
*/
protected $adresse;
/**
*
* @var string @ORM\Column(type="string", nullable=true, name="ville", options={"default"= null})
*/
protected $ville;
/**
*
* @var string @ORM\Column(type="string", nullable=true, name="code_postal", options={"default"= null})
*/
protected $code_postal;
/**
*
* @var string @ORM\Column(type="string", nullable=true, name="telephone", options={"default"= null})
*/
protected $telephone;
/**
*
* @var string @ORM\Column(type="string", nullable=true, name="fax", options={"default"= null})
*/
protected $fax;
/**
*
* @var string @ORM\Column(type="string", nullable=true, name="id_pays", options={"default"= null})
*/
protected $id_pays;
/**
*
* @var string @ORM\Column(type="string", nullable=true, name="id_region", options={"default"= null})
*/
protected $id_region;
/**
*
* @var string @ORM\Column(type="string", nullable=true, name="filiales_bureaux", options={"default"= null})
*/
protected $filiales_bureaux;
/**
*
* @var string @ORM\Column(type="integer", nullable=true, name="id_secteur_activite", options={"default"= null})
*/
protected $id_secteur_activite;
/**
*
* @var string @ORM\Column(type="integer", nullable=true, name="id_secteur_activite_fonds", options={"default"= null})
*/
protected $id_secteur_activite_fonds;
/**
*
* @var string @ORM\Column(type="string", nullable=true, name="site_internet", options={"default"= null})
*/
protected $site_internet;
/**
*
* @var string @ORM\Column(type="string", nullable=true, name="src_image_si_artviper_desactive", options={"default"= "http://www.fusacq.com/fr/css/images/spacer.gif"})
*/
protected $src_image_si_artviper_desactive;
/**
*
* @var string @ORM\Column(type="string", nullable=true, name="mail_contact", options={"default"= null})
*/
protected $mail_contact;
/**
*
* @var string @ORM\Column(type="string", nullable=true, name="resume_activite", options={"default"= null})
*/
protected $resume_activite;
/**
*
* @var string @ORM\Column(type="text", nullable=true, name="description_activite", options={"default"= null})
*/
protected $description_activite;
/**
*
* @var string @ORM\Column(type="text", nullable=true, name="mots_cles", options={"default"= null})
*/
protected $mots_cles;
/**
*
* @var string @ORM\Column(type="text", nullable=true, name="strategie_developpement", options={"default"= null})
*/
protected $strategie_developpement;
/**
*
* @var string @ORM\Column(type="decimal", nullable=true, name="marge_brute_n", options={"default"= null})
*/
protected $marge_brute_n;
/**
*
* @var string @ORM\Column(type="decimal", nullable=true, name="resultat_exploitation_n", options={"default"= null})
*/
protected $resultat_exploitation_n;
/**
*
* @var string @ORM\Column(type="decimal", nullable=true, name="resultat_net_n", options={"default"= null})
*/
protected $resultat_net_n;
/**
*
* @var string @ORM\Column(type="decimal", nullable=true, name="ca_n", options={"default"= null})
*/
protected $ca_n;
/**
*
* @var string @ORM\Column(type="integer", nullable=true, name="nb_personnes_n", options={"default"= null})
*/
protected $nb_personnes_n;
/**
*
* @var string @ORM\Column(type="string", nullable=true, name="annee_n", options={"default"= null})
*/
protected $annee_n;
/**
*
* @var string @ORM\Column(type="string", nullable=true, name="date_mise_a_jour", options={"default"= null})
*/
protected $date_mise_a_jour;
/**
*
* @var string @ORM\Column(type="string", nullable=true, name="fichier_joint", options={"default"= null})
*/
protected $fichier_joint;
/**
*
* @var string @ORM\Column(type="text", nullable=true, name="commentaire_interne", options={"default"= null})
*/
protected $commentaire_interne;
/**
*
* @var string @ORM\Column(type="string", nullable=true, name="societe_cotee", options={"default"= null})
*/
protected $societe_cotee;
/**
*
* @var string @ORM\Column(type="string", nullable=true, name="login_demande_publication", options={"default"= null})
*/
protected $login_demande_publication;
/**
*
* @var string @ORM\Column(type="string", nullable=true, name="date_relance", options={"default"= null})
*/
protected $date_relance;
/**
*
* @var string @ORM\Column(type="string", nullable=true, name="relance_mise_a_jour", options={"default"= null})
*/
protected $relance_mise_a_jour;
/**
*
* @var string @ORM\Column(type="string", nullable=true, name="numero_siren", options={"default"= null})
*/
protected $numero_siren;
/**
*
* @var string @ORM\Column(type="decimal", nullable=true, name="montant_total_investi", options={"default"= null})
*/
protected $montant_total_investi;
/**
*
* @var string @ORM\Column(type="integer", nullable=true, name="capital_total_investisseur", options={"default"= null})
*/
protected $capital_total_investisseur;
/**
*
* @var string @ORM\Column(type="string", nullable=true, name="titre_newsletter", options={"default"= null})
*/
protected $titre_newsletter;
/**
*
* @var string @ORM\Column(type="text", nullable=true, name="resume_newsletter", options={"default"= null})
*/
protected $resume_newsletter;
/**
*
* @var string @ORM\Column(type="string", nullable=true, name="date_dernier_investissement", options={"default"= null})
*/
protected $date_dernier_investissement;
/**
*
* @var string @ORM\Column(type="integer", nullable=true, name="type_profil_participation", options={"default"= null})
*/
protected $type_profil_participation;
/**
*
* @var string @ORM\Column(type="string", nullable=true, name="mode_societe", options={"default"= "publique"})
*/
protected $mode_societe;
/**
*
* @var string @ORM\Column(type="string", nullable=true, name="utiliser_artviper", options={"default"= "oui"})
*/
protected $utiliser_artviper;
/**
*
* @var string @ORM\Column(type="string", nullable=true, name="numero_siret", options={"default"= null})
*/
protected $numero_siret;
/**
*
* @var string @ORM\Column(type="string", nullable=true, name="code_naf", options={"default"= null})
*/
protected $code_naf;
/**
*
* @var string @ORM\Column(type="string", nullable=true, name="vignette", options={"default"= null})
*/
protected $vignette;
/**
*
* @var string @ORM\Column(type="string", nullable=true, name="vignette_small", options={"default"= null})
*/
protected $vignette_small;
/**
*
* @var string @ORM\Column(type="integer", nullable=true, name="ca_n_inf", options={"default"= null})
*/
protected $ca_n_inf;
/**
*
* @var string @ORM\Column(type="integer", nullable=true, name="ca_n_sup", options={"default"= null})
*/
protected $ca_n_sup;
/**
*
* @var string @ORM\Column(type="integer", nullable=true, name="id_societe_mere", options={"default"= null})
*/
protected $id_societe_mere;
protected $url;
/**
* Magic getter to expose protected properties.
*
* @param string $property
* @return mixed
*/
public function _get($property)
{
return $this->$property;
}
/**
* Magic setter to save protected properties.
*
* @param string $property
* @param mixed $value
*/
public function _set($property, $value)
{
$this->$property = $value;
}
public function addFonds($fonds) {
$this->fonds [] = $fonds;
}
public function getFondsCollection() {
return $this->fonds;
}
public function getFonds() {
return $this->fonds->getValues ();
}
public function setUrl($seoUrlFilter) {
$this->url = $seoUrlFilter->filter ( $this->_get("raison_sociale") );
}
}