public function create(array $attributes)
 {
     if (empty($attributes['local_id'])) {
         $role = $this->localRoleRepository->findWhere(['title' => 'USER']);
         if (!empty($role)) {
             $attributes['local_id'] = $role->first()->id;
         }
     }
     return parent::create($attributes);
 }
 /**
  * @param $id
  * @param $prop
  * @param $value
  * @return Question
  */
 public function setProtectedPropertyById($id, $prop, $value)
 {
     $this->with_relation_count = false;
     return parent::setProtectedPropertyById($id, $prop, $value);
 }