<?php
namespace App\Entity\Website\Log;
use App\Repository\Website\Log\TrafficLogRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: TrafficLogRepository::class)]
class TrafficLog extends AbstractHourlyLog
{
#[ORM\Column(type: Types::BIGINT)]
private ?string $inBytes = null;
#[ORM\Column(type: Types::BIGINT)]
private ?string $outBytes = null;
#[ORM\Column(type: Types::BIGINT)]
private ?string $totalBytes = null;
public function getInBytes(): ?string
{
return $this->inBytes;
}
public function setInBytes(string $inBytes): static
{
$this->inBytes = $inBytes;
return $this;
}
public function getOutBytes(): ?string
{
return $this->outBytes;
}
public function setOutBytes(string $outBytes): static
{
$this->outBytes = $outBytes;
return $this;
}
public function getTotalBytes(): ?string
{
return $this->totalBytes;
}
public function setTotalBytes(string $totalBytes): static
{
$this->totalBytes = $totalBytes;
return $this;
}
}