dbmsv4/app/Entities/MylogEntity.php
2026-02-04 11:18:22 +09:00

31 lines
614 B
PHP

<?php
namespace App\Entities;
use App\Models\MylogModel as Model;
class MylogEntity extends CommonEntity
{
const PK = Model::PK;
const TITLE = Model::TITLE;
protected array $nullableFields = [
'user_uid',
];
protected $attributes = [
'user_uid' => null,
'title' => '',
'status' => '',
'content' => ''
];
public function __construct(array|null $data = null)
{
parent::__construct($data);
}
//공통부분
//Common Function
public function getUserUid(): int|null
{
return $this->user_uid ?? null;
}
}