<?php
namespace Claromentis\Quiz\Model;

$GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"] = (@$GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"] ?: array()) + array("i" . "d" => base64_decode("aWQ" . "="), "_feb9037589181bc30fa0" . "f1cf78b9f056" => base64_decode("dG" . "l0" . "bG" . "U="), "_8652ba33e6ffeba02459fa9cb" . "b320851" => base64_decode("cmVw" . "b3Np" . "dG9y" . "eQ=="), "su" . "rv" . "ey" . "_i" . "d" => base64_decode("c3VydmV5X2l" . "k"), "_c31b3ee4993d3f1d8d91c8af8c543cc" . "f" => base64_decode("cXVpel9zZWN0" . "aW9u"), "questi" . "ons" => base64_decode("cXVlc3Rpb2" . "5z"), "_068ab9b9340314c5b07e3e5cc3" . "1d925b" => base64_decode("c29ydF9vcmRlc" . "g=="), "_28fd57f750dbb5ffb3f" . "fad3a888358a9" => base64_decode("ZGVzY3JpcHRpb24" . "="));
use ObjectsStorage;
use Claromentis\Core\Repository\RepositoryItemAbstract;










class Section extends RepositoryItemAbstract implements \JsonSerializable
{
    
    
    
    
    
    
    protected $questions = [];
    
    
    
    
    
    public function InitDbMapping(ObjectsStorage $_ee97244432473014aa9408ee5cf1f596)
    {
        $_ee97244432473014aa9408ee5cf1f596->MapDbTable($this, $GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_c31b3ee4993d3f1" . "d8d91c8af8c543cc" . "f"])->MapDbColumn($this, $GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["i" . "d"], ObjectsStorage::T_AUTOINCREMENT)->MapDbColumn($this, $GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["surve" . "y_id"], ObjectsStorage::T_INT, 11)->MapDbColumn($this, $GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["_feb9037589181bc30fa0f1" . "cf78b9f056"], ObjectsStorage::T_STRING, 255)->MapDbColumn($this, $GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_28fd57f750dbb5ffb" . "3ffad3a888358a9"], ObjectsStorage::T_STRING, 4000)->MapDbColumn($this, $GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_068ab9b9340314c5b07e3e5cc3" . "1d925b"], ObjectsStorage::T_INT, 11)->SetCacheMode($this, \ClaCache::MEMORY);
    }
    
    
    
    
    
    
    
    
    public function jsonSerialize()
    {
        return [$GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["i" . "d"] => $this->id, $GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_feb9037589181bc30fa0f1cf78b9f0" . "56"] => $this->title, $GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["_28fd57f750dbb5ffb3ffad3a8" . "88358a9"] => $this->description, $GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_068ab9b9340314c5b07e" . "3e5cc31d925b"] => $this->sort_order, $GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["quest" . "ions"] => $this->GetQuestions()];
    }
    public function __set($_c241f11ec2591cc626823468234ffaf4, $_71f6a5b5840d77d6f5700b8129d32c14)
    {
        
        
        if ($_c241f11ec2591cc626823468234ffaf4 !== $GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_8652ba33e6ffeba02459fa9c" . "bb320851"]) {
            $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;
    }
}