'array', 'type1' => VIEW_TYPE::class ]; public function admin() { return $this->hasOne(Administrator::class, 'id', 'admin_id'); } }