src/Entity/CamionUser.php line 10
<?phpnamespace App\Entity;use App\Repository\CamionUserRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: CamionUserRepository::class)]class CamionUser{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\ManyToOne(inversedBy: 'camionUsers')]private ?Camion $camion = null;#[ORM\ManyToOne(inversedBy: 'camionUsers')]private ?User $user = null;#[ORM\Column(type: Types::DATETIME_MUTABLE)]private ?\DateTime $dateDebut = null;#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]private ?\DateTime $dateFin = null;public function getId(): ?int{return $this->id;}public function getCamion(): ?Camion{return $this->camion;}public function setCamion(?Camion $camion): self{$this->camion = $camion;return $this;}public function getUser(): ?User{return $this->user;}public function setUser(?User $user): self{$this->user = $user;return $this;}public function getDateDebut(): ?\DateTime{return $this->dateDebut;}public function setDateDebut(\DateTime $dateDebut): self{$this->dateDebut = $dateDebut;return $this;}public function getDateFin(): ?\DateTime{return $this->dateFin;}public function setDateFin(?\DateTime $dateFin): self{$this->dateFin = $dateFin;return $this;}}