22 lines
477 B
PHP
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();
|
|
}
|
|
}
|