vendor/theatre/core/src/Entity/Dvds.php line 13

Open in your IDE?
  1. <?php
  2. namespace TheatreCore\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * Dvds
  6.  *
  7.  * @ORM\Table(name="dvds", indexes={@ORM\Index(name="iddvdzone", columns={"iddvdzone"}), @ORM\Index(name="iddvdtechno", columns={"iddvdtechno"}), @ORM\Index(name="idextranetuser", columns={"idextranetuser"}), @ORM\Index(name="iddvdformat", columns={"iddvdformat"})})
  8.  * @ORM\Entity(repositoryClass="TheatreCore\Repository\DvdsRepository")
  9.  */
  10. class Dvds
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Column(name="iddvd", type="integer", nullable=false, options={"unsigned"=true})
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="IDENTITY")
  18.      */
  19.     private $iddvd;
  20.     /**
  21.      * @var string|null
  22.      *
  23.      * @ORM\Column(name="title", type="string", length=250, nullable=true)
  24.      */
  25.     private $title;
  26.     /**
  27.      * @var \DateTime|null
  28.      *
  29.      * @ORM\Column(name="date_shooting", type="datetime", nullable=true)
  30.      */
  31.     private $dateShooting;
  32.     /**
  33.      * @var string|null
  34.      *
  35.      * @ORM\Column(name="place_shooting", type="text", length=16777215, nullable=true)
  36.      */
  37.     private $placeShooting;
  38.     /**
  39.      * @var string|null
  40.      *
  41.      * @ORM\Column(name="price", type="decimal", precision=5, scale=2, nullable=true)
  42.      */
  43.     private $price;
  44.     /**
  45.      * @var string|null
  46.      *
  47.      * @ORM\Column(name="comments", type="text", length=65535, nullable=true)
  48.      */
  49.     private $comments;
  50.     /**
  51.      * @var bool|null
  52.      *
  53.      * @ORM\Column(name="time_movie", type="integer", nullable=true)
  54.      */
  55.     private $timeMovie false;
  56.     /**
  57.      * @var string|null
  58.      *
  59.      * @ORM\Column(name="url_vente", type="string", length=255, nullable=true)
  60.      */
  61.     private $urlVente;
  62.     /**
  63.      * @var string|null
  64.      *
  65.      * @ORM\Column(name="url_vente_bis", type="string", length=255, nullable=true)
  66.      */
  67.     private $urlVenteBis;
  68.     /**
  69.      * @var string|null
  70.      *
  71.      * @ORM\Column(name="import_copat", type="text", length=65535, nullable=true)
  72.      */
  73.     private $importCopat;
  74.     /**
  75.      * @var string|null
  76.      *
  77.      * @ORM\Column(name="url_clean", type="string", length=255, nullable=true)
  78.      */
  79.     private $urlClean;
  80.     /**
  81.      * @var \DateTime|null
  82.      *
  83.      * @ORM\Column(name="dateupdate", type="datetime", nullable=true)
  84.      */
  85.     private $dateupdate;
  86.     /**
  87.      * @var \DateTime|null
  88.      *
  89.      * @ORM\Column(name="dateinsert", type="datetime", nullable=true)
  90.      */
  91.     private $dateinsert;
  92.     /**
  93.      * @var bool
  94.      *
  95.      * @ORM\Column(name="publish", type="boolean", nullable=false)
  96.      */
  97.     private $publish false;
  98.     /**
  99.      * @var \Extranetusers
  100.      *
  101.      * @ORM\ManyToOne(targetEntity="Extranetusers")
  102.      * @ORM\JoinColumns({
  103.      *   @ORM\JoinColumn(name="idextranetuser", referencedColumnName="idextranetuser")
  104.      * })
  105.      */
  106.     private $idextranetuser;
  107.     /**
  108.      * @var \Dvdzones
  109.      *
  110.      * @ORM\ManyToOne(targetEntity="Dvdzones")
  111.      * @ORM\JoinColumns({
  112.      *   @ORM\JoinColumn(name="iddvdzone", referencedColumnName="iddvdzone")
  113.      * })
  114.      */
  115.     private $iddvdzone;
  116.     /**
  117.      * @var \Dvdformats
  118.      *
  119.      * @ORM\ManyToOne(targetEntity="Dvdformats")
  120.      * @ORM\JoinColumns({
  121.      *   @ORM\JoinColumn(name="iddvdformat", referencedColumnName="iddvdformat")
  122.      * })
  123.      */
  124.     private $iddvdformat;
  125.     /**
  126.      * @var \Dvdtechnos
  127.      *
  128.      * @ORM\ManyToOne(targetEntity="Dvdtechnos")
  129.      * @ORM\JoinColumns({
  130.      *   @ORM\JoinColumn(name="iddvdtechno", referencedColumnName="iddvdtechno")
  131.      * })
  132.      */
  133.     private $iddvdtechno;
  134.     /**
  135.      * @var \Doctrine\Common\Collections\Collection
  136.      *
  137.      * @ORM\ManyToMany(targetEntity="Multimedias", inversedBy="iddvd")
  138.      * @ORM\JoinTable(name="dvd_multimedia",
  139.      *   joinColumns={
  140.      *     @ORM\JoinColumn(name="iddvd", referencedColumnName="iddvd")
  141.      *   },
  142.      *   inverseJoinColumns={
  143.      *     @ORM\JoinColumn(name="idmultimedia", referencedColumnName="idmultimedia")
  144.      *   }
  145.      * )
  146.      */
  147.     private $idmultimedia;
  148.     /**
  149.      * @var \Doctrine\Common\Collections\Collection
  150.      *
  151.      * @ORM\ManyToMany(targetEntity="Spectacles", inversedBy="iddvd")
  152.      * @ORM\JoinTable(name="dvd_spectacle",
  153.      *   joinColumns={
  154.      *     @ORM\JoinColumn(name="iddvd", referencedColumnName="iddvd")
  155.      *   },
  156.      *   inverseJoinColumns={
  157.      *     @ORM\JoinColumn(name="idspectacle", referencedColumnName="idspectacle")
  158.      *   }
  159.      * )
  160.      */
  161.     private $idspectacle;
  162.     /**
  163.      * @var \Doctrine\Common\Collections\Collection
  164.      *
  165.      * @ORM\ManyToMany(targetEntity="Texts", inversedBy="iddvd")
  166.      * @ORM\JoinTable(name="dvd_text",
  167.      *   joinColumns={
  168.      *     @ORM\JoinColumn(name="iddvd", referencedColumnName="iddvd")
  169.      *   },
  170.      *   inverseJoinColumns={
  171.      *     @ORM\JoinColumn(name="idtext", referencedColumnName="idtext")
  172.      *   }
  173.      * )
  174.      */
  175.     private $idtext;
  176.     /**
  177.      * Constructor
  178.      */
  179.     public function __construct()
  180.     {
  181.         $this->idmultimedia = new \Doctrine\Common\Collections\ArrayCollection();
  182.         $this->idspectacle = new \Doctrine\Common\Collections\ArrayCollection();
  183.         $this->idtext = new \Doctrine\Common\Collections\ArrayCollection();
  184.     }
  185.     /**
  186.      * Get iddvd.
  187.      *
  188.      * @return int
  189.      */
  190.     public function getIddvd()
  191.     {
  192.         return $this->iddvd;
  193.     }
  194.     /**
  195.      * Set title.
  196.      *
  197.      * @param string|null $title
  198.      *
  199.      * @return Dvds
  200.      */
  201.     public function setTitle($title null)
  202.     {
  203.         $this->title $title;
  204.         return $this;
  205.     }
  206.     /**
  207.      * Get title.
  208.      *
  209.      * @return string|null
  210.      */
  211.     public function getTitle()
  212.     {
  213.         return $this->title;
  214.     }
  215.     /**
  216.      * Set dateShooting.
  217.      *
  218.      * @param \DateTime|null $dateShooting
  219.      *
  220.      * @return Dvds
  221.      */
  222.     public function setDateShooting($dateShooting null)
  223.     {
  224.         $this->dateShooting $dateShooting;
  225.         return $this;
  226.     }
  227.     /**
  228.      * Get dateShooting.
  229.      *
  230.      * @return \DateTime|null
  231.      */
  232.     public function getDateShooting()
  233.     {
  234.         return $this->dateShooting;
  235.     }
  236.     /**
  237.      * Set placeShooting.
  238.      *
  239.      * @param string|null $placeShooting
  240.      *
  241.      * @return Dvds
  242.      */
  243.     public function setPlaceShooting($placeShooting null)
  244.     {
  245.         $this->placeShooting $placeShooting;
  246.         return $this;
  247.     }
  248.     /**
  249.      * Get placeShooting.
  250.      *
  251.      * @return string|null
  252.      */
  253.     public function getPlaceShooting()
  254.     {
  255.         return $this->placeShooting;
  256.     }
  257.     /**
  258.      * Set price.
  259.      *
  260.      * @param string|null $price
  261.      *
  262.      * @return Dvds
  263.      */
  264.     public function setPrice($price null)
  265.     {
  266.         $this->price $price;
  267.         return $this;
  268.     }
  269.     /**
  270.      * Get price.
  271.      *
  272.      * @return string|null
  273.      */
  274.     public function getPrice()
  275.     {
  276.         return $this->price;
  277.     }
  278.     /**
  279.      * Set comments.
  280.      *
  281.      * @param string|null $comments
  282.      *
  283.      * @return Dvds
  284.      */
  285.     public function setComments($comments null)
  286.     {
  287.         $this->comments $comments;
  288.         return $this;
  289.     }
  290.     /**
  291.      * Get comments.
  292.      *
  293.      * @return string|null
  294.      */
  295.     public function getComments()
  296.     {
  297.         return $this->comments;
  298.     }
  299.     /**
  300.      * Set timeMovie.
  301.      *
  302.      * @param integer|null $timeMovie
  303.      *
  304.      * @return Dvds
  305.      */
  306.     public function setTimeMovie($timeMovie null)
  307.     {
  308.         $this->timeMovie $timeMovie;
  309.         return $this;
  310.     }
  311.     /**
  312.      * Get timeMovie.
  313.      *
  314.      * @return integer|null
  315.      */
  316.     public function getTimeMovie()
  317.     {
  318.         return $this->timeMovie;
  319.     }
  320.     /**
  321.      * Set urlVente.
  322.      *
  323.      * @param string|null $urlVente
  324.      *
  325.      * @return Dvds
  326.      */
  327.     public function setUrlVente($urlVente null)
  328.     {
  329.         $this->urlVente $urlVente;
  330.         return $this;
  331.     }
  332.     /**
  333.      * Get urlVente.
  334.      *
  335.      * @return string|null
  336.      */
  337.     public function getUrlVente()
  338.     {
  339.         return $this->urlVente;
  340.     }
  341.     /**
  342.      * Set urlVenteBis.
  343.      *
  344.      * @param string|null $urlVenteBis
  345.      *
  346.      * @return Dvds
  347.      */
  348.     public function setUrlVenteBis($urlVenteBis null)
  349.     {
  350.         $this->urlVenteBis $urlVenteBis;
  351.         return $this;
  352.     }
  353.     /**
  354.      * Get urlVenteBis.
  355.      *
  356.      * @return string|null
  357.      */
  358.     public function getUrlVenteBis()
  359.     {
  360.         return $this->urlVenteBis;
  361.     }
  362.     /**
  363.      * Set importCopat.
  364.      *
  365.      * @param string|null $importCopat
  366.      *
  367.      * @return Dvds
  368.      */
  369.     public function setImportCopat($importCopat null)
  370.     {
  371.         $this->importCopat $importCopat;
  372.         return $this;
  373.     }
  374.     /**
  375.      * Get importCopat.
  376.      *
  377.      * @return string|null
  378.      */
  379.     public function getImportCopat()
  380.     {
  381.         return $this->importCopat;
  382.     }
  383.     /**
  384.      * Set urlClean.
  385.      *
  386.      * @param string|null $urlClean
  387.      *
  388.      * @return Dvds
  389.      */
  390.     public function setUrlClean($urlClean null)
  391.     {
  392.         $this->urlClean $urlClean;
  393.         return $this;
  394.     }
  395.     /**
  396.      * Get urlClean.
  397.      *
  398.      * @return string|null
  399.      */
  400.     public function getUrlClean()
  401.     {
  402.         return $this->urlClean;
  403.     }
  404.     /**
  405.      * Set dateupdate.
  406.      *
  407.      * @param \DateTime|null $dateupdate
  408.      *
  409.      * @return Dvds
  410.      */
  411.     public function setDateupdate($dateupdate null)
  412.     {
  413.         $this->dateupdate $dateupdate;
  414.         return $this;
  415.     }
  416.     /**
  417.      * Get dateupdate.
  418.      *
  419.      * @return \DateTime|null
  420.      */
  421.     public function getDateupdate()
  422.     {
  423.         return $this->dateupdate;
  424.     }
  425.     /**
  426.      * Set dateinsert.
  427.      *
  428.      * @param \DateTime|null $dateinsert
  429.      *
  430.      * @return Dvds
  431.      */
  432.     public function setDateinsert($dateinsert null)
  433.     {
  434.         $this->dateinsert $dateinsert;
  435.         return $this;
  436.     }
  437.     /**
  438.      * Get dateinsert.
  439.      *
  440.      * @return \DateTime|null
  441.      */
  442.     public function getDateinsert()
  443.     {
  444.         return $this->dateinsert;
  445.     }
  446.     /**
  447.      * Set publish.
  448.      *
  449.      * @param bool $publish
  450.      *
  451.      * @return Dvds
  452.      */
  453.     public function setPublish($publish)
  454.     {
  455.         $this->publish $publish;
  456.         return $this;
  457.     }
  458.     /**
  459.      * Get publish.
  460.      *
  461.      * @return bool
  462.      */
  463.     public function getPublish()
  464.     {
  465.         return $this->publish;
  466.     }
  467.     /**
  468.      * Set idextranetuser.
  469.      *
  470.      * @param \Extranetusers|null $idextranetuser
  471.      *
  472.      * @return Dvds
  473.      */
  474.     public function setIdextranetuser(Extranetusers $idextranetuser null)
  475.     {
  476.         $this->idextranetuser $idextranetuser;
  477.         return $this;
  478.     }
  479.     /**
  480.      * Get idextranetuser.
  481.      *
  482.      * @return \Extranetusers|null
  483.      */
  484.     public function getIdextranetuser()
  485.     {
  486.         return $this->idextranetuser;
  487.     }
  488.     /**
  489.      * Set iddvdzone.
  490.      *
  491.      * @param \Dvdzones|null $iddvdzone
  492.      *
  493.      * @return Dvds
  494.      */
  495.     public function setIddvdzone(Dvdzones $iddvdzone null)
  496.     {
  497.         $this->iddvdzone $iddvdzone;
  498.         return $this;
  499.     }
  500.     /**
  501.      * Get iddvdzone.
  502.      *
  503.      * @return \Dvdzones|null
  504.      */
  505.     public function getIddvdzone()
  506.     {
  507.         return $this->iddvdzone;
  508.     }
  509.     /**
  510.      * Set iddvdformat.
  511.      *
  512.      * @param \Dvdformats|null $iddvdformat
  513.      *
  514.      * @return Dvds
  515.      */
  516.     public function setIddvdformat(Dvdformats $iddvdformat null)
  517.     {
  518.         $this->iddvdformat $iddvdformat;
  519.         return $this;
  520.     }
  521.     /**
  522.      * Get iddvdformat.
  523.      *
  524.      * @return \Dvdformats|null
  525.      */
  526.     public function getIddvdformat()
  527.     {
  528.         return $this->iddvdformat;
  529.     }
  530.     /**
  531.      * Set iddvdtechno.
  532.      *
  533.      * @param \Dvdtechnos|null $iddvdtechno
  534.      *
  535.      * @return Dvds
  536.      */
  537.     public function setIddvdtechno(Dvdtechnos $iddvdtechno null)
  538.     {
  539.         $this->iddvdtechno $iddvdtechno;
  540.         return $this;
  541.     }
  542.     /**
  543.      * Get iddvdtechno.
  544.      *
  545.      * @return \Dvdtechnos|null
  546.      */
  547.     public function getIddvdtechno()
  548.     {
  549.         return $this->iddvdtechno;
  550.     }
  551.     /**
  552.      * Add idmultimedia.
  553.      *
  554.      * @param \Multimedias $idmultimedia
  555.      *
  556.      * @return Dvds
  557.      */
  558.     public function addIdmultimedia(Multimedias $idmultimedia)
  559.     {
  560.         $this->idmultimedia[] = $idmultimedia;
  561.         return $this;
  562.     }
  563.     /**
  564.      * Remove idmultimedia.
  565.      *
  566.      * @param \Multimedias $idmultimedia
  567.      *
  568.      * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
  569.      */
  570.     public function removeIdmultimedia(Multimedias $idmultimedia)
  571.     {
  572.         return $this->idmultimedia->removeElement($idmultimedia);
  573.     }
  574.     /**
  575.      * Get idmultimedia.
  576.      *
  577.      * @return \Doctrine\Common\Collections\Collection
  578.      */
  579.     public function getIdmultimedia()
  580.     {
  581.         return $this->idmultimedia;
  582.     }
  583.     /**
  584.      * Add idspectacle.
  585.      *
  586.      * @param \Spectacles $idspectacle
  587.      *
  588.      * @return Dvds
  589.      */
  590.     public function addIdspectacle(Spectacles $idspectacle)
  591.     {
  592.         $this->idspectacle[] = $idspectacle;
  593.         return $this;
  594.     }
  595.     /**
  596.      * Remove idspectacle.
  597.      *
  598.      * @param \Spectacles $idspectacle
  599.      *
  600.      * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
  601.      */
  602.     public function removeIdspectacle(Spectacles $idspectacle)
  603.     {
  604.         return $this->idspectacle->removeElement($idspectacle);
  605.     }
  606.     /**
  607.      * Get idspectacle.
  608.      *
  609.      * @return \Doctrine\Common\Collections\Collection
  610.      */
  611.     public function getIdspectacle()
  612.     {
  613.         return $this->idspectacle;
  614.     }
  615.     /**
  616.      * Add idtext.
  617.      *
  618.      * @param \Texts $idtext
  619.      *
  620.      * @return Dvds
  621.      */
  622.     public function addIdtext(Texts $idtext)
  623.     {
  624.         $this->idtext[] = $idtext;
  625.         return $this;
  626.     }
  627.     /**
  628.      * Remove idtext.
  629.      *
  630.      * @param \Texts $idtext
  631.      *
  632.      * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
  633.      */
  634.     public function removeIdtext(Texts $idtext)
  635.     {
  636.         return $this->idtext->removeElement($idtext);
  637.     }
  638.     /**
  639.      * Get idtext.
  640.      *
  641.      * @return \Doctrine\Common\Collections\Collection
  642.      */
  643.     public function getIdtext()
  644.     {
  645.         return $this->idtext;
  646.     }
  647. }