30 lines
729 B
PHP
30 lines
729 B
PHP
<?php
|
|
|
|
namespace App\Entities\Customer;
|
|
|
|
use App\Entities\CommonEntity;
|
|
use App\Entities\Customer\ClientEntity;
|
|
|
|
abstract class CustomerEntity extends CommonEntity
|
|
{
|
|
private ?ClientEntity $_clientEntity = null;
|
|
public function __construct(array|null $data = null)
|
|
{
|
|
parent::__construct($data);
|
|
}
|
|
//고객정보객체
|
|
final public function getClientUID(): int
|
|
{
|
|
return intval($this->attributes['clientinfo_uid']);
|
|
}
|
|
final public function getClient(): ClientEntity|null
|
|
{
|
|
return $this->_clientEntity;
|
|
}
|
|
final public function setClient(ClientEntity $clientEntity): void
|
|
{
|
|
$this->_clientEntity = $clientEntity;
|
|
}
|
|
//타 객체정의 부분
|
|
}
|