<?php
namespace Claromentis\Quiz\Model;

$GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"] ?: array()) + array("attempt_" . "id" => base64_decode("YXR0ZW1wdF9p" . "ZA=="), "i" . "d" => base64_decode("a" . "W" . "Q" . "="), "_fb99753f3474808f0" . "ecf851b80a7ceef" => base64_decode("YXR0Z" . "W1wdF" . "9rZXk" . "="), "_706239afda05c192b5e8d" . "d559f41aba9" => base64_decode("YXR0ZW1w" . "dF92YWx1" . "ZQ=="), "_209ba83" . "53832266" . "d80c22f2" . "5644db62" . "1" => base64_decode("cXVpel9hdHR" . "lbXB0X3Byb3" . "BlcnR5"), "_8652ba33e6ffeba02459fa9cbb32085" . "1" => base64_decode("cmVwb3" . "NpdG9y" . "eQ=="));
use Claromentis\Core\Repository\RepositoryItemAbstract;
use JsonSerializable;
use ObjectsStorage;














class AttemptProperty extends RepositoryItemAbstract implements JsonSerializable, PropertyInterface
{
    
    
    
    
    
    
    public function InitDbMapping(ObjectsStorage $_ee97244432473014aa9408ee5cf1f596)
    {
        $_ee97244432473014aa9408ee5cf1f596->MapDbTable($this, $GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_209ba83538" . "32266d80c22" . "f25644db621"])->MapDbColumn($this, $GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["i" . "d"], ObjectsStorage::T_AUTOINCREMENT)->MapDbColumn($this, $GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["att" . "emp" . "t_i" . "d"], ObjectsStorage::T_INT, 11)->MapDbColumn($this, $GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_fb99753f" . "3474808f0" . "ecf851b80" . "a7ceef"], ObjectsStorage::T_STRING, 100)->MapDbColumn($this, $GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_706239afda05c192b5e8" . "dd559f41aba9"], ObjectsStorage::T_STRING, 4000)->SetCacheMode($this, \ClaCache::MEMORY);
    }
    
    
    
    
    
    
    
    
    public function jsonSerialize()
    {
        return array($GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["i" . "d"] => (int) $this->id, $GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["attempt" . "_id"] => (int) $this->attempt_id, $GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_fb99753f" . "3474808f0" . "ecf851b80" . "a7ceef"] => $this->attempt_key, $GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_706239afda05c1" . "92b5e8dd559f41a" . "ba9"] => $this->attempt_value);
    }
    
    
    
    
    
    
    public function GetParentId()
    {
        return $this->GetProperty($GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["att" . "emp" . "t_i" . "d"]);
    }
    
    
    
    
    
    
    public function SetParentId($attempt_id)
    {
        $this->SetProperty($GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["attempt_" . "id"], $attempt_id);
    }
    
    
    
    
    
    
    public function GetKey()
    {
        return $this->GetProperty($GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_fb99753f3474808f0ecf851b80a7c" . "eef"]);
    }
    
    
    
    
    
    
    public function SetKey($_cbc91abf342819eec93ad5eca696836a)
    {
        $this->SetProperty($GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"]["_fb99753f3474808f0ecf851b80a7cee" . "f"], $_cbc91abf342819eec93ad5eca696836a);
    }
    
    
    
    
    
    
    public function HasValue()
    {
        return isset($this->attempt_value);
    }
    
    
    
    
    
    
    public function GetValue()
    {
        return $this->GetProperty($GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_706239afda05c192b5e8dd559f41" . "aba9"]);
    }
    
    
    
    
    
    
    public function SetValue($_71f6a5b5840d77d6f5700b8129d32c14)
    {
        $this->SetProperty($GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_706239afda05c192b5e8dd559f41" . "aba9"], $_71f6a5b5840d77d6f5700b8129d32c14);
    }
    
    
    
    
    
    
    
    public function __set($_c241f11ec2591cc626823468234ffaf4, $_71f6a5b5840d77d6f5700b8129d32c14)
    {
        
        
        if ($_c241f11ec2591cc626823468234ffaf4 !== $GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["_8652ba33e6f" . "feba02459fa9" . "cbb320851"]) {
            $this->SetProperty($_c241f11ec2591cc626823468234ffaf4, $_71f6a5b5840d77d6f5700b8129d32c14);
        }
    }
}