/**
  * Save the model to the database if it's valid. Run beforeSave() and
  * afterSave() methods.
  *
  * @param $force Force save even if the object is invalid
  * @return bool
  */
 public function save($force = false)
 {
     $this->beforeSave($force);
     $result = parent::save($force);
     $this->afterSave($result, $force);
     return $result;
 }