多态一对多
$model : string
关联的模型类 可以是包含命名空间的完整类名 可以同命名空间下的类名
$type : string
多态类型字段名
$typeValue : mixed
多态类型字段值
$order : string
排序规则字符串
例:age desc, id desc
$defaultFieldName : string
只传一个参数时的参数名
$data : array
数据
__construct( $data = array())
offsetGet( $offset)
__wakeup()
offsetExists( $offset)
offsetSet( $offset, $value)
offsetUnset( $offset)
current()
key()
next()
rewind()
valid()
__set( $name, $value)
__get( $name)
__isset( $name)
__unset( $name)
toArray() : array
将当前对象作为数组返回
jsonSerialize() : array
json 序列化