dbmsv4/app/Entities/Customer/Wallet/WalletEntity.php
2026-01-29 17:06:25 +09:00

36 lines
763 B
PHP

<?php
namespace App\Entities\Customer\Wallet;
use App\Entities\Customer\CustomerEntity;
abstract class WalletEntity extends CustomerEntity
{
public function __construct(array|null $data = null)
{
parent::__construct($data);
}
final public function getUserUid(): int|null
{
return $this->user_uid ?? null;
}
final public function getClientInfoUid(): int|null
{
return $this->clientinfo_uid ?? null;
}
//기본기능
final public function getAmount(): int
{
return $this->amount ?? 0;
}
final public function getBalance(): int
{
return $this->balance ?? 0;
}
final public function getContent(): string
{
return $this->content ?? '';
}
}