public function getGenresName() { return $this->hasMany(Genre::className(), ['id' => 'genre_id'])->viaTable('genre_book', ['book_id' => 'id']); }