<?php
$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"] = (@$GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"] ?: array()) + array("t" . "i" . "t" . "l" . "e" => base64_decode("dGl0bGU" . "="), "_022eeb17ad2461a772886fe0f557" . "5520" => base64_decode("Y3JlYXRv" . "cg=="), "channe" . "ls" => base64_decode("Y2hhbm" . "5lbHM="), "_aa7e860da1acd4e767e0d" . "f9d7d407380" => base64_decode("ZGF0" . "ZV9j" . "cmVh" . "dGVk"), "_4cabd5d7" . "713c30b34" . "f152bca7e" . "16cd6c" => base64_decode("bmV3" . "c19m" . "ZWVk" . "cw=="), "_49c48a113fcc4b94b82e29c74e01e7b" . "d" => base64_decode("ZmVlZF9rZXkgZXE6c" . "3RyOmtleQ=="), "_c0f286e93ebdcaa427b44ec" . "29413392b" => base64_decode("ZmVlZF9rZXk" . "="), "i" . "d" => base64_decode("aWQ" . "="));
use Claromentis\Core\DAL;




class NewsFeed extends ActiveRecord
{
    
    
    
    
    
    
    public static function LoadByKey($key)
    {
        $_25b9db1c0742750fdff46948cbf57c67 = new NewsFeed();
        $_c0a4245f295a91f607925636fb789046 = ObjectsStorage::I()->GetMultiple(new NewsFeed(), new DAL\QueryPart($GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_49c48a113fcc4b94b82e29c74e01e7" . "bd"], $key), 1);
        return empty($_c0a4245f295a91f607925636fb789046[0]) ? null : $_c0a4245f295a91f607925636fb789046[0];
    }
    public function InitDbMapping(ObjectsStorage $storage)
    {
        $storage->MapDbTable($this, $GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_4cabd5d7713c30b34f152bca7e16cd" . "6c"], $GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["i" . "d"]);
        $storage->MapDbColumn($this, $GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["i" . "d"], ObjectsStorage::T_INT);
        $storage->MapDbColumn($this, $GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["ti" . "tl" . "e"], ObjectsStorage::T_STRING, 255);
        $storage->MapDbColumn($this, $GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["channel" . "s"], ObjectsStorage::T_STRING);
        $storage->MapDbColumn($this, $GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_c0f286e93ebdcaa42" . "7b44ec29413392b"], ObjectsStorage::T_STRING, 20);
        $storage->MapDbColumn($this, $GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_aa7e860da1ac" . "d4e767e0df9d7" . "d407380"], ObjectsStorage::T_INT);
        $storage->MapDbColumn($this, $GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["_022eeb17ad2461a772886fe0" . "f5575520"], ObjectsStorage::T_INT);
    }
    public function __set($_ce76a91ef2b7be07d7d04e74d4da9b6a, $value)
    {
        return $this->SetProperty($_ce76a91ef2b7be07d7d04e74d4da9b6a, $value);
    }
}