protected function prepareAllAttributes() {
    static::$all_attributes = static::$my_attributes;
    $parent = get_class($this);
    while (($parent = get_parent_class($parent)) != 'Palmabit\Library\Models\SingleTableInheritance') {
      static::$all_attributes = array_merge(static::$all_attributes, $parent::$my_attributes);
    }
  }