<?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;
    }
}
