vendor/theatre/core/src/Entity/Contacts.php line 14

Open in your IDE?
  1. <?php
  2. namespace TheatreCore\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Symfony\Component\Validator\Constraints as Assert;
  5. /**
  6.  * Contacts
  7.  *
  8.  * @ORM\Table(name="contacts", uniqueConstraints={@ORM\UniqueConstraint(name="url_clean", columns={"url_clean"})}, indexes={@ORM\Index(name="publish", columns={"publish"}), @ORM\Index(name="idextranetuser", columns={"idextranetuser"}), @ORM\Index(name="idtypestructure", columns={"idtypestructure"}), @ORM\Index(name="organisation", columns={"organisation"}), @ORM\Index(name="url_redirect", columns={"url_redirect"}), @ORM\Index(name="ga_tracking_id", columns={"ga_tracking_id"}), @ORM\Index(name="city", columns={"city"}), @ORM\Index(name="lastname", columns={"lastname"}), @ORM\Index(name="country", columns={"country"})})
  9.  * @ORM\Entity(repositoryClass="TheatreCore\Repository\ContactsRepository")
  10.  */
  11. class Contacts
  12. {
  13.     /**
  14.      * @var int
  15.      *
  16.      * @ORM\Column(name="idcontact", type="integer", nullable=false, options={"unsigned"=true})
  17.      * @ORM\Id
  18.      * @ORM\GeneratedValue(strategy="IDENTITY")
  19.      */
  20.     private $idcontact;
  21.     /**
  22.      * @var bool|null
  23.      *
  24.      * @ORM\Column(name="type", type="boolean", nullable=true, options={"default"="1","comment"="0>person, 1>organisation"})
  25.      */
  26.     private $type true;
  27.     /**
  28.      * @var string|null
  29.      *
  30.      * @ORM\Column(name="organisation", type="string", length=255, nullable=true)
  31.      *
  32.      * @Assert\NotBlank(message="Veuillez prĂ©ciser le nom")
  33.      *
  34.      */
  35.     private $organisation;
  36.     /**
  37.      * @var string|null
  38.      *
  39.      * @ORM\Column(name="nom_suite", type="string", length=255, nullable=true)
  40.      */
  41.     private $nomSuite;
  42.     /**
  43.      * @var string|null
  44.      *
  45.      * @ORM\Column(name="lastname", type="string", length=255, nullable=true)
  46.      */
  47.     private $lastname;
  48.     /**
  49.      * @var string|null
  50.      *
  51.      * @ORM\Column(name="firstname", type="string", length=255, nullable=true)
  52.      */
  53.     private $firstname;
  54.     /**
  55.      * @var string|null
  56.      *
  57.      * @ORM\Column(name="idtypestructure", type="string", length=5, nullable=true)
  58.      */
  59.     private $idtypestructure;
  60.     /**
  61.      * @var string|null
  62.      *
  63.      * @ORM\Column(name="license", type="string", length=255, nullable=true)
  64.      */
  65.     private $license;
  66.     /**
  67.      * @var string|null
  68.      *
  69.      * @ORM\Column(name="comment", type="text", length=65535, nullable=true)
  70.      */
  71.     private $comment;
  72.     /**
  73.      * @var string|null
  74.      *
  75.      * @ORM\Column(name="private_comment", type="text", length=65535, nullable=true)
  76.      */
  77.     private $privateComment;
  78.     /**
  79.      * @var string|null
  80.      *
  81.      * @ORM\Column(name="address1", type="text", length=255, nullable=true)
  82.      */
  83.     private $address1;
  84.     /**
  85.      * @var string|null
  86.      *
  87.      * @ORM\Column(name="address2", type="text", length=255, nullable=true)
  88.      */
  89.     private $address2;
  90.     /**
  91.      * @var string|null
  92.      *
  93.      * @ORM\Column(name="zip", type="string", length=16, nullable=true)
  94.      */
  95.     private $zip;
  96.     /**
  97.      * @var string|null
  98.      *
  99.      * @ORM\Column(name="city", type="string", length=50, nullable=true)
  100.      */
  101.     private $city;
  102.     /**
  103.      * @var string|null
  104.      *
  105.      * @ORM\Column(name="phone1", type="text", length=255, nullable=true)
  106.      */
  107.     private $phone1;
  108.     /**
  109.      * @var string|null
  110.      *
  111.      * @ORM\Column(name="phone2", type="text", length=255, nullable=true)
  112.      */
  113.     private $phone2;
  114.     /**
  115.      * @var string|null
  116.      *
  117.      * @ORM\Column(name="fax", type="text", length=255, nullable=true)
  118.      */
  119.     private $fax;
  120.     /**
  121.      * @var string|null
  122.      *
  123.      * @ORM\Column(name="email1", type="text", length=255, nullable=true)
  124.      */
  125.     private $email1;
  126.     /**
  127.      * @var bool
  128.      *
  129.      * @ORM\Column(name="email1_online", type="boolean", nullable=false)
  130.      */
  131.     private $email1Online false;
  132.     /**
  133.      * @var bool
  134.      *
  135.      * @ORM\Column(name="email2_online", type="boolean", nullable=false)
  136.      */
  137.     private $email2Online false;
  138.     /**
  139.      * @var string|null
  140.      *
  141.      * @ORM\Column(name="email2", type="text", length=255, nullable=true)
  142.      */
  143.     private $email2;
  144.     /**
  145.      * @var string|null
  146.      *
  147.      * @ORM\Column(name="url", type="text", length=255, nullable=true)
  148.      */
  149.     private $url;
  150.     /**
  151.      * @var string|null
  152.      *
  153.      * @ORM\Column(name="url_ticket", type="string", length=255, nullable=true)
  154.      */
  155.     private $urlTicket;
  156.     /**
  157.      * @var string|null
  158.      *
  159.      * @ORM\Column(name="facebook", type="string", length=250, nullable=true)
  160.      */
  161.     private $facebook;
  162.     /**
  163.      * @var string|null
  164.      *
  165.      * @ORM\Column(name="twitter", type="string", length=250, nullable=true)
  166.      */
  167.     private $twitter;
  168.     /**
  169.      * @var string|null
  170.      *
  171.      * @ORM\Column(name="instagram", type="string", length=250, nullable=true)
  172.      */
  173.     private $instagram;
  174.     /**
  175.      * @var string|null
  176.      *
  177.      * @ORM\Column(name="mobile", type="string", length=31, nullable=true)
  178.      */
  179.     private $mobile;
  180.     /**
  181.      * @var bool|null
  182.      *
  183.      * @ORM\Column(name="geocodable", type="boolean", nullable=true)
  184.      */
  185.     private $geocodable false;
  186.     /**
  187.      * @var string|null
  188.      *
  189.      * @ORM\Column(name="x", type="decimal", precision=10, scale=8, nullable=true, options={"default"="0.00000000"})
  190.      */
  191.     private $x '0.00000000';
  192.     /**
  193.      * @var string|null
  194.      *
  195.      * @ORM\Column(name="y", type="decimal", precision=10, scale=8, nullable=true, options={"default"="0.00000000"})
  196.      */
  197.     private $y '0.00000000';
  198.     /**
  199.      * @var int|null
  200.      *
  201.      * @ORM\Column(name="idmultimedia", type="integer", nullable=true, options={"unsigned"=true})
  202.      */
  203.     private $idmultimedia;
  204.     /**
  205.      * @var bool|null
  206.      *
  207.      * @ORM\Column(name="type_view", type="boolean", nullable=true)
  208.      */
  209.     private $typeView;
  210.     /**
  211.      * @var bool|null
  212.      *
  213.      * @ORM\Column(name="stats_access", type="boolean", nullable=true)
  214.      */
  215.     private $statsAccess;
  216.     /**
  217.      * @var string|null
  218.      *
  219.      * @ORM\Column(name="ga_tracking_id", type="string", length=250, nullable=true)
  220.      */
  221.     private $gaTrackingId;
  222.     /**
  223.      * @var bool|null
  224.      *
  225.      * @ORM\Column(name="is_festival", type="boolean", nullable=true)
  226.      */
  227.     private $isFestival;
  228.     /**
  229.      * @var bool|null
  230.      *
  231.      * @ORM\Column(name="link_on_video", type="boolean", nullable=true)
  232.      */
  233.     private $linkOnVideo;
  234.     /**
  235.      * @var bool|null
  236.      *
  237.      * @ORM\Column(name="is_partenaire", type="boolean", nullable=true)
  238.      */
  239.     private $isPartenaire;
  240.     /**
  241.      * @var int
  242.      *
  243.      * @ORM\Column(name="valid_version", type="integer", nullable=false)
  244.      */
  245.     private $validVersion false;
  246.     /**
  247.      * @var string|null
  248.      *
  249.      * @ORM\Column(name="other_versions", type="text", length=65535, nullable=true)
  250.      */
  251.     private $otherVersions;
  252.     /**
  253.      * @var string|null
  254.      *
  255.      * @ORM\Column(name="url_redirect", type="string", length=250, nullable=true)
  256.      */
  257.     private $urlRedirect;
  258.     /**
  259.      * @var string
  260.      *
  261.      * @ORM\Column(name="url_clean", type="string", length=250, nullable=false)
  262.      */
  263.     private $urlClean;
  264.     /**
  265.      * @var \DateTime|null
  266.      *
  267.      * @ORM\Column(name="dateupdate", type="datetime", nullable=true)
  268.      */
  269.     private $dateupdate;
  270.     /**
  271.      * @var \DateTime|null
  272.      *
  273.      * @ORM\Column(name="dateinsert", type="datetime", nullable=true)
  274.      */
  275.     private $dateinsert;
  276.     /**
  277.      * @var bool
  278.      *
  279.      * @ORM\Column(name="publish", type="integer", nullable=false, options={"default"="1"})
  280.      */
  281.     private $publish true;
  282.     /**
  283.      * @var bool
  284.      *
  285.      * @ORM\Column(name="valid", type="integer", nullable=false)
  286.      */
  287.     private $valid 0;
  288.     /**
  289.      * @var \Countries
  290.      *
  291.      * @ORM\ManyToOne(targetEntity="Countries")
  292.      * @ORM\JoinColumns({
  293.      *   @ORM\JoinColumn(name="country", referencedColumnName="id")
  294.      * })
  295.      */
  296.     private $country;
  297.     /**
  298.      * @var \Extranetusers
  299.      *
  300.      * @ORM\ManyToOne(targetEntity="Extranetusers")
  301.      * @ORM\JoinColumns({
  302.      *   @ORM\JoinColumn(name="idextranetuser", referencedColumnName="idextranetuser")
  303.      * })
  304.      */
  305.     private $idextranetuser;
  306.     /**
  307.      * @var \Doctrine\Common\Collections\Collection
  308.      *
  309.      * @ORM\ManyToMany(targetEntity="Classifications", inversedBy="idcontact")
  310.      * @ORM\JoinTable(name="contact_classification",
  311.      *   joinColumns={
  312.      *     @ORM\JoinColumn(name="idcontact", referencedColumnName="idcontact")
  313.      *   },
  314.      *   inverseJoinColumns={
  315.      *     @ORM\JoinColumn(name="idclassification", referencedColumnName="idclassification")
  316.      *   }
  317.      * )
  318.      */
  319.     private $idclassification;
  320.     /**
  321.      * @var \Doctrine\Common\Collections\Collection
  322.      *
  323.      * @ORM\ManyToMany(targetEntity="Extranetusers", inversedBy="idcontact")
  324.      * @ORM\JoinTable(name="contact_extranetuser",
  325.      *   joinColumns={
  326.      *     @ORM\JoinColumn(name="idcontact", referencedColumnName="idcontact")
  327.      *   },
  328.      *   inverseJoinColumns={
  329.      *     @ORM\JoinColumn(name="contact_idextranetuser", referencedColumnName="idextranetuser")
  330.      *   }
  331.      * )
  332.      */
  333.     private $contactextranetuser;
  334.     /**
  335.      * @var \Doctrine\Common\Collections\Collection
  336.      *
  337.      * @ORM\ManyToMany(targetEntity="Contents", mappedBy="publishercontact")
  338.      */
  339.     private $idcontent;
  340.     /**
  341.      * @var \Doctrine\Common\Collections\Collection
  342.      *
  343.      * @ORM\ManyToMany(targetEntity="News", mappedBy="idcontact")
  344.      */
  345.     private $idnew;
  346.     /**
  347.      * @var \Doctrine\Common\Collections\Collection
  348.      *
  349.      * @ORM\ManyToMany(targetEntity="Persons", mappedBy="idcontact")
  350.      */
  351.     private $idperson;
  352.     /**
  353.      * @var \Doctrine\Common\Collections\Collection
  354.      *
  355.      * @ORM\ManyToMany(targetEntity="Podcasts", mappedBy="idcontact")
  356.      */
  357.     private $idpodcast;
  358.     /**
  359.      * @var \aides
  360.      *
  361.      * @ORM\OneToMany(targetEntity="ContactAide", mappedBy="idcontact")
  362.      */
  363.     private $aides;
  364.     /**
  365.      * @var \saisons
  366.      *
  367.      * @ORM\OneToMany(targetEntity="Contactsaisons", mappedBy="idcontact")
  368.      */
  369.     private $saisons;
  370.     /**
  371.      * Constructor
  372.      */
  373.     public function __construct()
  374.     {
  375.         $this->idclassification = new \Doctrine\Common\Collections\ArrayCollection();
  376.         $this->contactextranetuser = new \Doctrine\Common\Collections\ArrayCollection();
  377.         $this->idcontent = new \Doctrine\Common\Collections\ArrayCollection();
  378.         $this->idnew = new \Doctrine\Common\Collections\ArrayCollection();
  379.         $this->idperson = new \Doctrine\Common\Collections\ArrayCollection();
  380.         $this->idpodcast = new \Doctrine\Common\Collections\ArrayCollection();
  381.         $this->aides = new \Doctrine\Common\Collections\ArrayCollection();
  382.         $this->saisons = new \Doctrine\Common\Collections\ArrayCollection();
  383.     }
  384.     /**
  385.      * Get idcontact.
  386.      *
  387.      * @return int
  388.      */
  389.     public function getIdcontact()
  390.     {
  391.         return $this->idcontact;
  392.     }
  393.     /**
  394.      * Set type.
  395.      *
  396.      * @param bool|null $type
  397.      *
  398.      * @return Contacts
  399.      */
  400.     public function setType($type null)
  401.     {
  402.         $this->type $type;
  403.         return $this;
  404.     }
  405.     /**
  406.      * Get type.
  407.      *
  408.      * @return bool|null
  409.      */
  410.     public function getType()
  411.     {
  412.         return $this->type;
  413.     }
  414.     /**
  415.      * Set organisation.
  416.      *
  417.      * @param string|null $organisation
  418.      *
  419.      * @return Contacts
  420.      */
  421.     public function setOrganisation($organisation null)
  422.     {
  423.         $this->organisation $organisation;
  424.         return $this;
  425.     }
  426.     /**
  427.      * Get organisation.
  428.      *
  429.      * @return string|null
  430.      */
  431.     public function getOrganisation()
  432.     {
  433.         return $this->organisation;
  434.     }
  435.     /**
  436.      * Set nomSuite.
  437.      *
  438.      * @param string|null $nomSuite
  439.      *
  440.      * @return Contacts
  441.      */
  442.     public function setNomSuite($nomSuite null)
  443.     {
  444.         $this->nomSuite $nomSuite;
  445.         return $this;
  446.     }
  447.     /**
  448.      * Get nomSuite.
  449.      *
  450.      * @return string|null
  451.      */
  452.     public function getNomSuite()
  453.     {
  454.         return $this->nomSuite;
  455.     }
  456.     /**
  457.      * Set lastname.
  458.      *
  459.      * @param string|null $lastname
  460.      *
  461.      * @return Contacts
  462.      */
  463.     public function setLastname($lastname null)
  464.     {
  465.         $this->lastname $lastname;
  466.         return $this;
  467.     }
  468.     /**
  469.      * Get lastname.
  470.      *
  471.      * @return string|null
  472.      */
  473.     public function getLastname()
  474.     {
  475.         return $this->lastname;
  476.     }
  477.     /**
  478.      * Set firstname.
  479.      *
  480.      * @param string|null $firstname
  481.      *
  482.      * @return Contacts
  483.      */
  484.     public function setFirstname($firstname null)
  485.     {
  486.         $this->firstname $firstname;
  487.         return $this;
  488.     }
  489.     /**
  490.      * Get firstname.
  491.      *
  492.      * @return string|null
  493.      */
  494.     public function getFirstname()
  495.     {
  496.         return $this->firstname;
  497.     }
  498.     /**
  499.      * Set idtypestructure.
  500.      *
  501.      * @param string|null $idtypestructure
  502.      *
  503.      * @return Contacts
  504.      */
  505.     public function setIdtypestructure($idtypestructure null)
  506.     {
  507.         $this->idtypestructure $idtypestructure;
  508.         return $this;
  509.     }
  510.     /**
  511.      * Get idtypestructure.
  512.      *
  513.      * @return string|null
  514.      */
  515.     public function getIdtypestructure()
  516.     {
  517.         return $this->idtypestructure;
  518.     }
  519.     /**
  520.      * Set license.
  521.      *
  522.      * @param string|null $license
  523.      *
  524.      * @return Contacts
  525.      */
  526.     public function setLicense($license null)
  527.     {
  528.         $this->license $license;
  529.         return $this;
  530.     }
  531.     /**
  532.      * Get license.
  533.      *
  534.      * @return string|null
  535.      */
  536.     public function getLicense()
  537.     {
  538.         return $this->license;
  539.     }
  540.     /**
  541.      * Set comment.
  542.      *
  543.      * @param string|null $comment
  544.      *
  545.      * @return Contacts
  546.      */
  547.     public function setComment($comment null)
  548.     {
  549.         $this->comment $comment;
  550.         return $this;
  551.     }
  552.     /**
  553.      * Get comment.
  554.      *
  555.      * @return string|null
  556.      */
  557.     public function getComment()
  558.     {
  559.         return $this->comment;
  560.     }
  561.     /**
  562.      * Set privateComment.
  563.      *
  564.      * @param string|null $privateComment
  565.      *
  566.      * @return Contacts
  567.      */
  568.     public function setPrivateComment($privateComment null)
  569.     {
  570.         $this->privateComment $privateComment;
  571.         return $this;
  572.     }
  573.     /**
  574.      * Get privateComment.
  575.      *
  576.      * @return string|null
  577.      */
  578.     public function getPrivateComment()
  579.     {
  580.         return $this->privateComment;
  581.     }
  582.     /**
  583.      * Set address1.
  584.      *
  585.      * @param string|null $address1
  586.      *
  587.      * @return Contacts
  588.      */
  589.     public function setAddress1($address1 null)
  590.     {
  591.         $this->address1 $address1;
  592.         return $this;
  593.     }
  594.     /**
  595.      * Get address1.
  596.      *
  597.      * @return string|null
  598.      */
  599.     public function getAddress1()
  600.     {
  601.         return $this->address1;
  602.     }
  603.     /**
  604.      * Set address2.
  605.      *
  606.      * @param string|null $address2
  607.      *
  608.      * @return Contacts
  609.      */
  610.     public function setAddress2($address2 null)
  611.     {
  612.         $this->address2 $address2;
  613.         return $this;
  614.     }
  615.     /**
  616.      * Get address2.
  617.      *
  618.      * @return string|null
  619.      */
  620.     public function getAddress2()
  621.     {
  622.         return $this->address2;
  623.     }
  624.     /**
  625.      * Set zip.
  626.      *
  627.      * @param string|null $zip
  628.      *
  629.      * @return Contacts
  630.      */
  631.     public function setZip($zip null)
  632.     {
  633.         $this->zip $zip;
  634.         return $this;
  635.     }
  636.     /**
  637.      * Get zip.
  638.      *
  639.      * @return string|null
  640.      */
  641.     public function getZip()
  642.     {
  643.         return $this->zip;
  644.     }
  645.     /**
  646.      * Set city.
  647.      *
  648.      * @param string|null $city
  649.      *
  650.      * @return Contacts
  651.      */
  652.     public function setCity($city null)
  653.     {
  654.         $this->city $city;
  655.         return $this;
  656.     }
  657.     /**
  658.      * Get city.
  659.      *
  660.      * @return string|null
  661.      */
  662.     public function getCity()
  663.     {
  664.         return $this->city;
  665.     }
  666.     /**
  667.      * Set phone1.
  668.      *
  669.      * @param string|null $phone1
  670.      *
  671.      * @return Contacts
  672.      */
  673.     public function setPhone1($phone1 null)
  674.     {
  675.         $this->phone1 $phone1;
  676.         return $this;
  677.     }
  678.     /**
  679.      * Get phone1.
  680.      *
  681.      * @return string|null
  682.      */
  683.     public function getPhone1()
  684.     {
  685.         return $this->phone1;
  686.     }
  687.     /**
  688.      * Set phone2.
  689.      *
  690.      * @param string|null $phone2
  691.      *
  692.      * @return Contacts
  693.      */
  694.     public function setPhone2($phone2 null)
  695.     {
  696.         $this->phone2 $phone2;
  697.         return $this;
  698.     }
  699.     /**
  700.      * Get phone2.
  701.      *
  702.      * @return string|null
  703.      */
  704.     public function getPhone2()
  705.     {
  706.         return $this->phone2;
  707.     }
  708.     /**
  709.      * Set fax.
  710.      *
  711.      * @param string|null $fax
  712.      *
  713.      * @return Contacts
  714.      */
  715.     public function setFax($fax null)
  716.     {
  717.         $this->fax $fax;
  718.         return $this;
  719.     }
  720.     /**
  721.      * Get fax.
  722.      *
  723.      * @return string|null
  724.      */
  725.     public function getFax()
  726.     {
  727.         return $this->fax;
  728.     }
  729.     /**
  730.      * Set email1.
  731.      *
  732.      * @param string|null $email1
  733.      *
  734.      * @return Contacts
  735.      */
  736.     public function setEmail1($email1 null)
  737.     {
  738.         $this->email1 $email1;
  739.         return $this;
  740.     }
  741.     /**
  742.      * Get email1.
  743.      *
  744.      * @return string|null
  745.      */
  746.     public function getEmail1()
  747.     {
  748.         return $this->email1;
  749.     }
  750.     /**
  751.      * Set email1Online.
  752.      *
  753.      * @param bool $email1Online
  754.      *
  755.      * @return Contacts
  756.      */
  757.     public function setEmail1Online($email1Online)
  758.     {
  759.         $this->email1Online $email1Online;
  760.         return $this;
  761.     }
  762.     /**
  763.      * Get email1Online.
  764.      *
  765.      * @return bool
  766.      */
  767.     public function getEmail1Online()
  768.     {
  769.         return $this->email1Online;
  770.     }
  771.     /**
  772.      * Set email2Online.
  773.      *
  774.      * @param bool $email2Online
  775.      *
  776.      * @return Contacts
  777.      */
  778.     public function setEmail2Online($email2Online)
  779.     {
  780.         $this->email2Online $email2Online;
  781.         return $this;
  782.     }
  783.     /**
  784.      * Get email2Online.
  785.      *
  786.      * @return bool
  787.      */
  788.     public function getEmail2Online()
  789.     {
  790.         return $this->email2Online;
  791.     }
  792.     /**
  793.      * Set email2.
  794.      *
  795.      * @param string|null $email2
  796.      *
  797.      * @return Contacts
  798.      */
  799.     public function setEmail2($email2 null)
  800.     {
  801.         $this->email2 $email2;
  802.         return $this;
  803.     }
  804.     /**
  805.      * Get email2.
  806.      *
  807.      * @return string|null
  808.      */
  809.     public function getEmail2()
  810.     {
  811.         return $this->email2;
  812.     }
  813.     /**
  814.      * Set url.
  815.      *
  816.      * @param string|null $url
  817.      *
  818.      * @return Contacts
  819.      */
  820.     public function setUrl($url null)
  821.     {
  822.         $this->url $url;
  823.         return $this;
  824.     }
  825.     /**
  826.      * Get url.
  827.      *
  828.      * @return string|null
  829.      */
  830.     public function getUrl()
  831.     {
  832.         return $this->url;
  833.     }
  834.     /**
  835.      * Set urlTicket.
  836.      *
  837.      * @param string|null $urlTicket
  838.      *
  839.      * @return Contacts
  840.      */
  841.     public function setUrlTicket($urlTicket null)
  842.     {
  843.         $this->urlTicket $urlTicket;
  844.         return $this;
  845.     }
  846.     /**
  847.      * Get urlTicket.
  848.      *
  849.      * @return string|null
  850.      */
  851.     public function getUrlTicket()
  852.     {
  853.         return $this->urlTicket;
  854.     }
  855.     /**
  856.      * Set facebook.
  857.      *
  858.      * @param string|null $facebook
  859.      *
  860.      * @return Contacts
  861.      */
  862.     public function setFacebook($facebook null)
  863.     {
  864.         $this->facebook $facebook;
  865.         return $this;
  866.     }
  867.     /**
  868.      * Get facebook.
  869.      *
  870.      * @return string|null
  871.      */
  872.     public function getFacebook()
  873.     {
  874.         return $this->facebook;
  875.     }
  876.     /**
  877.      * Set twitter.
  878.      *
  879.      * @param string|null $twitter
  880.      *
  881.      * @return Contacts
  882.      */
  883.     public function setTwitter($twitter null)
  884.     {
  885.         $this->twitter $twitter;
  886.         return $this;
  887.     }
  888.     /**
  889.      * Get twitter.
  890.      *
  891.      * @return string|null
  892.      */
  893.     public function getTwitter()
  894.     {
  895.         return $this->twitter;
  896.     }
  897.     /**
  898.      * Set instagram.
  899.      *
  900.      * @param string|null $instagram
  901.      *
  902.      * @return Contacts
  903.      */
  904.     public function setInstagram($instagram null)
  905.     {
  906.         $this->instagram $instagram;
  907.         return $this;
  908.     }
  909.     /**
  910.      * Get instagram.
  911.      *
  912.      * @return string|null
  913.      */
  914.     public function getInstagram()
  915.     {
  916.         return $this->instagram;
  917.     }
  918.     /**
  919.      * Set mobile.
  920.      *
  921.      * @param string|null $mobile
  922.      *
  923.      * @return Contacts
  924.      */
  925.     public function setMobile($mobile null)
  926.     {
  927.         $this->mobile $mobile;
  928.         return $this;
  929.     }
  930.     /**
  931.      * Get mobile.
  932.      *
  933.      * @return string|null
  934.      */
  935.     public function getMobile()
  936.     {
  937.         return $this->mobile;
  938.     }
  939.     /**
  940.      * Set geocodable.
  941.      *
  942.      * @param bool|null $geocodable
  943.      *
  944.      * @return Contacts
  945.      */
  946.     public function setGeocodable($geocodable null)
  947.     {
  948.         $this->geocodable $geocodable;
  949.         return $this;
  950.     }
  951.     /**
  952.      * Get geocodable.
  953.      *
  954.      * @return bool|null
  955.      */
  956.     public function getGeocodable()
  957.     {
  958.         return $this->geocodable;
  959.     }
  960.     /**
  961.      * Set x.
  962.      *
  963.      * @param string|null $x
  964.      *
  965.      * @return Contacts
  966.      */
  967.     public function setX($x null)
  968.     {
  969.         $this->$x;
  970.         return $this;
  971.     }
  972.     /**
  973.      * Get x.
  974.      *
  975.      * @return string|null
  976.      */
  977.     public function getX()
  978.     {
  979.         return $this->x;
  980.     }
  981.     /**
  982.      * Set y.
  983.      *
  984.      * @param string|null $y
  985.      *
  986.      * @return Contacts
  987.      */
  988.     public function setY($y null)
  989.     {
  990.         $this->$y;
  991.         return $this;
  992.     }
  993.     /**
  994.      * Get y.
  995.      *
  996.      * @return string|null
  997.      */
  998.     public function getY()
  999.     {
  1000.         return $this->y;
  1001.     }
  1002.     /**
  1003.      * Set idmultimedia.
  1004.      *
  1005.      * @param int|null $idmultimedia
  1006.      *
  1007.      * @return Contacts
  1008.      */
  1009.     public function setIdmultimedia($idmultimedia null)
  1010.     {
  1011.         $this->idmultimedia $idmultimedia;
  1012.         return $this;
  1013.     }
  1014.     /**
  1015.      * Get idmultimedia.
  1016.      *
  1017.      * @return int|null
  1018.      */
  1019.     public function getIdmultimedia()
  1020.     {
  1021.         return $this->idmultimedia;
  1022.     }
  1023.     /**
  1024.      * Set typeView.
  1025.      *
  1026.      * @param bool|null $typeView
  1027.      *
  1028.      * @return Contacts
  1029.      */
  1030.     public function setTypeView($typeView null)
  1031.     {
  1032.         $this->typeView $typeView;
  1033.         return $this;
  1034.     }
  1035.     /**
  1036.      * Get typeView.
  1037.      *
  1038.      * @return bool|null
  1039.      */
  1040.     public function getTypeView()
  1041.     {
  1042.         return $this->typeView;
  1043.     }
  1044.     /**
  1045.      * Set statsAccess.
  1046.      *
  1047.      * @param bool|null $statsAccess
  1048.      *
  1049.      * @return Contacts
  1050.      */
  1051.     public function setStatsAccess($statsAccess null)
  1052.     {
  1053.         $this->statsAccess $statsAccess;
  1054.         return $this;
  1055.     }
  1056.     /**
  1057.      * Get statsAccess.
  1058.      *
  1059.      * @return bool|null
  1060.      */
  1061.     public function getStatsAccess()
  1062.     {
  1063.         return $this->statsAccess;
  1064.     }
  1065.     /**
  1066.      * Set gaTrackingId.
  1067.      *
  1068.      * @param string|null $gaTrackingId
  1069.      *
  1070.      * @return Contacts
  1071.      */
  1072.     public function setGaTrackingId($gaTrackingId null)
  1073.     {
  1074.         $this->gaTrackingId $gaTrackingId;
  1075.         return $this;
  1076.     }
  1077.     /**
  1078.      * Get gaTrackingId.
  1079.      *
  1080.      * @return string|null
  1081.      */
  1082.     public function getGaTrackingId()
  1083.     {
  1084.         return $this->gaTrackingId;
  1085.     }
  1086.     /**
  1087.      * Set isFestival.
  1088.      *
  1089.      * @param bool|null $isFestival
  1090.      *
  1091.      * @return Contacts
  1092.      */
  1093.     public function setIsFestival($isFestival null)
  1094.     {
  1095.         $this->isFestival $isFestival;
  1096.         return $this;
  1097.     }
  1098.     /**
  1099.      * Get isFestival.
  1100.      *
  1101.      * @return bool|null
  1102.      */
  1103.     public function getIsFestival()
  1104.     {
  1105.         return $this->isFestival;
  1106.     }
  1107.     /**
  1108.      * Set linkOnVideo.
  1109.      *
  1110.      * @param bool|null $linkOnVideo
  1111.      *
  1112.      * @return Contacts
  1113.      */
  1114.     public function setLinkOnVideo($linkOnVideo null)
  1115.     {
  1116.         $this->linkOnVideo $linkOnVideo;
  1117.         return $this;
  1118.     }
  1119.     /**
  1120.      * Get linkOnVideo.
  1121.      *
  1122.      * @return bool|null
  1123.      */
  1124.     public function getLinkOnVideo()
  1125.     {
  1126.         return $this->linkOnVideo;
  1127.     }
  1128.     /**
  1129.      * Set isPartenaire.
  1130.      *
  1131.      * @param bool|null $isPartenaire
  1132.      *
  1133.      * @return Contacts
  1134.      */
  1135.     public function setIsPartenaire($isPartenaire null)
  1136.     {
  1137.         $this->isPartenaire $isPartenaire;
  1138.         return $this;
  1139.     }
  1140.     /**
  1141.      * Get isPartenaire.
  1142.      *
  1143.      * @return bool|null
  1144.      */
  1145.     public function getIsPartenaire()
  1146.     {
  1147.         return $this->isPartenaire;
  1148.     }
  1149.     /**
  1150.      * Set validVersion.
  1151.      *
  1152.      * @param bool $validVersion
  1153.      *
  1154.      * @return Contacts
  1155.      */
  1156.     public function setValidVersion($validVersion)
  1157.     {
  1158.         $this->validVersion $validVersion;
  1159.         return $this;
  1160.     }
  1161.     /**
  1162.      * Get validVersion.
  1163.      *
  1164.      * @return bool
  1165.      */
  1166.     public function getValidVersion()
  1167.     {
  1168.         return $this->validVersion;
  1169.     }
  1170.     /**
  1171.      * Set otherVersions.
  1172.      *
  1173.      * @param string|null $otherVersions
  1174.      *
  1175.      * @return Contacts
  1176.      */
  1177.     public function setOtherVersions($otherVersions null)
  1178.     {
  1179.         $this->otherVersions $otherVersions;
  1180.         return $this;
  1181.     }
  1182.     /**
  1183.      * Get otherVersions.
  1184.      *
  1185.      * @return string|null
  1186.      */
  1187.     public function getOtherVersions()
  1188.     {
  1189.         return $this->otherVersions;
  1190.     }
  1191.     /**
  1192.      * Set urlRedirect.
  1193.      *
  1194.      * @param string|null $urlRedirect
  1195.      *
  1196.      * @return Contacts
  1197.      */
  1198.     public function setUrlRedirect($urlRedirect null)
  1199.     {
  1200.         $this->urlRedirect $urlRedirect;
  1201.         return $this;
  1202.     }
  1203.     /**
  1204.      * Get urlRedirect.
  1205.      *
  1206.      * @return string|null
  1207.      */
  1208.     public function getUrlRedirect()
  1209.     {
  1210.         return $this->urlRedirect;
  1211.     }
  1212.     /**
  1213.      * Set urlClean.
  1214.      *
  1215.      * @param string $urlClean
  1216.      *
  1217.      * @return Contacts
  1218.      */
  1219.     public function setUrlClean($urlClean)
  1220.     {
  1221.         $this->urlClean $urlClean;
  1222.         return $this;
  1223.     }
  1224.     /**
  1225.      * Get urlClean.
  1226.      *
  1227.      * @return string
  1228.      */
  1229.     public function getUrlClean()
  1230.     {
  1231.         return $this->urlClean;
  1232.     }
  1233.     /**
  1234.      * Set dateupdate.
  1235.      *
  1236.      * @param \DateTime|null $dateupdate
  1237.      *
  1238.      * @return Contacts
  1239.      */
  1240.     public function setDateupdate($dateupdate null)
  1241.     {
  1242.         $this->dateupdate $dateupdate;
  1243.         return $this;
  1244.     }
  1245.     /**
  1246.      * Get dateupdate.
  1247.      *
  1248.      * @return \DateTime|null
  1249.      */
  1250.     public function getDateupdate()
  1251.     {
  1252.         return $this->dateupdate;
  1253.     }
  1254.     /**
  1255.      * Set dateinsert.
  1256.      *
  1257.      * @param \DateTime|null $dateinsert
  1258.      *
  1259.      * @return Contacts
  1260.      */
  1261.     public function setDateinsert($dateinsert null)
  1262.     {
  1263.         $this->dateinsert $dateinsert;
  1264.         return $this;
  1265.     }
  1266.     /**
  1267.      * Get dateinsert.
  1268.      *
  1269.      * @return \DateTime|null
  1270.      */
  1271.     public function getDateinsert()
  1272.     {
  1273.         return $this->dateinsert;
  1274.     }
  1275.     /**
  1276.      * Set publish.
  1277.      *
  1278.      * @param bool $publish
  1279.      *
  1280.      * @return Contacts
  1281.      */
  1282.     public function setPublish($publish)
  1283.     {
  1284.         $this->publish $publish;
  1285.         return $this;
  1286.     }
  1287.     /**
  1288.      * Get publish.
  1289.      *
  1290.      * @return bool
  1291.      */
  1292.     public function getPublish()
  1293.     {
  1294.         return $this->publish;
  1295.     }
  1296.     /**
  1297.      * Set valid.
  1298.      *
  1299.      * @param bool $valid
  1300.      *
  1301.      * @return Contacts
  1302.      */
  1303.     public function setValid($valid)
  1304.     {
  1305.         $this->valid $valid;
  1306.         return $this;
  1307.     }
  1308.     /**
  1309.      * Get valid.
  1310.      *
  1311.      * @return bool
  1312.      */
  1313.     public function getValid()
  1314.     {
  1315.         return $this->valid;
  1316.     }
  1317.     /**
  1318.      * Set country.
  1319.      *
  1320.      * @param \Countries|null $country
  1321.      *
  1322.      * @return Contacts
  1323.      */
  1324.     public function setCountry(Countries $country null)
  1325.     {
  1326.         $this->country $country;
  1327.         return $this;
  1328.     }
  1329.     /**
  1330.      * Get country.
  1331.      *
  1332.      * @return \Countries|null
  1333.      */
  1334.     public function getCountry()
  1335.     {
  1336.         return $this->country;
  1337.     }
  1338.     /**
  1339.      * Set idextranetuser.
  1340.      *
  1341.      * @param \Extranetusers|null $idextranetuser
  1342.      *
  1343.      * @return Contacts
  1344.      */
  1345.     public function setIdextranetuser(Extranetusers $idextranetuser null)
  1346.     {
  1347.         $this->idextranetuser $idextranetuser;
  1348.         return $this;
  1349.     }
  1350.     /**
  1351.      * Get idextranetuser.
  1352.      *
  1353.      * @return \Extranetusers|null
  1354.      */
  1355.     public function getIdextranetuser()
  1356.     {
  1357.         return $this->idextranetuser;
  1358.     }
  1359.     /**
  1360.      * Add idclassification.
  1361.      *
  1362.      * @param \Classifications $idclassification
  1363.      *
  1364.      * @return Contacts
  1365.      */
  1366.     public function addIdclassification(Classifications $idclassification)
  1367.     {
  1368.         $this->idclassification[] = $idclassification;
  1369.         return $this;
  1370.     }
  1371.     /**
  1372.      * Remove idclassification.
  1373.      *
  1374.      * @param \Classifications $idclassification
  1375.      *
  1376.      * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
  1377.      */
  1378.     public function removeIdclassification(Classifications $idclassification)
  1379.     {
  1380.         return $this->idclassification->removeElement($idclassification);
  1381.     }
  1382.     /**
  1383.      * Get idclassification.
  1384.      *
  1385.      * @return \Doctrine\Common\Collections\Collection
  1386.      */
  1387.     public function getIdclassification()
  1388.     {
  1389.         return $this->idclassification;
  1390.     }
  1391.     /**
  1392.      * Add contactextranetuser.
  1393.      *
  1394.      * @param \Extranetusers $contactextranetuser
  1395.      *
  1396.      * @return Contacts
  1397.      */
  1398.     public function addContactextranetuser(Extranetusers $contactextranetuser)
  1399.     {
  1400.         $this->contactextranetuser[] = $contactextranetuser;
  1401.         return $this;
  1402.     }
  1403.     /**
  1404.      * Remove contactextranetuser.
  1405.      *
  1406.      * @param \Extranetusers $contactextranetuser
  1407.      *
  1408.      * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
  1409.      */
  1410.     public function removeContactextranetuser(Extranetusers $contactextranetuser)
  1411.     {
  1412.         return $this->contactextranetuser->removeElement($contactextranetuser);
  1413.     }
  1414.     /**
  1415.      * Get contactextranetuser.
  1416.      *
  1417.      * @return \Doctrine\Common\Collections\Collection
  1418.      */
  1419.     public function getContactextranetuser()
  1420.     {
  1421.         return $this->contactextranetuser;
  1422.     }
  1423.     /**
  1424.      * Add idcontent.
  1425.      *
  1426.      * @param \Contents $idcontent
  1427.      *
  1428.      * @return Contacts
  1429.      */
  1430.     public function addIdcontent(Contents $idcontent)
  1431.     {
  1432.         $this->idcontent[] = $idcontent;
  1433.         return $this;
  1434.     }
  1435.     /**
  1436.      * Remove idcontent.
  1437.      *
  1438.      * @param \Contents $idcontent
  1439.      *
  1440.      * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
  1441.      */
  1442.     public function removeIdcontent(Contents $idcontent)
  1443.     {
  1444.         return $this->idcontent->removeElement($idcontent);
  1445.     }
  1446.     /**
  1447.      * Get idcontent.
  1448.      *
  1449.      * @return \Doctrine\Common\Collections\Collection
  1450.      */
  1451.     public function getIdcontent()
  1452.     {
  1453.         return $this->idcontent;
  1454.     }
  1455.     /**
  1456.      * Add idnew.
  1457.      *
  1458.      * @param \News $idnew
  1459.      *
  1460.      * @return Contacts
  1461.      */
  1462.     public function addIdnew(News $idnew)
  1463.     {
  1464.         $this->idnew[] = $idnew;
  1465.         return $this;
  1466.     }
  1467.     /**
  1468.      * Remove idnew.
  1469.      *
  1470.      * @param \News $idnew
  1471.      *
  1472.      * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
  1473.      */
  1474.     public function removeIdnew(News $idnew)
  1475.     {
  1476.         return $this->idnew->removeElement($idnew);
  1477.     }
  1478.     /**
  1479.      * Get idnew.
  1480.      *
  1481.      * @return \Doctrine\Common\Collections\Collection
  1482.      */
  1483.     public function getIdnew()
  1484.     {
  1485.         return $this->idnew;
  1486.     }
  1487.     /**
  1488.      * Add idperson.
  1489.      *
  1490.      * @param \Persons $idperson
  1491.      *
  1492.      * @return Contacts
  1493.      */
  1494.     public function addIdperson(Persons $idperson)
  1495.     {
  1496.         $this->idperson[] = $idperson;
  1497.         return $this;
  1498.     }
  1499.     /**
  1500.      * Remove idperson.
  1501.      *
  1502.      * @param \Persons $idperson
  1503.      *
  1504.      * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
  1505.      */
  1506.     public function removeIdperson(Persons $idperson)
  1507.     {
  1508.         return $this->idperson->removeElement($idperson);
  1509.     }
  1510.     /**
  1511.      * Get idperson.
  1512.      *
  1513.      * @return \Doctrine\Common\Collections\Collection
  1514.      */
  1515.     public function getIdperson()
  1516.     {
  1517.         return $this->idperson;
  1518.     }
  1519.     /**
  1520.      * Add idpodcast.
  1521.      *
  1522.      * @param \Podcasts $idpodcast
  1523.      *
  1524.      * @return Contacts
  1525.      */
  1526.     public function addIdpodcast(Podcasts $idpodcast)
  1527.     {
  1528.         $this->idpodcast[] = $idpodcast;
  1529.         return $this;
  1530.     }
  1531.     /**
  1532.      * Remove idpodcast.
  1533.      *
  1534.      * @param \Podcasts $idpodcast
  1535.      *
  1536.      * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
  1537.      */
  1538.     public function removeIdpodcast(Podcasts $idpodcast)
  1539.     {
  1540.         return $this->idpodcast->removeElement($idpodcast);
  1541.     }
  1542.     /**
  1543.      * Get idpodcast.
  1544.      *
  1545.      * @return \Doctrine\Common\Collections\Collection
  1546.      */
  1547.     public function getIdpodcast()
  1548.     {
  1549.         return $this->idpodcast;
  1550.     }
  1551.     /**
  1552.      * Add $this->aides.
  1553.      *
  1554.      * @param \ContactAide $idmultimedia
  1555.      *
  1556.      * @return Contacts
  1557.      */
  1558.     public function addAides(Aides $aides)
  1559.     {
  1560.         $this->$this->aides[] = $aides;
  1561.         return $this;
  1562.     }
  1563.     /**
  1564.      * Remove $this->aides.
  1565.      *
  1566.      * @param \ContactAide $aides
  1567.      *
  1568.      * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
  1569.      */
  1570.     public function removeAides(Aides $aides)
  1571.     {
  1572.         return $this->aides->removeElement($aides);
  1573.     }
  1574.     /**
  1575.      * Get $this->aides.
  1576.      *
  1577.      * @return \Doctrine\Common\Collections\Collection
  1578.      */
  1579.     public function getAides()
  1580.     {
  1581.         return $this->aides;
  1582.     }
  1583.     /**
  1584.      * Add $this->saisons.
  1585.      *
  1586.      * @param \ContactAide $idmultimedia
  1587.      *
  1588.      * @return Contacts
  1589.      */
  1590.     public function addSaisons(Contactsaisons $saisons)
  1591.     {
  1592.         $this->$this->saisons[] = $saisons;
  1593.         return $this;
  1594.     }
  1595.     /**
  1596.      * Remove $this->saisons.
  1597.      *
  1598.      * @param \ContactAide $saisons
  1599.      *
  1600.      * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
  1601.      */
  1602.     public function removeSaisons(Contactsaisons $saisons)
  1603.     {
  1604.         return $this->saisons->removeElement($saisons);
  1605.     }
  1606.     /**
  1607.      * Get $this->saisons.
  1608.      *
  1609.      * @return \Doctrine\Common\Collections\Collection
  1610.      */
  1611.     public function getSaisons()
  1612.     {
  1613.         return $this->saisons;
  1614.     }
  1615.     public function __toString() {
  1616.         return (string)$this->getOrganisation();
  1617.     }
  1618. }