<?php
namespace App\Entity;
use App\Repository\CustomerSessionRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=CustomerSessionRepository::class)
*/
class CustomerSession
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(name="idCustomerSession",type="integer")
*/
private ?int $id = null;
public function getId(): ?int
{
return $this->id;
}
/**
* @ORM\Column(type="integer")
*/
private $idCustomer;
/**
* @ORM\Column(type="integer")
*/
private $idCourseSession;
public function getIdCourseSession(): ?int
{
return $this->idCourseSession;
}
public function setIdCustomer(int $idCustomer): self
{
$this->idCustomer = $idCustomer;
return $this;
}
public function getIdCustomer(): ?int
{
return $this->idCustomer;
}
public function setIdCourseSession(int $idCourseSession): self
{
$this->idCourseSession = $idCourseSession;
return $this;
}
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private $dateEvenement;
public function getDateEvenement(): ?\DateTimeInterface
{
return $this->dateEvenement;
}
public function setDateEvenement(?\DateTimeInterface $dateEvenement): self
{
$this->dateEvenement = $dateEvenement;
return $this;
}
}