src/Entity/Website/Log/TrafficLog.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Website\Log;
  3. use App\Repository\Website\Log\TrafficLogRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassTrafficLogRepository::class)]
  7. class TrafficLog extends AbstractHourlyLog
  8. {
  9.     #[ORM\Column(typeTypes::BIGINT)]
  10.     private ?string $inBytes null;
  11.     #[ORM\Column(typeTypes::BIGINT)]
  12.     private ?string $outBytes null;
  13.     #[ORM\Column(typeTypes::BIGINT)]
  14.     private ?string $totalBytes null;
  15.     public function getInBytes(): ?string
  16.     {
  17.         return $this->inBytes;
  18.     }
  19.     public function setInBytes(string $inBytes): static
  20.     {
  21.         $this->inBytes $inBytes;
  22.         return $this;
  23.     }
  24.     public function getOutBytes(): ?string
  25.     {
  26.         return $this->outBytes;
  27.     }
  28.     public function setOutBytes(string $outBytes): static
  29.     {
  30.         $this->outBytes $outBytes;
  31.         return $this;
  32.     }
  33.     public function getTotalBytes(): ?string
  34.     {
  35.         return $this->totalBytes;
  36.     }
  37.     public function setTotalBytes(string $totalBytes): static
  38.     {
  39.         $this->totalBytes $totalBytes;
  40.         return $this;
  41.     }
  42. }