src/Entity/Role.php line 22
<?phpdeclare(strict_types=1);namespace App\Entity;use ApiPlatform\Core\Annotation\ApiResource;use App\Entity\Mapped\NamedEntity;use App\Repository\RoleRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: RoleRepository::class)]#[ORM\Table(name: 'role')]#[ApiResource(collectionOperations: [],itemOperations: [])]class Role extends NamedEntity{#[ORM\Column(name: 'key_name',type: 'string',length: 181,nullable: true)]private ?string $keyName = null;public function getKeyName(): ?string{return $this->keyName;}public function setKeyName(?string $keyName): self{$this->keyName = $keyName;return $this;}}