• File: primary-term.php
  • Full Path: /home/matthif/www/wp-content/plugins/wordpress-seo/src/models/primary-term.php
  • Date Modified: 02/24/2024 11:29 PM
  • File size: 668 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?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',
    ];
}