# wordpress-seo/18.3/src/models/indexable-hierarchy.php

Yoast SEO – Advanced SEO with real-time guidance and built-in AI, version 18.3. 29 lines.

- Page: https://pluginprobe.com/plugins/wordpress-seo/18.3/code/src/models/indexable-hierarchy.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/18.3/raw/src/models/indexable-hierarchy.php
- Modified: 2020-09-01T12:27:02+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wordpress-seo/18.3/code/src/models/indexable-hierarchy.php#L10-L20`.

```php
<?php

namespace Yoast\WP\SEO\Models;

use Yoast\WP\Lib\Model;

/**
 * Indexable Hierarchy model definition.
 *
 * @property int $indexable_id The ID of the indexable.
 * @property int $ancestor_id  The ID of the indexable's ancestor.
 * @property int $depth        The depth of the ancestry. 1 being a parent, 2 being a grandparent etc.
 * @property int $blog_id      Blog ID.
 */
class Indexable_Hierarchy extends Model {

	/**
	 * Which columns contain int values.
	 *
	 * @var array
	 */
	protected $int_columns = [
		'indexable_id',
		'ancestor_id',
		'depth',
		'blog_id',
	];
}

```
