| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <?php
- declare(strict_types=1);
- namespace App\Entity\Core;
- // use DH\Auditor\Provider\Doctrine\Auditing\Annotation\Auditable;
- use ApiPlatform\Metadata\ApiResource;
- use Doctrine\ORM\Mapping as ORM;
- /**
- * Enum des sous-familles d'art, sous-type de Familly.
- */
- // #[Auditable]
- #[ApiResource(operations: [])]
- #[ORM\Entity]
- class Subfamilly
- {
- #[ORM\Id]
- #[ORM\Column]
- #[ORM\GeneratedValue]
- private ?int $id = null;
- #[ORM\Column(type: 'string')]
- private string $name;
- 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;
- }
- }
|