\App\System\MapperSystemOperLogMapper

Class AbstractMapper

Summary

Methods
Properties
Constants
assignModel()
__construct()
setAttributes()
__get()
getAttributes()
handleSearch()
$model
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

Methods

assignModel()

assignModel() 

__construct()

__construct() 

setAttributes()

setAttributes(array  $data) 

把数据设置为类属性

Parameters

array $data

__get()

__get(string  $name) : mixed|string

魔术方法,从类属性里获取数据

Parameters

string $name

Returns

mixed|string

getAttributes()

getAttributes() : array

获取数据

Returns

array

handleSearch()

handleSearch(\Hyperf\Database\Model\Builder  $query, array  $params) : \Hyperf\Database\Model\Builder

搜索处理器

Parameters

\Hyperf\Database\Model\Builder $query
array $params

Returns

\Hyperf\Database\Model\Builder