26 lines
515 B
PHP
26 lines
515 B
PHP
<?php
|
|
|
|
namespace App\Entities\Customer;
|
|
|
|
use App\Entities\CommonEntity;
|
|
use App\Models\Customer\AccountModel;
|
|
|
|
class AccountEntity extends CommonEntity
|
|
{
|
|
const PK = AccountModel::PK;
|
|
const TITLE = AccountModel::TITLE;
|
|
|
|
public function getClient()
|
|
{
|
|
return $this->attributes['clientinfo_uid'];
|
|
}
|
|
public function getCoupon()
|
|
{
|
|
return $this->attributes['coupon_balance'];
|
|
}
|
|
public function getPoint()
|
|
{
|
|
return $this->attributes['point_balance'];
|
|
}
|
|
}
|