<?phpnamespace App\Entity;use App\Repository\TacheRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: TacheRepository::class)]class Tache{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\Column(length: 255)] private ?string $nomTach = null; #[ORM\Column(type: Types::DATETIME_MUTABLE)] private ?\DateTimeInterface $dateCreation = null; #[ORM\Column(type: Types::DATETIME_MUTABLE , nullable: true)] private ?\DateTimeInterface $dateDebut = null; #[ORM\Column] private ?int $etatTach = null; #[ORM\Column] private ?int $prioTach = null; #[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)] private ?\DateTimeInterface $dateFin = null; #[ORM\Column(nullable: true)] private ?int $idMarche = null; #[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)] private ?\DateTimeInterface $dateEcheance = null; #[ORM\Column] private ?int $typeTach = null; public function getId(): ?int { return $this->id; } public function getNomTach(): ?string { return $this->nomTach; } public function setNomTach(string $nomTach): static { $this->nomTach = $nomTach; return $this; } public function getDateCreation(): ?\DateTimeInterface { return $this->dateCreation; } public function setDateCreation(\DateTimeInterface $dateCreation): static { $this->dateCreation = $dateCreation; return $this; } public function getEtatTach(): ?int { return $this->etatTach; } public function setEtatTach(int $etatTach): static { $this->etatTach = $etatTach; return $this; } public function getPrioTach(): ?int { return $this->prioTach; } public function setPrioTach(int $prioTach): static { $this->prioTach = $prioTach; return $this; } public function getDateFin(): ?\DateTimeInterface { return $this->dateFin; } public function setDateFin(?\DateTimeInterface $dateFin): static { $this->dateFin = $dateFin; return $this; } public function getIdMarche(): ?int { return $this->idMarche; } public function setIdMarche(?int $idMarche): static { $this->idMarche = $idMarche; return $this; } public function getDateEcheance(): ?\DateTimeInterface { return $this->dateEcheance; } public function setDateEcheance(?\DateTimeInterface $dateEcheance): static { $this->dateEcheance = $dateEcheance; return $this; } public function getTypeTach(): ?int { return $this->typeTach; } public function setTypeTach(int $typeTach): static { $this->typeTach = $typeTach; return $this; } public function getDateDebut(): ?\DateTimeInterface { return $this->dateDebut; } public function setDateDebut(\DateTimeInterface $dateDebut): static { $this->dateDebut = $dateDebut; return $this; }}