<?php
namespace Claromentis\Quiz\Model;

$GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"] = (@$GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"] ?: array()) + array("_feb9037589181bc30fa0f1cf78b9f" . "056" => base64_decode("dGl0bG" . "U="), "questi" . "ons" => base64_decode("cXVl" . "c3Rp" . "b25z"), "_c31b3ee4993d3f1d8d" . "91c8af8c543ccf" => base64_decode("cXVpel9zZWN0" . "aW9u"), "_28fd57f750dbb5ffb3f" . "fad3a888358a9" => base64_decode("ZGVzY3Jpc" . "HRpb24="), "_068ab9b93403" . "14c5b07e3e5cc" . "31d925b" => base64_decode("c29ydF9vcmRlcg" . "=="), "i" . "d" => base64_decode("aW" . "Q="), "_8652ba33e6ffeba024" . "59fa9cbb320851" => base64_decode("cmVwb3Npd" . "G9yeQ=="), "surv" . "ey_i" . "d" => base64_decode("c3Vy" . "dmV5" . "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["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"]["_c31b3ee499" . "3d3f1d8d91c" . "8af8c543ccf"])->MapDbColumn($this, $GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["i" . "d"], ObjectsStorage::T_AUTOINCREMENT)->MapDbColumn($this, $GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["survey" . "_id"], ObjectsStorage::T_INT, 11)->MapDbColumn($this, $GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_feb9037589181bc30fa0f1c" . "f78b9f056"], ObjectsStorage::T_STRING, 255)->MapDbColumn($this, $GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_28fd57f750" . "dbb5ffb3ffa" . "d3a888358a9"], ObjectsStorage::T_STRING, 4000)->MapDbColumn($this, $GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_068ab9b9340314c5b07e3e5cc3" . "1d925b"], ObjectsStorage::T_INT, 11)->SetCacheMode($this, \ClaCache::MEMORY);
    }
    
    
    
    
    
    
    
    
    public function jsonSerialize()
    {
        return [$GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["i" . "d"] => $this->id, $GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["_feb9037589" . "181bc30fa0f" . "1cf78b9f056"] => $this->title, $GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["_28fd57f750db" . "b5ffb3ffad3a8" . "88358a9"] => $this->description, $GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_068ab9b9340314c5" . "b07e3e5cc31d925b"] => $this->sort_order, $GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["qu" . "es" . "ti" . "on" . "s"] => $this->GetQuestions()];
    }
    public function __set($_c241f11ec2591cc626823468234ffaf4, $_71f6a5b5840d77d6f5700b8129d32c14)
    {
        
        
        if ($_c241f11ec2591cc626823468234ffaf4 !== $GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_8652ba33e6ff" . "eba02459fa9cb" . "b320851"]) {
            $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;
    }
}