Seditio Source
Root |
./othercms/xenForo 2.2.8/src/XF/Entity/FeedLog.php
<?php

namespace XF\Entity;

use
XF\Mvc\Entity\Entity;
use
XF\Mvc\Entity\Structure;

/**
 * COLUMNS
 * @property int $feed_id
 * @property string $unique_id
 * @property string $hash
 * @property int $thread_id
 */
class FeedLog extends Entity
{
    public static function
getStructure(Structure $structure)
    {
       
$structure->table = 'xf_feed_log';
       
$structure->shortName = 'XF:FeedLog';
       
$structure->primaryKey = ['feed_id', 'unique_id'];
       
$structure->columns = [
           
'feed_id' => ['type' => self::UINT, 'required' => true],
           
'unique_id' => ['type' => self::STR, 'maxLength' => 250, 'required' => true],
           
'hash' => ['type' => self::STR, 'required' => true],
           
'thread_id' => ['type' => self::UINT, 'default' => 0]
        ];
       
$structure->getters = [];
       
$structure->relations = [];

        return
$structure;
    }
}