28 lines
440 B
PHP
28 lines
440 B
PHP
<?php
|
|
|
|
|
|
|
|
namespace app\common\dao\store\parameter;
|
|
|
|
use app\common\dao\BaseDao;
|
|
use app\common\model\store\parameter\Parameter;
|
|
|
|
class ParameterDao extends BaseDao
|
|
{
|
|
|
|
protected function getModel(): string
|
|
{
|
|
return Parameter::class;
|
|
}
|
|
|
|
|
|
public function search(array $where)
|
|
{
|
|
}
|
|
|
|
public function clear(int $id, string $field)
|
|
{
|
|
$this->getModel()::getDB()->where($field, $id)->delete();
|
|
}
|
|
}
|