# wordpress-seo/18.2/src/models/primary-term.php

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

- Page: https://pluginprobe.com/plugins/wordpress-seo/18.2/code/src/models/primary-term.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/18.2/raw/src/models/primary-term.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.2/code/src/models/primary-term.php#L10-L20`.

```php
<?php

namespace Yoast\WP\SEO\Models;

use Yoast\WP\Lib\Model;

/**
 * Primary Term model definition.
 *
 * @property int    $id       Identifier.
 * @property int    $post_id  Post ID.
 * @property int    $term_id  Term ID.
 * @property string $taxonomy Taxonomy.
 * @property int    $blog_id  Blog ID.
 *
 * @property string $created_at
 * @property string $updated_at
 */
class Primary_Term extends Model {

	/**
	 * Whether nor this model uses timestamps.
	 *
	 * @var bool
	 */
	protected $uses_timestamps = true;

	/**
	 * Which columns contain int values.
	 *
	 * @var array
	 */
	protected $int_columns = [
		'id',
		'post_id',
		'term_id',
		'blog_id',
	];
}

```
