FictionalIntangible.php 593 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Entity\Product;
  4. // use DH\Auditor\Provider\Doctrine\Auditing\Annotation\Auditable;
  5. use ApiPlatform\Metadata\ApiResource;
  6. use Doctrine\ORM\Mapping as ORM;
  7. /**
  8. * Produit à facturer induit par une action ou un évènement, en fonction du contexte
  9. * (et pas suite à un choix de l'Access).
  10. */
  11. // #[Auditable]
  12. #[ApiResource(operations: [])]
  13. #[ORM\Entity]
  14. class FictionalIntangible
  15. {
  16. #[ORM\Id]
  17. #[ORM\Column]
  18. #[ORM\GeneratedValue]
  19. private ?int $id = null;
  20. public function getId(): ?int
  21. {
  22. return $this->id;
  23. }
  24. }