trafficmonitor/app/Entities/TrafficEntity.php
2025-11-05 18:58:37 +09:00

22 lines
477 B
PHP

<?php
namespace App\Entities;
use App\Models\TrafficModel;
class TrafficEntity extends CommonEntity
{
const PK = TrafficModel::PK;
const TITLE = TrafficModel::TITLE;
const DEFAULT_STATUS = STATUS['AVAILABLE'];
final public function getUserUID(): int|null
{
return $this->attributes['user_uid'] ?? null;
}
//기본기능용
public function getCustomTitle(mixed $title = null): string
{
return $this->getTitle();
}
}