src/Entity/FrontZoneParamValue.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\FrontZoneparamValueRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassFrontZoneParamValueRepository::class)]
  6. class FrontZoneParamValue
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\ManyToOne(inversedBy'frontZoneParamValues')]
  13.     #[ORM\JoinColumn(nullablefalse)]
  14.     private ?FrontZone $frontZone null;
  15.     #[ORM\Column(length100 nullablefalse)]
  16.     private ?string $parameter null;
  17.     #[ORM\Column(length100 nullabletrue)]
  18.     private ?string $value null ;
  19.     public function __construct()
  20.     {
  21.     }
  22.     public function getId(): ?int
  23.     {
  24.         return $this->id;
  25.     }
  26.     public function getFrontZone(): ?FrontZone
  27.     {
  28.         return $this->frontZone;
  29.     }
  30.     public function setFrontZone(?FrontZone $frontZone): static
  31.     {
  32.         $this->frontZone $frontZone;
  33.         return $this;
  34.     }
  35.     
  36.     public function getParameter(): string
  37.     {
  38.         return $this->parameter;
  39.     }
  40.     public function setParameter(?string $parameter): static
  41.     {
  42.         $this->parameter $parameter;
  43.         return $this;
  44.     }
  45.     public function getValue(): ?string
  46.     {
  47.         return $this->value;
  48.     }
  49.     public function setValue(?string $value): static
  50.     {
  51.         $this->value $value;
  52.         return $this;
  53.     }
  54. }