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

Open in your IDE?
  1. <?php
  2. namespace TheatreCore\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * AnnReponses
  6.  *
  7.  * @ORM\Table(name="ann_reponses", indexes={@ORM\Index(name="idannonce", columns={"idannonce", "idextranetuser"}), @ORM\Index(name="dateinsert", columns={"dateinsert"})})
  8.  * @ORM\Entity(repositoryClass="TheatreCore\Repository\AnnReponsesRepository")
  9.  */
  10. class AnnReponses
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Column(name="idreponse", type="integer", nullable=false)
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="IDENTITY")
  18.      */
  19.     private $idreponse;
  20.     /**
  21.      * @var int
  22.      *
  23.      * @ORM\Column(name="idannonce", type="integer", nullable=false)
  24.      */
  25.     private $idannonce;
  26.     /**
  27.      * @var string
  28.      *
  29.      * @ORM\Column(name="sujet_annonce", type="string", length=250, nullable=false)
  30.      */
  31.     private $sujetAnnonce;
  32.     /**
  33.      * @var bool|null
  34.      *
  35.      * @ORM\Column(name="deleted_annonce", type="boolean", nullable=true)
  36.      */
  37.     private $deletedAnnonce '0';
  38.     /**
  39.      * @var int
  40.      *
  41.      * @ORM\Column(name="idextranetuser", type="integer", nullable=false, options={"unsigned"=true})
  42.      */
  43.     private $idextranetuser;
  44.     /**
  45.      * @var bool|null
  46.      *
  47.      * @ORM\Column(name="annonceur_view", type="boolean", nullable=true)
  48.      */
  49.     private $annonceurView '0';
  50.     /**
  51.      * @var bool|null
  52.      *
  53.      * @ORM\Column(name="lecteur_view", type="boolean", nullable=true)
  54.      */
  55.     private $lecteurView '0';
  56.     /**
  57.      * @var string|null
  58.      *
  59.      * @ORM\Column(name="lecteur_nom", type="string", length=250, nullable=true)
  60.      */
  61.     private $lecteurNom;
  62.     /**
  63.      * @var string|null
  64.      *
  65.      * @ORM\Column(name="lecteur_email", type="string", length=250, nullable=true)
  66.      */
  67.     private $lecteurEmail;
  68.     /**
  69.      * @var string
  70.      *
  71.      * @ORM\Column(name="reponse", type="text", length=65535, nullable=false)
  72.      */
  73.     private $reponse;
  74.     /**
  75.      * @var \DateTime|null
  76.      *
  77.      * @ORM\Column(name="dateread", type="datetime", nullable=true)
  78.      */
  79.     private $dateread;
  80.     /**
  81.      * @var \DateTime
  82.      *
  83.      * @ORM\Column(name="dateinsert", type="datetime", nullable=false, options={"default"="0000-00-00 00:00:00"})
  84.      */
  85.     private $dateinsert '0000-00-00 00:00:00';
  86.     /**
  87.      * @var string
  88.      *
  89.      * @ORM\Column(name="user_agent", type="string", length=250, nullable=false)
  90.      */
  91.     private $userAgent;
  92.     /**
  93.      * Get idreponse.
  94.      *
  95.      * @return int
  96.      */
  97.     public function getIdreponse()
  98.     {
  99.         return $this->idreponse;
  100.     }
  101.     /**
  102.      * Set idannonce.
  103.      *
  104.      * @param int $idannonce
  105.      *
  106.      * @return AnnReponses
  107.      */
  108.     public function setIdannonce($idannonce)
  109.     {
  110.         $this->idannonce $idannonce;
  111.         return $this;
  112.     }
  113.     /**
  114.      * Get idannonce.
  115.      *
  116.      * @return int
  117.      */
  118.     public function getIdannonce()
  119.     {
  120.         return $this->idannonce;
  121.     }
  122.     /**
  123.      * Set sujetAnnonce.
  124.      *
  125.      * @param string $sujetAnnonce
  126.      *
  127.      * @return AnnReponses
  128.      */
  129.     public function setSujetAnnonce($sujetAnnonce)
  130.     {
  131.         $this->sujetAnnonce $sujetAnnonce;
  132.         return $this;
  133.     }
  134.     /**
  135.      * Get sujetAnnonce.
  136.      *
  137.      * @return string
  138.      */
  139.     public function getSujetAnnonce()
  140.     {
  141.         return $this->sujetAnnonce;
  142.     }
  143.     /**
  144.      * Set deletedAnnonce.
  145.      *
  146.      * @param bool|null $deletedAnnonce
  147.      *
  148.      * @return AnnReponses
  149.      */
  150.     public function setDeletedAnnonce($deletedAnnonce null)
  151.     {
  152.         $this->deletedAnnonce $deletedAnnonce;
  153.         return $this;
  154.     }
  155.     /**
  156.      * Get deletedAnnonce.
  157.      *
  158.      * @return bool|null
  159.      */
  160.     public function getDeletedAnnonce()
  161.     {
  162.         return $this->deletedAnnonce;
  163.     }
  164.     /**
  165.      * Set idextranetuser.
  166.      *
  167.      * @param int $idextranetuser
  168.      *
  169.      * @return AnnReponses
  170.      */
  171.     public function setIdextranetuser($idextranetuser)
  172.     {
  173.         $this->idextranetuser $idextranetuser;
  174.         return $this;
  175.     }
  176.     /**
  177.      * Get idextranetuser.
  178.      *
  179.      * @return int
  180.      */
  181.     public function getIdextranetuser()
  182.     {
  183.         return $this->idextranetuser;
  184.     }
  185.     /**
  186.      * Set annonceurView.
  187.      *
  188.      * @param bool|null $annonceurView
  189.      *
  190.      * @return AnnReponses
  191.      */
  192.     public function setAnnonceurView($annonceurView null)
  193.     {
  194.         $this->annonceurView $annonceurView;
  195.         return $this;
  196.     }
  197.     /**
  198.      * Get annonceurView.
  199.      *
  200.      * @return bool|null
  201.      */
  202.     public function getAnnonceurView()
  203.     {
  204.         return $this->annonceurView;
  205.     }
  206.     /**
  207.      * Set lecteurView.
  208.      *
  209.      * @param bool|null $lecteurView
  210.      *
  211.      * @return AnnReponses
  212.      */
  213.     public function setLecteurView($lecteurView null)
  214.     {
  215.         $this->lecteurView $lecteurView;
  216.         return $this;
  217.     }
  218.     /**
  219.      * Get lecteurView.
  220.      *
  221.      * @return bool|null
  222.      */
  223.     public function getLecteurView()
  224.     {
  225.         return $this->lecteurView;
  226.     }
  227.     /**
  228.      * Set lecteurNom.
  229.      *
  230.      * @param string|null $lecteurNom
  231.      *
  232.      * @return AnnReponses
  233.      */
  234.     public function setLecteurNom($lecteurNom null)
  235.     {
  236.         $this->lecteurNom $lecteurNom;
  237.         return $this;
  238.     }
  239.     /**
  240.      * Get lecteurNom.
  241.      *
  242.      * @return string|null
  243.      */
  244.     public function getLecteurNom()
  245.     {
  246.         return $this->lecteurNom;
  247.     }
  248.     /**
  249.      * Set lecteurEmail.
  250.      *
  251.      * @param string|null $lecteurEmail
  252.      *
  253.      * @return AnnReponses
  254.      */
  255.     public function setLecteurEmail($lecteurEmail null)
  256.     {
  257.         $this->lecteurEmail $lecteurEmail;
  258.         return $this;
  259.     }
  260.     /**
  261.      * Get lecteurEmail.
  262.      *
  263.      * @return string|null
  264.      */
  265.     public function getLecteurEmail()
  266.     {
  267.         return $this->lecteurEmail;
  268.     }
  269.     /**
  270.      * Set reponse.
  271.      *
  272.      * @param string $reponse
  273.      *
  274.      * @return AnnReponses
  275.      */
  276.     public function setReponse($reponse)
  277.     {
  278.         $this->reponse $reponse;
  279.         return $this;
  280.     }
  281.     /**
  282.      * Get reponse.
  283.      *
  284.      * @return string
  285.      */
  286.     public function getReponse()
  287.     {
  288.         return $this->reponse;
  289.     }
  290.     /**
  291.      * Set dateread.
  292.      *
  293.      * @param \DateTime|null $dateread
  294.      *
  295.      * @return AnnReponses
  296.      */
  297.     public function setDateread($dateread null)
  298.     {
  299.         $this->dateread $dateread;
  300.         return $this;
  301.     }
  302.     /**
  303.      * Get dateread.
  304.      *
  305.      * @return \DateTime|null
  306.      */
  307.     public function getDateread()
  308.     {
  309.         return $this->dateread;
  310.     }
  311.     /**
  312.      * Set dateinsert.
  313.      *
  314.      * @param \DateTime $dateinsert
  315.      *
  316.      * @return AnnReponses
  317.      */
  318.     public function setDateinsert($dateinsert)
  319.     {
  320.         $this->dateinsert $dateinsert;
  321.         return $this;
  322.     }
  323.     /**
  324.      * Get dateinsert.
  325.      *
  326.      * @return \DateTime
  327.      */
  328.     public function getDateinsert()
  329.     {
  330.         return $this->dateinsert;
  331.     }
  332.     /**
  333.      * Set userAgent.
  334.      *
  335.      * @param string $userAgent
  336.      *
  337.      * @return AnnReponses
  338.      */
  339.     public function setUserAgent($userAgent)
  340.     {
  341.         $this->userAgent $userAgent;
  342.         return $this;
  343.     }
  344.     /**
  345.      * Get userAgent.
  346.      *
  347.      * @return string
  348.      */
  349.     public function getUserAgent()
  350.     {
  351.         return $this->userAgent;
  352.     }
  353. }