src/Entity/QuestionsSemaine.php line 17

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4.  * @author Mehrez Labidi
  5.  */
  6. namespace App\Entity;
  7. use App\Repository\QuestionsSemaineRepository;
  8. use Doctrine\ORM\Mapping as ORM;
  9. /**
  10.  * @ORM\Entity(repositoryClass=QuestionsSemaineRepository::class)
  11.  * @ORM\Table(name="fusacq_dbo.questions_semaine")
  12.  */
  13. class QuestionsSemaine
  14. {
  15.     /**
  16.      * @var int @ORM\Id
  17.      * @ORM\Column(type="integer", name="id_question")
  18.      * @ORM\GeneratedValue(strategy="AUTO")
  19.      */
  20.     private $idQuestion;
  21.     /**
  22.      * @var string @ORM\Column(type="string", nullable=true, name="question",length=200, options={"default"= null})
  23.      */
  24.     private $question;
  25.     /**
  26.      * @var string @ORM\Column(type="string", nullable=true, name="date_parution", length=10, options={"default"= null})
  27.      */
  28.     private $dateParution;
  29.     /**
  30.      * @var string @ORM\Column(type="string", nullable=true, name="mode",length=20, options={"default"= null})
  31.      */
  32.     private $mode;
  33.     /**
  34.      * @var int|null @ORM\Column(type="integer", nullable=true, name="nb_consultations", options={"default"= null})
  35.      */
  36.     private $nbConsultations;
  37.     public function __construct()
  38.     {
  39.     }
  40.     public function getIdQuestion(): int
  41.     {
  42.         return $this->idQuestion;
  43.     }
  44.     public function getQuestion(): string
  45.     {
  46.         return $this->question;
  47.     }
  48.     public function setQuestion(string $question): void
  49.     {
  50.         $this->question $question;
  51.     }
  52.     public function getDateParution(): string
  53.     {
  54.         return $this->dateParution;
  55.     }
  56.     public function setDateParution(string $dateParution): void
  57.     {
  58.         $this->dateParution $dateParution;
  59.     }
  60.     public function getMode(): string
  61.     {
  62.         return $this->mode;
  63.     }
  64.     public function setMode(string $mode): void
  65.     {
  66.         $this->mode $mode;
  67.     }
  68.     public function getNbConsultations(): ?int
  69.     {
  70.         return $this->nbConsultations;
  71.     }
  72.     public function setNbConsultations(?int $nbConsultations): void
  73.     {
  74.         $this->nbConsultations $nbConsultations;
  75.     }
  76. }