trafficmonitor/app/Entities/CollectorEntity.php
2025-11-12 14:30:38 +09:00

33 lines
677 B
PHP

<?php
namespace App\Entities;
use App\Models\CollectorModel;
class CollectorEntity extends CommonEntity
{
const PK = CollectorModel::PK;
const TITLE = CollectorModel::TITLE;
//기본기능용
public function getTrafficInfoUID(): int
{
return $this->attributes['trafficinfo_uid'];
}
public function getIn(): int
{
return $this->attributes['in'];
}
public function getOut(): int
{
return $this->attributes['out'];
}
public function getRawIn(): int
{
return $this->attributes['raw_in'];
}
public function getRawOut(): int
{
return $this->attributes['raw_out'];
}
}