src/Entity/ProductAccessories.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ProductAccessoriesRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassProductAccessoriesRepository::class)]
  6. class ProductAccessories
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\ManyToOne(inversedBy'productAccessories')]
  13.     #[ORM\JoinColumn(nullablefalse)]
  14.     private ?products $product null;
  15.     #[ORM\ManyToOne]
  16.     #[ORM\JoinColumn(nullablefalse)]
  17.     private ?products $accessory null;
  18.     #[ORM\Column(length255nullabletrue)]
  19.     private ?string $thickness null;
  20.     #[ORM\Column(length255nullabletrue)]
  21.     private ?string $length null;
  22.     #[ORM\Column(length255nullabletrue)]
  23.     private ?string $typeTxt null;
  24.     #[ORM\Column(length255nullabletrue)]
  25.     private ?string $actionTxt null;
  26.     #[ORM\Column(length255nullabletrue)]
  27.     private ?string $gas null;
  28.     #[ORM\Column(length255nullabletrue)]
  29.     private ?string $arpf null;
  30.     #[ORM\Column(length255nullabletrue)]
  31.     private ?string $degree null;
  32.     #[ORM\Column(length255nullabletrue)]
  33.     private ?string $accessoryTxt null;
  34.     public function getId(): ?int
  35.     {
  36.         return $this->id;
  37.     }
  38.     public function getProduct(): ?products
  39.     {
  40.         return $this->product;
  41.     }
  42.     public function setProduct(?products $product): static
  43.     {
  44.         $this->product $product;
  45.         return $this;
  46.     }
  47.     public function getAccessory(): ?products
  48.     {
  49.         return $this->accessory;
  50.     }
  51.     public function setAccessory(?products $accessory): static
  52.     {
  53.         $this->accessory $accessory;
  54.         return $this;
  55.     }
  56.     public function getThickness(): ?string
  57.     {
  58.         return $this->thickness;
  59.     }
  60.     public function setThickness(?string $thickness): static
  61.     {
  62.         $this->thickness $thickness;
  63.         return $this;
  64.     }
  65.     public function getLength(): ?string
  66.     {
  67.         return $this->length;
  68.     }
  69.     public function setLength(?string $length): static
  70.     {
  71.         $this->length $length;
  72.         return $this;
  73.     }
  74.     public function getTypeTxt(): ?string
  75.     {
  76.         return $this->typeTxt;
  77.     }
  78.     public function setTypeTxt(?string $typeTxt): static
  79.     {
  80.         $this->typeTxt $typeTxt;
  81.         return $this;
  82.     }
  83.     public function getActionTxt(): ?string
  84.     {
  85.         return $this->actionTxt;
  86.     }
  87.     public function setActionTxt(?string $actionTxt): static
  88.     {
  89.         $this->actionTxt $actionTxt;
  90.         return $this;
  91.     }
  92.     public function getGas(): ?string
  93.     {
  94.         return $this->gas;
  95.     }
  96.     public function setGas(?string $gas): static
  97.     {
  98.         $this->gas $gas;
  99.         return $this;
  100.     }
  101.     public function getArpf(): ?string
  102.     {
  103.         return $this->arpf;
  104.     }
  105.     public function setArpf(?string $arpf): static
  106.     {
  107.         $this->arpf $arpf;
  108.         return $this;
  109.     }
  110.     public function getDegree(): ?string
  111.     {
  112.         return $this->degree;
  113.     }
  114.     public function setDegree(?string $degree): static
  115.     {
  116.         $this->degree $degree;
  117.         return $this;
  118.     }
  119.     public function getAccessoryTxt(): ?string
  120.     {
  121.         return $this->accessoryTxt;
  122.     }
  123.     public function setAccessoryTxt(?string $accessoryTxt): static
  124.     {
  125.         $this->accessoryTxt $accessoryTxt;
  126.         return $this;
  127.     }
  128. }