27 lines
560 B
PHP
27 lines
560 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'];
|
|
}
|
|
public function getDomain(): string|null
|
|
{
|
|
return $this->attributes['domain'];
|
|
}
|
|
}
|