src/Entity/CustomerSession.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\CustomerSessionRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=CustomerSessionRepository::class)
  7.  */
  8. class CustomerSession
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(name="idCustomerSession",type="integer")
  14.      */
  15.     private ?int $id null;
  16.     public function getId(): ?int
  17.     {
  18.         return $this->id;
  19.     }
  20.     /**
  21.      * @ORM\Column(type="integer")
  22.      */
  23.     private $idCustomer;
  24.     /**
  25.      * @ORM\Column(type="integer")
  26.      */
  27.     private $idCourseSession;
  28.       public function getIdCourseSession(): ?int
  29.     {
  30.         return $this->idCourseSession;
  31.     }
  32.     public function setIdCustomer(int $idCustomer): self
  33.     {
  34.         $this->idCustomer $idCustomer;
  35.         return $this;
  36.     }
  37.       public function getIdCustomer(): ?int
  38.     {
  39.         return $this->idCustomer;
  40.     }
  41.     public function setIdCourseSession(int $idCourseSession): self
  42.     {
  43.         $this->idCourseSession $idCourseSession;
  44.         return $this;
  45.     }
  46.      /**
  47.      * @ORM\Column(type="datetime", nullable=true)
  48.      */
  49.     private $dateEvenement;
  50.     public function getDateEvenement(): ?\DateTimeInterface
  51.     {
  52.         return $this->dateEvenement;
  53.     }
  54.     public function setDateEvenement(?\DateTimeInterface $dateEvenement): self
  55.     {
  56.         $this->dateEvenement $dateEvenement;
  57.         return $this;
  58.     }
  59. }