<?php
$GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"] ?: array()) + array("ch" . "an" . "ne" . "ls" => base64_decode("Y2hhbm5" . "lbHM="), "_022eeb17ad2461a772886fe0f55" . "75520" => base64_decode("Y3JlYX" . "Rvcg=="), "_4cabd5d7713c30b3" . "4f152bca7e16cd6c" => base64_decode("bmV3c1" . "9mZWVk" . "cw=="), "tit" . "le" => base64_decode("dGl0" . "bGU="), "_49c48a11" . "3fcc4b94b" . "82e29c74e" . "01e7bd" => base64_decode("ZmVlZF9rZXkgZXE6c3RyOmtle" . "Q=="), "_c0f286e93ebdca" . "a427b44ec294133" . "92b" => base64_decode("ZmVlZF9rZX" . "k="), "i" . "d" => base64_decode("aW" . "Q="), "_aa7e860da1a" . "cd4e767e0df9" . "d7d407380" => base64_decode("ZGF0ZV9j" . "cmVhdGVk"));
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["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_49c48a113" . "fcc4b94b82" . "e29c74e01e" . "7bd"], $key), 1);
        return empty($_c0a4245f295a91f607925636fb789046[0]) ? null : $_c0a4245f295a91f607925636fb789046[0];
    }
    public function InitDbMapping(ObjectsStorage $storage)
    {
        $storage->MapDbTable($this, $GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_4cabd5d7713c30b34" . "f152bca7e16cd6c"], $GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["i" . "d"]);
        $storage->MapDbColumn($this, $GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["i" . "d"], ObjectsStorage::T_INT);
        $storage->MapDbColumn($this, $GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["ti" . "tl" . "e"], ObjectsStorage::T_STRING, 255);
        $storage->MapDbColumn($this, $GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["cha" . "nne" . "ls"], ObjectsStorage::T_STRING);
        $storage->MapDbColumn($this, $GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["_c0f286e93eb" . "dcaa427b44ec" . "29413392b"], ObjectsStorage::T_STRING, 20);
        $storage->MapDbColumn($this, $GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_aa7e860da1acd4e767e0df9d7d4" . "07380"], ObjectsStorage::T_INT);
        $storage->MapDbColumn($this, $GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["_022eeb17ad24" . "61a772886fe0f" . "5575520"], ObjectsStorage::T_INT);
    }
    public function __set($_ce76a91ef2b7be07d7d04e74d4da9b6a, $value)
    {
        return $this->SetProperty($_ce76a91ef2b7be07d7d04e74d4da9b6a, $value);
    }
}