dbmsv3/app/Entities/Customer/AccountEntity.php
2025-10-15 16:13:51 +09:00

26 lines
621 B
PHP

<?php
namespace App\Entities\Customer;
use App\Models\Customer\AccountModel;
class AccountEntity extends CustomerEntity
{
const PK = AccountModel::PK;
const TITLE = AccountModel::TITLE;
const DEFAULT_STATUS = STATUS['DEPOSIT'];
final public function getUserUID(): int|null
{
return $this->attributes['user_uid'] ?? null;
}
final public function getClientInfoUID(): int|null
{
return $this->attributes['clientinfo_uid'] ?? null;
}
//기본기능
public function getContent(): string|null
{
return $this->attributes['content'] ?? null;
}
}