<?php
namespace App\Entity;
use App\Repository\DateSuppCircuitRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=DateSuppCircuitRepository::class)
*/
class DateSuppCircuit
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="date")
*/
private $dated;
/**
* @ORM\Column(type="date")
*/
private $datef;
/**
* @ORM\ManyToOne(targetEntity=Circuit::class, inversedBy="dateSuppCircuits")
*/
private $circuit;
public function getId(): ?int
{
return $this->id;
}
public function getDated(): ?\DateTimeInterface
{
return $this->dated;
}
public function setDated(\DateTimeInterface $dated): self
{
$this->dated = $dated;
return $this;
}
public function getDatef(): ?\DateTimeInterface
{
return $this->datef;
}
public function setDatef(\DateTimeInterface $datef): self
{
$this->datef = $datef;
return $this;
}
public function getCircuit(): ?Circuit
{
return $this->circuit;
}
public function setCircuit(?Circuit $circuit): self
{
$this->circuit = $circuit;
return $this;
}
}