<?php
namespace Claromentis\Quiz\Model;

$GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"] ?: array()) + array("_068ab9b9340314c5b07e3e" . "5cc31d925b" => base64_decode("c29ydF9v" . "cmRlcg=="), "_7f790aa57d37c3bf55e" . "b12d7ef3bb25f" => base64_decode("cXVpel9" . "zZWN0aW" . "9uX3F1Z" . "XN0aW9u"), "_aa28ebaa9e17fc6a67b37600d92d" . "6054" => base64_decode("Y3Jl" . "YXRl" . "ZF9k" . "YXRl"), "sec" . "tio" . "n_i" . "d" => base64_decode("c2VjdGlvbl9p" . "ZA=="), "question" . "_id" => base64_decode("cXVl" . "c3Rp" . "b25f" . "aWQ="), "_8652ba33e6ffeba02459fa9" . "cbb320851" => base64_decode("cmVwb3Npd" . "G9yeQ=="), "i" . "d" => base64_decode("a" . "W" . "Q" . "="));
use ObjectsStorage;
use Claromentis\Core\Repository\RepositoryItemAbstract;










class SectionQuestion extends RepositoryItemAbstract implements \JsonSerializable
{
    
    
    
    
    
    public function InitDbMapping(ObjectsStorage $_ee97244432473014aa9408ee5cf1f596)
    {
        $_ee97244432473014aa9408ee5cf1f596->MapDbTable($this, $GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_7f790aa57d37c3bf55eb" . "12d7ef3bb25f"])->MapDbColumn($this, $GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"]["i" . "d"], ObjectsStorage::T_AUTOINCREMENT)->MapDbColumn($this, $GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["secti" . "on_id"], ObjectsStorage::T_INT, 11)->MapDbColumn($this, $GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["ques" . "tion" . "_id"], ObjectsStorage::T_INT, 11)->MapDbColumn($this, $GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["_068ab9b9" . "340314c5b" . "07e3e5cc3" . "1d925b"], ObjectsStorage::T_INT, 11)->MapDbColumn($this, $GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_aa28ebaa9e17fc6a67b37600d92" . "d6054"], ObjectsStorage::T_INT, 14)->SetCacheMode($this, \ClaCache::MEMORY);
    }
    
    
    
    
    
    
    
    
    public function jsonSerialize()
    {
        return [$GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["sec" . "tio" . "n_i" . "d"] => $this->section_id, $GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["ques" . "tion" . "_id"] => $this->question_id, $GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_068ab9b9340314c5b07e3e5cc31d" . "925b"] => $this->sort_order];
    }
    public function __set($_c241f11ec2591cc626823468234ffaf4, $_71f6a5b5840d77d6f5700b8129d32c14)
    {
        
        
        if ($_c241f11ec2591cc626823468234ffaf4 !== $GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_8652ba33e6ffeba0245" . "9fa9cbb320851"]) {
            $this->SetProperty($_c241f11ec2591cc626823468234ffaf4, $_71f6a5b5840d77d6f5700b8129d32c14);
        }
    }
    
    
    
    
    public function SetSectionId($section_id)
    {
        $this->section_id = $section_id;
    }
    
    
    
    
    public function SetQuestionId($question_id)
    {
        $this->question_id = $question_id;
    }
    
    
    
    
    public function SetSortOrder($_068ab9b9340314c5b07e3e5cc31d925b)
    {
        $this->sort_order = $_068ab9b9340314c5b07e3e5cc31d925b;
    }
    
    
    
    
    public function SetCreatedDate($_aa28ebaa9e17fc6a67b37600d92d6054)
    {
        if ($_aa28ebaa9e17fc6a67b37600d92d6054 instanceof \Date) {
            $_aa28ebaa9e17fc6a67b37600d92d6054 = $_aa28ebaa9e17fc6a67b37600d92d6054->getDate();
        }
        $this->created_date = $_aa28ebaa9e17fc6a67b37600d92d6054;
    }
}