src/Entity/Maintenance.php line 10
<?phpnamespace App\Entity;use App\Repository\MaintenanceRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: MaintenanceRepository::class)]class Maintenance{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\Column(type: Types::DATE_MUTABLE)]private ?\DateTimeInterface $date = null;#[ORM\ManyToOne(inversedBy: 'maintenances')]private ?MaintenanceType $type = null;#[ORM\ManyToOne(inversedBy: 'maintenances')]private ?Camion $camion = null;#[ORM\ManyToOne(inversedBy: 'maintenances')]private ?Remorque $remorque = null;#[ORM\Column(type: Types::TEXT)]private ?string $commentaire = null;#[ORM\ManyToOne(inversedBy: 'maintenances')]private ?SystemeClient $systemeClient = null;#[ORM\Column]private ?int $actif = null;public function getId(): ?int{return $this->id;}public function getDate(): ?\DateTimeInterface{return $this->date;}public function setDate(\DateTimeInterface $date): self{$this->date = $date;return $this;}public function getType(): ?MaintenanceType{return $this->type;}public function setType(?MaintenanceType $type): self{$this->type = $type;return $this;}public function getCamion(): ?Camion{return $this->camion;}public function setCamion(?Camion $camion): self{$this->camion = $camion;return $this;}public function getRemorque(): ?Remorque{return $this->remorque;}public function setRemorque(?Remorque $remorque): self{$this->remorque = $remorque;return $this;}public function getCommentaire(): ?string{return $this->commentaire;}public function setCommentaire(string $commentaire): self{$this->commentaire = $commentaire;return $this;}public function getSystemeClient(): ?SystemeClient{return $this->systemeClient;}public function setSystemeClient(?SystemeClient $systemeClient): self{$this->systemeClient = $systemeClient;return $this;}public function getActif(): ?int{return $this->actif;}public function setActif(int $actif): self{$this->actif = $actif;return $this;}}