19 lines
365 B
PHP
19 lines
365 B
PHP
<?php
|
|
|
|
namespace App\Entities;
|
|
|
|
use App\Entities\CommonEntity as Entity;
|
|
use App\Models\MyLogModel as Model;
|
|
|
|
class MyLogEntity extends Entity
|
|
{
|
|
const PKField = Model::PK;
|
|
const TitleField = Model::TITLE;
|
|
public function __toString(): string
|
|
{
|
|
return "{$this->getPK()}:{$this->getTitle()}}";
|
|
}
|
|
//공통부분
|
|
//Common Function
|
|
}
|