src/Entity/Model.php line 11
<?phpnamespace App\Entity;use App\Repository\ModelRepository;use DateTimeInterface;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: ModelRepository::class)]class Model{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\Column(length: 255)]private ?string $name = null;#[ORM\Column]private ?bool $isSupported = null;#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]private ?DateTimeInterface $supportedAt = null;public function getId(): ?int{return $this->id;}public function getName(): ?string{return $this->name;}public function setName(string $name): self{$this->name = $name;return $this;}public function isIsSupported(): ?bool{return $this->isSupported;}public function setIsSupported(bool $isSupported): self{$this->isSupported = $isSupported;return $this;}public function getSupportedAt(): ?DateTimeInterface{return $this->supportedAt;}public function setSupportedAt(?DateTimeInterface $supportedAt): self{$this->supportedAt = $supportedAt;return $this;}public function __toString(): string{return $this->name;}}