vendor/theatre/core/src/Entity/Podcasts.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.  * Podcasts
  7.  *
  8.  * @ORM\Table(name="podcasts", indexes={@ORM\Index(name="url_clean", columns={"url_clean"})})
  9.  * @ORM\Entity(repositoryClass="TheatreCore\Repository\PodcastsRepository")
  10.  */
  11. class Podcasts
  12. {
  13.     /**
  14.      * @var int
  15.      *
  16.      * @ORM\Column(name="idpodcast", type="integer", nullable=false, options={"unsigned"=true})
  17.      * @ORM\Id
  18.      * @ORM\GeneratedValue(strategy="IDENTITY")
  19.      */
  20.     private $idpodcast;
  21.     /**
  22.      * @var string|null
  23.      *
  24.      * @ORM\Column(name="title", type="string", length=255, nullable=true)
  25.      *
  26.      * @Assert\NotBlank(message="Veuillez prĂ©ciser le titre")
  27.      *
  28.      */
  29.     private $title;
  30.     /**
  31.      * @var string|null
  32.      *
  33.      * @ORM\Column(name="description", type="text", length=65535, nullable=true)
  34.      */
  35.     private $description;
  36.     /**
  37.      * @var string|null
  38.      *
  39.      * @ORM\Column(name="title_program", type="string", length=250, nullable=true)
  40.      */
  41.     private $titleProgram;
  42.     /**
  43.      * @var string|null
  44.      *
  45.      * @ORM\Column(name="name_program", type="string", length=250, nullable=true)
  46.      */
  47.     private $nameProgram;
  48.     /**
  49.      * @var \DateTime|null
  50.      *
  51.      * @ORM\Column(name="date_podcast", type="date", nullable=true)
  52.      */
  53.     private $datePodcast;
  54.     /**
  55.      * @var string|null
  56.      *
  57.      * @ORM\Column(name="hour_podcast", type="string", length=10, nullable=true)
  58.      */
  59.     private $hourPodcast;
  60.     /**
  61.      * @var string|null
  62.      *
  63.      * @ORM\Column(name="code_franceinter", type="string", length=255, nullable=true)
  64.      */
  65.     private $codeFranceinter;
  66.     /**
  67.      * @var bool|null
  68.      *
  69.      * @ORM\Column(name="type_franceinter", type="boolean", nullable=true)
  70.      */
  71.     private $typeFranceinter;
  72.     /**
  73.      * @var bool
  74.      *
  75.      * @ORM\Column(name="integrate_player", type="boolean", nullable=false)
  76.      */
  77.     private $integratePlayer '0';
  78.     /**
  79.      * @var string|null
  80.      *
  81.      * @ORM\Column(name="link", type="string", length=255, nullable=true)
  82.      */
  83.     private $link;
  84.     /**
  85.      * @var int|null
  86.      *
  87.      * @ORM\Column(name="duration", type="integer", nullable=true, options={"default"="1000"})
  88.      */
  89.     private $duration '1000';
  90.     /**
  91.      * @var int|null
  92.      *
  93.      * @ORM\Column(name="code_ft", type="integer", nullable=true)
  94.      */
  95.     private $codeFt;
  96.     /**
  97.      * @var bool|null
  98.      *
  99.      * @ORM\Column(name="is_integrale", type="boolean", nullable=true)
  100.      */
  101.     private $isIntegrale;
  102.     /**
  103.      * @var bool|null
  104.      *
  105.      * @ORM\Column(name="type_diffusion", type="boolean", nullable=true)
  106.      */
  107.     private $typeDiffusion;
  108.     /**
  109.      * @var \DateTime|null
  110.      *
  111.      * @ORM\Column(name="fin_visionnage_ft", type="datetime", nullable=true)
  112.      */
  113.     private $finVisionnageFt;
  114.     /**
  115.      * @var \DateTime|null
  116.      *
  117.      * @ORM\Column(name="date_captation_ft", type="datetime", nullable=true)
  118.      */
  119.     private $dateCaptationFt;
  120.     /**
  121.      * @var \DateTime|null
  122.      *
  123.      * @ORM\Column(name="debut_visionnage_ft", type="datetime", nullable=true)
  124.      */
  125.     private $debutVisionnageFt;
  126.     /**
  127.      * @var string|null
  128.      *
  129.      * @ORM\Column(name="code_arte", type="string", length=255, nullable=true)
  130.      */
  131.     private $codeArte;
  132.     /**
  133.      * @var string|null
  134.      *
  135.      * @ORM\Column(name="code_soundcloud", type="string", length=255, nullable=true)
  136.      */
  137.     private $codeSoundcloud;
  138.     /**
  139.      * @var string|null
  140.      *
  141.      * @ORM\Column(name="code_spotify", type="string", length=255, nullable=true)
  142.      */
  143.     private $codeSpotify;
  144.     /**
  145.      * @var string|null
  146.      *
  147.      * @ORM\Column(name="url_file", type="string", length=255, nullable=true)
  148.      */
  149.     private $urlFile;
  150.     /**
  151.      * @var string|null
  152.      *
  153.      * @ORM\Column(name="url_clean", type="string", length=250, nullable=true)
  154.      */
  155.     private $urlClean;
  156.     /**
  157.      * @var \DateTime|null
  158.      *
  159.      * @ORM\Column(name="dateupdate", type="datetime", nullable=true)
  160.      */
  161.     private $dateupdate;
  162.     /**
  163.      * @var \DateTime|null
  164.      *
  165.      * @ORM\Column(name="dateinsert", type="datetime", nullable=true)
  166.      */
  167.     private $dateinsert;
  168.     /**
  169.      * @var bool
  170.      *
  171.      * @ORM\Column(name="publish", type="boolean", nullable=false, options={"default"="1"})
  172.      */
  173.     private $publish true;
  174.     /**
  175.      * @var bool
  176.      *
  177.      * @ORM\Column(name="valid", type="boolean", nullable=false)
  178.      */
  179.     private $valid false;
  180.     /**
  181.      * @var int|null
  182.      *
  183.      * @ORM\Column(name="idextranetuser", type="integer", nullable=true, options={"unsigned"=true})
  184.      */
  185.     private $idextranetuser;
  186.     /**
  187.      * @var \Doctrine\Common\Collections\Collection
  188.      *
  189.      * @ORM\ManyToMany(targetEntity="Contacts", inversedBy="idpodcast")
  190.      * @ORM\JoinTable(name="podcast_contact",
  191.      *   joinColumns={
  192.      *     @ORM\JoinColumn(name="idpodcast", referencedColumnName="idpodcast")
  193.      *   },
  194.      *   inverseJoinColumns={
  195.      *     @ORM\JoinColumn(name="idcontact", referencedColumnName="idcontact")
  196.      *   }
  197.      * )
  198.      */
  199.     private $idcontact;
  200.     /**
  201.      * @var \Doctrine\Common\Collections\Collection
  202.      *
  203.      * @ORM\ManyToMany(targetEntity="Persons", inversedBy="idpodcast")
  204.      * @ORM\JoinTable(name="podcast_person",
  205.      *   joinColumns={
  206.      *     @ORM\JoinColumn(name="idpodcast", referencedColumnName="idpodcast")
  207.      *   },
  208.      *   inverseJoinColumns={
  209.      *     @ORM\JoinColumn(name="idperson", referencedColumnName="idperson")
  210.      *   }
  211.      * )
  212.      */
  213.     private $idperson;
  214.     /**
  215.      * @var \Doctrine\Common\Collections\Collection
  216.      *
  217.      * @ORM\ManyToMany(targetEntity="Spectacles", inversedBy="idpodcast")
  218.      * @ORM\JoinTable(name="podcast_spectacle",
  219.      *   joinColumns={
  220.      *     @ORM\JoinColumn(name="idpodcast", referencedColumnName="idpodcast")
  221.      *   },
  222.      *   inverseJoinColumns={
  223.      *     @ORM\JoinColumn(name="idspectacle", referencedColumnName="idspectacle")
  224.      *   }
  225.      * )
  226.      */
  227.     private $idspectacle;
  228.     /**
  229.      * @var \Doctrine\Common\Collections\Collection
  230.      *
  231.      * @ORM\ManyToMany(targetEntity="Texts", inversedBy="idpodcast")
  232.      * @ORM\JoinTable(name="podcast_text",
  233.      *   joinColumns={
  234.      *     @ORM\JoinColumn(name="idpodcast", referencedColumnName="idpodcast")
  235.      *   },
  236.      *   inverseJoinColumns={
  237.      *     @ORM\JoinColumn(name="idtext", referencedColumnName="idtext")
  238.      *   }
  239.      * )
  240.      */
  241.     private $idtext;
  242.     /**
  243.      * Constructor
  244.      */
  245.     public function __construct()
  246.     {
  247.         $this->idcontact = new \Doctrine\Common\Collections\ArrayCollection();
  248.         $this->idperson = new \Doctrine\Common\Collections\ArrayCollection();
  249.         $this->idspectacle = new \Doctrine\Common\Collections\ArrayCollection();
  250.         $this->idtext = new \Doctrine\Common\Collections\ArrayCollection();
  251.     }
  252.     /**
  253.      * Get idpodcast.
  254.      *
  255.      * @return int
  256.      */
  257.     public function getIdpodcast()
  258.     {
  259.         return $this->idpodcast;
  260.     }
  261.     /**
  262.      * Set title.
  263.      *
  264.      * @param string|null $title
  265.      *
  266.      * @return Podcasts
  267.      */
  268.     public function setTitle($title null)
  269.     {
  270.         $this->title $title;
  271.         return $this;
  272.     }
  273.     /**
  274.      * Get title.
  275.      *
  276.      * @return string|null
  277.      */
  278.     public function getTitle()
  279.     {
  280.         return $this->title;
  281.     }
  282.     /**
  283.      * Set description.
  284.      *
  285.      * @param string|null $description
  286.      *
  287.      * @return Podcasts
  288.      */
  289.     public function setDescription($description null)
  290.     {
  291.         $this->description $description;
  292.         return $this;
  293.     }
  294.     /**
  295.      * Get description.
  296.      *
  297.      * @return string|null
  298.      */
  299.     public function getDescription()
  300.     {
  301.         return $this->description;
  302.     }
  303.     /**
  304.      * Set titleProgram.
  305.      *
  306.      * @param string|null $titleProgram
  307.      *
  308.      * @return Podcasts
  309.      */
  310.     public function setTitleProgram($titleProgram null)
  311.     {
  312.         $this->titleProgram $titleProgram;
  313.         return $this;
  314.     }
  315.     /**
  316.      * Get titleProgram.
  317.      *
  318.      * @return string|null
  319.      */
  320.     public function getTitleProgram()
  321.     {
  322.         return $this->titleProgram;
  323.     }
  324.     /**
  325.      * Set nameProgram.
  326.      *
  327.      * @param string|null $nameProgram
  328.      *
  329.      * @return Podcasts
  330.      */
  331.     public function setNameProgram($nameProgram null)
  332.     {
  333.         $this->nameProgram $nameProgram;
  334.         return $this;
  335.     }
  336.     /**
  337.      * Get nameProgram.
  338.      *
  339.      * @return string|null
  340.      */
  341.     public function getNameProgram()
  342.     {
  343.         return $this->nameProgram;
  344.     }
  345.     /**
  346.      * Set datePodcast.
  347.      *
  348.      * @param \DateTime|null $datePodcast
  349.      *
  350.      * @return Podcasts
  351.      */
  352.     public function setDatePodcast($datePodcast null)
  353.     {
  354.         $this->datePodcast $datePodcast;
  355.         return $this;
  356.     }
  357.     /**
  358.      * Get datePodcast.
  359.      *
  360.      * @return \DateTime|null
  361.      */
  362.     public function getDatePodcast()
  363.     {
  364.         return $this->datePodcast;
  365.     }
  366.     /**
  367.      * Set hourPodcast.
  368.      *
  369.      * @param string|null $hourPodcast
  370.      *
  371.      * @return Podcasts
  372.      */
  373.     public function setHourPodcast($hourPodcast null)
  374.     {
  375.         $this->hourPodcast $hourPodcast;
  376.         return $this;
  377.     }
  378.     /**
  379.      * Get hourPodcast.
  380.      *
  381.      * @return string|null
  382.      */
  383.     public function getHourPodcast()
  384.     {
  385.         return $this->hourPodcast;
  386.     }
  387.     /**
  388.      * Set codeFranceinter.
  389.      *
  390.      * @param string|null $codeFranceinter
  391.      *
  392.      * @return Podcasts
  393.      */
  394.     public function setCodeFranceinter($codeFranceinter null)
  395.     {
  396.         $this->codeFranceinter $codeFranceinter;
  397.         return $this;
  398.     }
  399.     /**
  400.      * Get codeFranceinter.
  401.      *
  402.      * @return string|null
  403.      */
  404.     public function getCodeFranceinter()
  405.     {
  406.         return $this->codeFranceinter;
  407.     }
  408.     /**
  409.      * Set typeFranceinter.
  410.      *
  411.      * @param bool|null $typeFranceinter
  412.      *
  413.      * @return Podcasts
  414.      */
  415.     public function setTypeFranceinter($typeFranceinter null)
  416.     {
  417.         $this->typeFranceinter $typeFranceinter;
  418.         return $this;
  419.     }
  420.     /**
  421.      * Get typeFranceinter.
  422.      *
  423.      * @return bool|null
  424.      */
  425.     public function getTypeFranceinter()
  426.     {
  427.         return $this->typeFranceinter;
  428.     }
  429.     /**
  430.      * Set integratePlayer.
  431.      *
  432.      * @param bool $integratePlayer
  433.      *
  434.      * @return Podcasts
  435.      */
  436.     public function setIntegratePlayer($integratePlayer)
  437.     {
  438.         $this->integratePlayer $integratePlayer;
  439.         return $this;
  440.     }
  441.     /**
  442.      * Get integratePlayer.
  443.      *
  444.      * @return bool
  445.      */
  446.     public function getIntegratePlayer()
  447.     {
  448.         return $this->integratePlayer;
  449.     }
  450.     /**
  451.      * Set link.
  452.      *
  453.      * @param string|null $link
  454.      *
  455.      * @return Podcasts
  456.      */
  457.     public function setLink($link null)
  458.     {
  459.         $this->link $link;
  460.         return $this;
  461.     }
  462.     /**
  463.      * Get link.
  464.      *
  465.      * @return string|null
  466.      */
  467.     public function getLink()
  468.     {
  469.         return $this->link;
  470.     }
  471.     /**
  472.      * Set duration.
  473.      *
  474.      * @param int|null $duration
  475.      *
  476.      * @return Podcasts
  477.      */
  478.     public function setDuration($duration null)
  479.     {
  480.         $this->duration $duration;
  481.         return $this;
  482.     }
  483.     /**
  484.      * Get duration.
  485.      *
  486.      * @return int|null
  487.      */
  488.     public function getDuration()
  489.     {
  490.         return $this->duration;
  491.     }
  492.     /**
  493.      * Set codeFt.
  494.      *
  495.      * @param int|null $codeFt
  496.      *
  497.      * @return Podcasts
  498.      */
  499.     public function setCodeFt($codeFt null)
  500.     {
  501.         $this->codeFt $codeFt;
  502.         return $this;
  503.     }
  504.     /**
  505.      * Get codeFt.
  506.      *
  507.      * @return int|null
  508.      */
  509.     public function getCodeFt()
  510.     {
  511.         return $this->codeFt;
  512.     }
  513.     /**
  514.      * Set isIntegrale.
  515.      *
  516.      * @param bool|null $isIntegrale
  517.      *
  518.      * @return Podcasts
  519.      */
  520.     public function setIsIntegrale($isIntegrale null)
  521.     {
  522.         $this->isIntegrale $isIntegrale;
  523.         return $this;
  524.     }
  525.     /**
  526.      * Get isIntegrale.
  527.      *
  528.      * @return bool|null
  529.      */
  530.     public function getIsIntegrale()
  531.     {
  532.         return $this->isIntegrale;
  533.     }
  534.     /**
  535.      * Set typeDiffusion.
  536.      *
  537.      * @param bool|null $typeDiffusion
  538.      *
  539.      * @return Podcasts
  540.      */
  541.     public function setTypeDiffusion($typeDiffusion null)
  542.     {
  543.         $this->typeDiffusion $typeDiffusion;
  544.         return $this;
  545.     }
  546.     /**
  547.      * Get typeDiffusion.
  548.      *
  549.      * @return bool|null
  550.      */
  551.     public function getTypeDiffusion()
  552.     {
  553.         return $this->typeDiffusion;
  554.     }
  555.     /**
  556.      * Set finVisionnageFt.
  557.      *
  558.      * @param \DateTime|null $finVisionnageFt
  559.      *
  560.      * @return Podcasts
  561.      */
  562.     public function setFinVisionnageFt($finVisionnageFt null)
  563.     {
  564.         $this->finVisionnageFt $finVisionnageFt;
  565.         return $this;
  566.     }
  567.     /**
  568.      * Get finVisionnageFt.
  569.      *
  570.      * @return \DateTime|null
  571.      */
  572.     public function getFinVisionnageFt()
  573.     {
  574.         return $this->finVisionnageFt;
  575.     }
  576.     /**
  577.      * Set dateCaptationFt.
  578.      *
  579.      * @param \DateTime|null $dateCaptationFt
  580.      *
  581.      * @return Podcasts
  582.      */
  583.     public function setDateCaptationFt($dateCaptationFt null)
  584.     {
  585.         $this->dateCaptationFt $dateCaptationFt;
  586.         return $this;
  587.     }
  588.     /**
  589.      * Get dateCaptationFt.
  590.      *
  591.      * @return \DateTime|null
  592.      */
  593.     public function getDateCaptationFt()
  594.     {
  595.         return $this->dateCaptationFt;
  596.     }
  597.     /**
  598.      * Set debutVisionnageFt.
  599.      *
  600.      * @param \DateTime|null $debutVisionnageFt
  601.      *
  602.      * @return Podcasts
  603.      */
  604.     public function setDebutVisionnageFt($debutVisionnageFt null)
  605.     {
  606.         $this->debutVisionnageFt $debutVisionnageFt;
  607.         return $this;
  608.     }
  609.     /**
  610.      * Get debutVisionnageFt.
  611.      *
  612.      * @return \DateTime|null
  613.      */
  614.     public function getDebutVisionnageFt()
  615.     {
  616.         return $this->debutVisionnageFt;
  617.     }
  618.     /**
  619.      * Set codeArte.
  620.      *
  621.      * @param int|null $codeArte
  622.      *
  623.      * @return Podcasts
  624.      */
  625.     public function setCodeArte($codeArte null)
  626.     {
  627.         $this->codeArte $codeArte;
  628.         return $this;
  629.     }
  630.     /**
  631.      * Get codeArte.
  632.      *
  633.      * @return int|null
  634.      */
  635.     public function getCodeArte()
  636.     {
  637.         return $this->codeArte;
  638.     }
  639.     /**
  640.      * Set codeSoundcloud.
  641.      *
  642.      * @param int|null $codeSoundcloud
  643.      *
  644.      * @return Podcasts
  645.      */
  646.     public function setCodeSoundcloud($codeSoundcloud null)
  647.     {
  648.         $this->codeSoundcloud $codeSoundcloud;
  649.         return $this;
  650.     }
  651.     /**
  652.      * Get codeSoundcloud.
  653.      *
  654.      * @return int|null
  655.      */
  656.     public function getCodeSoundcloud()
  657.     {
  658.         return $this->codeSoundcloud;
  659.     }
  660.     /**
  661.      * Set codeSpotify.
  662.      *
  663.      * @param int|null $codeSpotify
  664.      *
  665.      * @return Podcasts
  666.      */
  667.     public function setCodeSpotify($codeSpotify null)
  668.     {
  669.         $this->codeSpotify $codeSpotify;
  670.         return $this;
  671.     }
  672.     /**
  673.      * Get codeSpotify.
  674.      *
  675.      * @return int|null
  676.      */
  677.     public function getCodeSpotify()
  678.     {
  679.         return $this->codeSpotify;
  680.     }
  681.     /**
  682.      * Set urlFile.
  683.      *
  684.      * @param string|null $urlFile
  685.      *
  686.      * @return Podcasts
  687.      */
  688.     public function setUrlFile($urlFile null)
  689.     {
  690.         $this->urlFile $urlFile;
  691.         return $this;
  692.     }
  693.     /**
  694.      * Get urlFile.
  695.      *
  696.      * @return string|null
  697.      */
  698.     public function getUrlFile()
  699.     {
  700.         return $this->urlFile;
  701.     }
  702.     /**
  703.      * Set urlClean.
  704.      *
  705.      * @param string|null $urlClean
  706.      *
  707.      * @return Podcasts
  708.      */
  709.     public function setUrlClean($urlClean null)
  710.     {
  711.         $this->urlClean $urlClean;
  712.         return $this;
  713.     }
  714.     /**
  715.      * Get urlClean.
  716.      *
  717.      * @return string|null
  718.      */
  719.     public function getUrlClean()
  720.     {
  721.         return $this->urlClean;
  722.     }
  723.     /**
  724.      * Set dateupdate.
  725.      *
  726.      * @param \DateTime|null $dateupdate
  727.      *
  728.      * @return Podcasts
  729.      */
  730.     public function setDateupdate($dateupdate null)
  731.     {
  732.         $this->dateupdate $dateupdate;
  733.         return $this;
  734.     }
  735.     /**
  736.      * Get dateupdate.
  737.      *
  738.      * @return \DateTime|null
  739.      */
  740.     public function getDateupdate()
  741.     {
  742.         return $this->dateupdate;
  743.     }
  744.     /**
  745.      * Set dateinsert.
  746.      *
  747.      * @param \DateTime|null $dateinsert
  748.      *
  749.      * @return Podcasts
  750.      */
  751.     public function setDateinsert($dateinsert null)
  752.     {
  753.         $this->dateinsert $dateinsert;
  754.         return $this;
  755.     }
  756.     /**
  757.      * Get dateinsert.
  758.      *
  759.      * @return \DateTime|null
  760.      */
  761.     public function getDateinsert()
  762.     {
  763.         return $this->dateinsert;
  764.     }
  765.     /**
  766.      * Set publish.
  767.      *
  768.      * @param bool $publish
  769.      *
  770.      * @return Podcasts
  771.      */
  772.     public function setPublish($publish)
  773.     {
  774.         $this->publish $publish;
  775.         return $this;
  776.     }
  777.     /**
  778.      * Get publish.
  779.      *
  780.      * @return bool
  781.      */
  782.     public function getPublish()
  783.     {
  784.         return $this->publish;
  785.     }
  786.     /**
  787.      * Set valid.
  788.      *
  789.      * @param bool $valid
  790.      *
  791.      * @return Podcasts
  792.      */
  793.     public function setValid($valid)
  794.     {
  795.         $this->valid $valid;
  796.         return $this;
  797.     }
  798.     /**
  799.      * Get valid.
  800.      *
  801.      * @return bool
  802.      */
  803.     public function getValid()
  804.     {
  805.         return $this->valid;
  806.     }
  807.     /**
  808.      * Set idextranetuser.
  809.      *
  810.      * @param int|null $idextranetuser
  811.      *
  812.      * @return Podcasts
  813.      */
  814.     public function setIdextranetuser($idextranetuser null)
  815.     {
  816.         $this->idextranetuser $idextranetuser;
  817.         return $this;
  818.     }
  819.     /**
  820.      * Get idextranetuser.
  821.      *
  822.      * @return int|null
  823.      */
  824.     public function getIdextranetuser()
  825.     {
  826.         return $this->idextranetuser;
  827.     }
  828.     /**
  829.      * Add idcontact.
  830.      *
  831.      * @param \Contacts $idcontact
  832.      *
  833.      * @return Podcasts
  834.      */
  835.     public function addIdcontact(Contacts $idcontact)
  836.     {
  837.         $this->idcontact[] = $idcontact;
  838.         return $this;
  839.     }
  840.     /**
  841.      * Remove idcontact.
  842.      *
  843.      * @param \Contacts $idcontact
  844.      *
  845.      * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
  846.      */
  847.     public function removeIdcontact(Contacts $idcontact)
  848.     {
  849.         return $this->idcontact->removeElement($idcontact);
  850.     }
  851.     /**
  852.      * Get idcontact.
  853.      *
  854.      * @return \Doctrine\Common\Collections\Collection
  855.      */
  856.     public function getIdcontact()
  857.     {
  858.         return $this->idcontact;
  859.     }
  860.     /**
  861.      * Add idperson.
  862.      *
  863.      * @param \Persons $idperson
  864.      *
  865.      * @return Podcasts
  866.      */
  867.     public function addIdperson(Persons $idperson)
  868.     {
  869.         $this->idperson[] = $idperson;
  870.         return $this;
  871.     }
  872.     /**
  873.      * Remove idperson.
  874.      *
  875.      * @param \Persons $idperson
  876.      *
  877.      * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
  878.      */
  879.     public function removeIdperson(Persons $idperson)
  880.     {
  881.         return $this->idperson->removeElement($idperson);
  882.     }
  883.     /**
  884.      * Get idperson.
  885.      *
  886.      * @return \Doctrine\Common\Collections\Collection
  887.      */
  888.     public function getIdperson()
  889.     {
  890.         return $this->idperson;
  891.     }
  892.     /**
  893.      * Add idspectacle.
  894.      *
  895.      * @param \Spectacles $idspectacle
  896.      *
  897.      * @return Podcasts
  898.      */
  899.     public function addIdspectacle(Spectacles $idspectacle)
  900.     {
  901.         $this->idspectacle[] = $idspectacle;
  902.         return $this;
  903.     }
  904.     /**
  905.      * Remove idspectacle.
  906.      *
  907.      * @param \Spectacles $idspectacle
  908.      *
  909.      * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
  910.      */
  911.     public function removeIdspectacle(Spectacles $idspectacle)
  912.     {
  913.         return $this->idspectacle->removeElement($idspectacle);
  914.     }
  915.     /**
  916.      * Get idspectacle.
  917.      *
  918.      * @return \Doctrine\Common\Collections\Collection
  919.      */
  920.     public function getIdspectacle()
  921.     {
  922.         return $this->idspectacle;
  923.     }
  924.     /**
  925.      * Add idtext.
  926.      *
  927.      * @param \Texts $idtext
  928.      *
  929.      * @return Podcasts
  930.      */
  931.     public function addIdtext(Texts $idtext)
  932.     {
  933.         $this->idtext[] = $idtext;
  934.         return $this;
  935.     }
  936.     /**
  937.      * Remove idtext.
  938.      *
  939.      * @param \Texts $idtext
  940.      *
  941.      * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
  942.      */
  943.     public function removeIdtext(Texts $idtext)
  944.     {
  945.         return $this->idtext->removeElement($idtext);
  946.     }
  947.     /**
  948.      * Get idtext.
  949.      *
  950.      * @return \Doctrine\Common\Collections\Collection
  951.      */
  952.     public function getIdtext()
  953.     {
  954.         return $this->idtext;
  955.     }
  956. }