dbmsv4/app/Entities/Part/CSEntity.php
2025-11-18 16:54:55 +09:00

27 lines
576 B
PHP

<?php
namespace App\Entities\Part;
use App\Models\Part\CSModel;
class CSEntity extends PartEntity
{
const PK = CSModel::PK;
const TITLE = CSModel::TITLE;
const DEFAULT_STATUS = STATUS['AVAILABLE'];
//기본기능
public function getIP(): string
{
return $this->attributes['ip'];
}
//기본기능
public function getAccountID(): string|null
{
return $this->attributes['accountid'] ?? null;
}
public function getDomain(): string|null
{
return $this->attributes['domain'] ?? null;
}
}