You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
678B

  1. <?php
  2. namespace App\Entity\Order;
  3. use App\Repository\OrderProductReductionCatalogRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. use Lc\CaracoleBundle\Model\Order\OrderProductReductionCatalogInterface;
  6. use Lc\CaracoleBundle\Model\Order\OrderProductReductionCatalogModel;
  7. /**
  8. * @ORM\Entity(repositoryClass=OrderProductReductionCatalogRepository::class)
  9. */
  10. class OrderProductReductionCatalog extends OrderProductReductionCatalogModel implements
  11. OrderProductReductionCatalogInterface
  12. {
  13. /**
  14. * @ORM\Id
  15. * @ORM\GeneratedValue
  16. * @ORM\Column(type="integer")
  17. */
  18. private $id;
  19. public function getId(): ?int
  20. {
  21. return $this->id;
  22. }
  23. }