src/Entity/PricingPlan.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\PricingPlanRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassPricingPlanRepository::class)]
  7. class PricingPlan
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(typeTypes::DECIMALprecision10scale2nullabletrue)]
  14.     private ?string $oneHour null;
  15.     #[ORM\Column(typeTypes::DECIMALprecision10scale2nullabletrue)]
  16.     private ?string $twoHours null;
  17.     #[ORM\Column(typeTypes::DECIMALprecision10scale2nullabletrue)]
  18.     private ?string $threeHours null;
  19.     public function getId(): ?int
  20.     {
  21.         return $this->id;
  22.     }
  23.     public function getOneHour(): ?string
  24.     {
  25.         return $this->oneHour;
  26.     }
  27.     public function setOneHour(?string $oneHour): static
  28.     {
  29.         $this->oneHour $oneHour;
  30.         return $this;
  31.     }
  32.     public function getTwoHours(): ?string
  33.     {
  34.         return $this->twoHours;
  35.     }
  36.     public function setTwoHours(?string $twoHours): static
  37.     {
  38.         $this->twoHours $twoHours;
  39.         return $this;
  40.     }
  41.     public function getThreeHours(): ?string
  42.     {
  43.         return $this->threeHours;
  44.     }
  45.     public function setThreeHours(?string $threeHours): static
  46.     {
  47.         $this->threeHours $threeHours;
  48.         return $this;
  49.     }
  50. }