<?php
namespace Claromentis\Quiz\Model;

$GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"] = (@$GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"] ?: array()) + array("i" . "d" => base64_decode("aW" . "Q="), "_feb9037589181bc30fa0f1cf" . "78b9f056" => base64_decode("dGl" . "0bG" . "U="), "_c31b3ee4993d3f1d8d" . "91c8af8c543ccf" => base64_decode("cXVpel9" . "zZWN0aW" . "9u"), "ques" . "tion" . "s" => base64_decode("cXVlc3Rp" . "b25z"), "_068ab9b9340314c5b07e3e5c" . "c31d925b" => base64_decode("c29ydF9" . "vcmRlcg" . "=="), "_8652ba33e6ffe" . "ba02459fa9cbb3" . "20851" => base64_decode("cmVw" . "b3Np" . "dG9y" . "eQ=="), "_28fd57f750d" . "bb5ffb3ffad3" . "a888358a9" => base64_decode("ZGVzY3J" . "pcHRpb2" . "4="), "su" . "rv" . "ey" . "_i" . "d" => base64_decode("c3VydmV5" . "X2lk"));
use ObjectsStorage;
use Claromentis\Core\Repository\RepositoryItemAbstract;










class Section extends RepositoryItemAbstract implements \JsonSerializable
{
    
    
    
    
    
    
    protected $questions = [];
    
    
    
    
    
    public function InitDbMapping(ObjectsStorage $_ee97244432473014aa9408ee5cf1f596)
    {
        $_ee97244432473014aa9408ee5cf1f596->MapDbTable($this, $GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["_c31b3ee49" . "93d3f1d8d9" . "1c8af8c543" . "ccf"])->MapDbColumn($this, $GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["i" . "d"], ObjectsStorage::T_AUTOINCREMENT)->MapDbColumn($this, $GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["survey" . "_id"], ObjectsStorage::T_INT, 11)->MapDbColumn($this, $GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_feb9037589181bc30" . "fa0f1cf78b9f056"], ObjectsStorage::T_STRING, 255)->MapDbColumn($this, $GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_28fd57f750dbb5ffb3ffad3a888358" . "a9"], ObjectsStorage::T_STRING, 4000)->MapDbColumn($this, $GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_068ab9b9340314c5b07e3e5c" . "c31d925b"], ObjectsStorage::T_INT, 11)->SetCacheMode($this, \ClaCache::MEMORY);
    }
    
    
    
    
    
    
    
    
    public function jsonSerialize()
    {
        return [$GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["i" . "d"] => $this->id, $GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"]["_feb9037589181b" . "c30fa0f1cf78b9f" . "056"] => $this->title, $GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_28fd57f750dbb5ffb3ffad" . "3a888358a9"] => $this->description, $GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_068ab9b9340314c5b07e" . "3e5cc31d925b"] => $this->sort_order, $GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["questi" . "ons"] => $this->GetQuestions()];
    }
    public function __set($_c241f11ec2591cc626823468234ffaf4, $_71f6a5b5840d77d6f5700b8129d32c14)
    {
        
        
        if ($_c241f11ec2591cc626823468234ffaf4 !== $GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_8652ba33e6" . "ffeba02459f" . "a9cbb320851"]) {
            $this->SetProperty($_c241f11ec2591cc626823468234ffaf4, $_71f6a5b5840d77d6f5700b8129d32c14);
        }
    }
    
    
    
    
    public function SetSurveyId($survey_id)
    {
        $this->survey_id = $survey_id;
    }
    
    
    
    
    
    
    public function SetQuestions($questions)
    {
        $this->questions = $questions;
    }
    
    
    
    
    public function GetQuestions()
    {
        return $this->questions;
    }
    public function SetTitle($_feb9037589181bc30fa0f1cf78b9f056)
    {
        $this->title = $_feb9037589181bc30fa0f1cf78b9f056;
    }
    public function SetDescription($_28fd57f750dbb5ffb3ffad3a888358a9)
    {
        $this->description = $_28fd57f750dbb5ffb3ffad3a888358a9;
    }
    public function SetSortOrder($_068ab9b9340314c5b07e3e5cc31d925b)
    {
        $this->sort_order = $_068ab9b9340314c5b07e3e5cc31d925b;
    }
}