<?php
namespace App\Entity;
use App\Repository\IconRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: IconRepository::class)]
class Icon
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $name = null;
#[ORM\Column(length: 255)]
private ?string $css = null;
#[ORM\Column(length: 255)]
private ?string $category = 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 getCss(): ?string
{
return $this->css;
}
public function setCss(string $css): self
{
$this->css = $css;
return $this;
}
public function getCategory(): ?string
{
return $this->category;
}
public function setCategory(string $category): self
{
$this->category = $category;
return $this;
}
}