Deprecated: Constant E_STRICT is deprecated in /home/pastorz/old-espace-client/vendor/symfony/error-handler/ErrorHandler.php on line 58

Deprecated: Constant E_STRICT is deprecated in /home/pastorz/old-espace-client/vendor/symfony/error-handler/ErrorHandler.php on line 76
Symfony Profiler

src/Entity/GuardChargeConfig.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\GuardChargeConfigRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. use Gedmo\Timestampable\Traits\TimestampableEntity;
  7. #[ORM\Entity(repositoryClassGuardChargeConfigRepository::class)]
  8. class GuardChargeConfig
  9. {
  10.     use TimestampableEntity;
  11.     #[ORM\Id]
  12.     #[ORM\GeneratedValue]
  13.     #[ORM\Column]
  14.     private ?int $id null;
  15.     #[ORM\Column(typeTypes::DECIMALprecision10scale2)]
  16.     private ?float $palletPrice null;
  17.     #[ORM\Column(typeTypes::DECIMALprecision10scale2)]
  18.     private ?float $price null;
  19.     #[ORM\Column(type'integer')]
  20.     private ?int $freeDays null;
  21.     public function getId(): ?int
  22.     {
  23.         return $this->id;
  24.     }
  25.     public function getPalletPrice(): ?float
  26.     {
  27.         return $this->palletPrice;
  28.     }
  29.     public function setPalletPrice(float $palletPrice): self
  30.     {
  31.         $this->palletPrice $palletPrice;
  32.         return $this;
  33.     }
  34.     public function getPrice(): ?float
  35.     {
  36.         return $this->price;
  37.     }
  38.     public function setPrice(float $price): self
  39.     {
  40.         $this->price $price;
  41.         return $this;
  42.     }
  43.     public function getFreeDays(): ?int
  44.     {
  45.         return $this->freeDays;
  46.     }
  47.     public function setFreeDays(?int $freeDays): GuardChargeConfig
  48.     {
  49.         $this->freeDays $freeDays;
  50.         return $this;
  51.     }
  52. }