| 1 |
<?php |
| 2 |
|
| 3 |
namespace Yoast\WP\SEO\Models; |
| 4 |
|
| 5 |
use Yoast\WP\Lib\Model; |
| 6 |
|
| 7 |
/** |
| 8 |
* Primary Term model definition. |
| 9 |
* |
| 10 |
* @property int $id Identifier. |
| 11 |
* @property int $post_id Post ID. |
| 12 |
* @property int $term_id Term ID. |
| 13 |
* @property string $taxonomy Taxonomy. |
| 14 |
* @property int $blog_id Blog ID. |
| 15 |
* |
| 16 |
* @property string $created_at |
| 17 |
* @property string $updated_at |
| 18 |
*/ |
| 19 |
class Primary_Term extends Model { |
| 20 |
|
| 21 |
/** |
| 22 |
* Whether nor this model uses timestamps. |
| 23 |
* |
| 24 |
* @var bool |
| 25 |
*/ |
| 26 |
protected $uses_timestamps = true; |
| 27 |
|
| 28 |
/** |
| 29 |
* Which columns contain int values. |
| 30 |
* |
| 31 |
* @var array |
| 32 |
*/ |
| 33 |
protected $int_columns = [ |
| 34 |
'id', |
| 35 |
'post_id', |
| 36 |
'term_id', |
| 37 |
'blog_id', |
| 38 |
]; |
| 39 |
} |
| 40 |
|