Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
|
- <?php
-
- namespace App\Entity\Product;
-
- use App\Repository\ProductCategoryRepository;
- use Doctrine\ORM\Mapping as ORM;
- use Lc\CaracoleBundle\Model\Product\ProductCategoryInterface;
- use Lc\CaracoleBundle\Model\Product\ProductCategoryModel;
-
- /**
- * @ORM\Entity(repositoryClass=ProductCategoryRepository::class)
- */
- class ProductCategory extends ProductCategoryModel implements ProductCategoryInterface
- {
- /**
- * @ORM\Id
- * @ORM\GeneratedValue
- * @ORM\Column(type="integer")
- */
- private $id;
-
- public function getId(): ?int
- {
- return $this->id;
- }
- }
|