29 lines
682 B
PHP
29 lines
682 B
PHP
<?php
|
|
|
|
namespace App\Services\Customer;
|
|
|
|
use App\Entities\Customer\PointEntity;
|
|
use App\Models\Customer\PointModel;
|
|
use CodeIgniter\HTTP\IncomingRequest;
|
|
|
|
class PointService extends CustomerService
|
|
{
|
|
protected ?IncomingRequest $request = null;
|
|
public function __construct(?IncomingRequest $request = null)
|
|
{
|
|
parent::__construct($request);
|
|
}
|
|
public function getClassName(): string
|
|
{
|
|
return parent::getClassName() . DIRECTORY_SEPARATOR . "Point";
|
|
}
|
|
public function getModelClass(): PointModel
|
|
{
|
|
return new PointModel();
|
|
}
|
|
public function getEntityClass(): PointEntity
|
|
{
|
|
return new PointEntity();
|
|
}
|
|
}
|