src/Entity/ReturnReasons.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ReturnReasonsRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassReturnReasonsRepository::class)]
  6. class ReturnReasons
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue(strategy'IDENTITY')]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\Column(length255nullabletrue)]
  13.     private ?string $key null;
  14.     #[ORM\Column(length2048nullabletrue)]
  15.     private ?string $value null;
  16.     public function getId(): ?int
  17.     {
  18.         return $this->id;
  19.     }
  20.     public function getKey(): ?string
  21.     {
  22.         return $this->key;
  23.     }
  24.     public function setKey(?string $key): self
  25.     {
  26.         $this->key $key;
  27.         return $this;
  28.     }
  29.     public function getValue(): ?string
  30.     {
  31.         return $this->value;
  32.     }
  33.     public function setValue(?string $value): self
  34.     {
  35.         $this->value $value;
  36.         return $this;
  37.     }
  38. }