36 lines
613 B
PHP
36 lines
613 B
PHP
<?php
|
|
|
|
namespace App\Entity;
|
|
|
|
use App\Repository\FaultRepository;
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
|
|
#[ORM\Entity(repositoryClass: FaultRepository::class)]
|
|
class Fault
|
|
{
|
|
#[ORM\Id]
|
|
#[ORM\GeneratedValue]
|
|
#[ORM\Column]
|
|
private ?int $id = null;
|
|
|
|
#[ORM\Column(length: 255)]
|
|
private ?string $Wording = null;
|
|
|
|
public function getId(): ?int
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
public function getWording(): ?string
|
|
{
|
|
return $this->Wording;
|
|
}
|
|
|
|
public function setWording(string $Wording): static
|
|
{
|
|
$this->Wording = $Wording;
|
|
|
|
return $this;
|
|
}
|
|
}
|