src/Entity/Accessories.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\AccessoriesRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=AccessoriesRepository::class)
  7.  */
  8. class Accessories
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="string", length=255)
  18.      */
  19.     private $type;
  20.     /**
  21.      * @ORM\Column(type="string", length=255)
  22.      */
  23.     private $description;
  24.     /**
  25.      * @ORM\Column(type="string", length=255)
  26.      */
  27.     private $price;
  28.     /**
  29.      * @ORM\Column(type="string", length=255)
  30.      */
  31.     private $ek;
  32.     /**
  33.      * @ORM\Column(type="string", length=255)
  34.      */
  35.     private $marge;
  36.     public function getId(): ?int
  37.     {
  38.         return $this->id;
  39.     }
  40.     public function getType(): ?string
  41.     {
  42.         return $this->type;
  43.     }
  44.     public function setType(string $type): self
  45.     {
  46.         $this->type $type;
  47.         return $this;
  48.     }
  49.     public function getDescription(): ?string
  50.     {
  51.         return $this->description;
  52.     }
  53.     public function setDescription(string $description): self
  54.     {
  55.         $this->description $description;
  56.         return $this;
  57.     }
  58.     public function getPrice(): ?string
  59.     {
  60.         return $this->price;
  61.     }
  62.     public function setPrice(string $price): self
  63.     {
  64.         $this->price $price;
  65.         return $this;
  66.     }
  67.     public function getEk(): ?string
  68.     {
  69.         return $this->ek;
  70.     }
  71.     public function setEk(string $ek): self
  72.     {
  73.         $this->ek $ek;
  74.         return $this;
  75.     }
  76.     public function getMarge(): ?string
  77.     {
  78.         return $this->marge;
  79.     }
  80.     public function setMarge(string $marge): self
  81.     {
  82.         $this->marge $marge;
  83.         return $this;
  84.     }
  85. }