<?php
namespace Claromentis\Infocapture\Model;

$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"] ?: array()) + array("_117f61bda13594e2daf5b0c38e" . "a9d5eb" => base64_decode("Q2Fubm90IHNldC" . "BJRA=="), "_e258c5dc522b" . "65a0645711c50" . "89a8e9c" => base64_decode("aXRlb" . "XM="), "_7f62862" . "6dd1d55c" . "71b1fc09" . "32ffd1d2" . "c" => base64_decode("aXNfYXJyY" . "Xk="), "_db6f0ba0791e9a63540765" . "9a9fe04e40" => base64_decode("aXNfb2JqZ" . "WN0"), "_e90d5db4c6313e90f98" . "3da3d59a5f1a6" => base64_decode("b3Jp" . "Z2lu" . "YWw="), "i" . "d" => base64_decode("aWQ" . "="), "_bd71c3b" . "5c201fc1" . "1db82ed1" . "4ce424de" . "5" => base64_decode("aW5" . "fYX" . "JyY" . "Xk="));













class ICWorkflow
{
    protected $info = [];
    
    
    protected $actual_items = null;
    protected $original_object = null;
    const COLUMNS = ['id', 'project_id', 'field_symname', 'rule_id', 'pos'];
    public function AddItem(array $_59cdb5ce92fcf760d09d3c6ed5b03aaa)
    {
        $this->actual_items = $this->actual_items ?? [];
        $this->actual_items[] = $_59cdb5ce92fcf760d09d3c6ed5b03aaa;
    }
    public function __get($name)
    {
        if ($GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_bd71c3b" . "5c201fc1" . "1db82ed1" . "4ce424de" . "5"]($name, self::COLUMNS)) {
            return $this->info[$name] ?? null;
        } elseif ($name === $GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_e258c5dc522b65a0645711c5089a" . "8e9c"]) {
            return $this->actual_items;
        } elseif ($name === $GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_e90d5db4c6" . "313e90f983d" . "a3d59a5f1a6"]) {
            return $this->original_object;
        } else {
            throw new \InvalidArgumentException();
        }
    }
    public function __set($name, $value)
    {
        if ($name === $GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["i" . "d"]) {
            throw new \InvalidArgumentException($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_117f61bda13594e2daf5b0c38ea" . "9d5eb"]);
        } elseif ($GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_bd71c3b" . "5c201fc1" . "1db82ed1" . "4ce424de" . "5"]($name, self::COLUMNS) && !$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_db6f0ba0" . "791e9a635" . "407659a9f" . "e04e40"]($value) && !$GLOBALS["__65da1b1ec2d6653e8a0ab7848e53" . "6215"]["_7f628626dd1d55c71b1fc0932ffd1d2" . "c"]($value)) {
            $this->info[$name] = $value;
        } elseif ($name === $GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["_e258c5dc522b65a0645711c5089" . "a8e9c"] && $GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_7f628626" . "dd1d55c71" . "b1fc0932f" . "fd1d2c"]($value)) {
            $this->actual_items = $value;
        } else {
            throw new \InvalidArgumentException();
        }
    }
    public function __isset($name)
    {
        return $name === $GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["_e258c5dc522b65a06457" . "11c5089a8e9c"] && isset($this->actual_items) || $name === $GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_e90d5db4c6313" . "e90f983da3d59a" . "5f1a6"] && isset($this->original_object) || isset($this->info[$name]);
    }
    public function __clone()
    {
        
        
        if (isset($this->actual_items)) {
            $_21c3d37b9b5703fbf53e3c75860d4529 = $this->actual_items;
            $this->actual_items = [];
            foreach ($_21c3d37b9b5703fbf53e3c75860d4529 as $_59cdb5ce92fcf760d09d3c6ed5b03aaa) {
                if ($GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_db6f0ba07" . "91e9a63540" . "7659a9fe04" . "e40"]($_59cdb5ce92fcf760d09d3c6ed5b03aaa)) {
                    $_59cdb5ce92fcf760d09d3c6ed5b03aaa = clone $_59cdb5ce92fcf760d09d3c6ed5b03aaa;
                }
                $this->actual_items[] = $_59cdb5ce92fcf760d09d3c6ed5b03aaa;
            }
        }
    }
    
    
    
    
    
    
    
    public function SetInfo(array $info)
    {
        $this->info = $info;
    }
    
    
    
    
    
    public function GetInfo() : array
    {
        return $this->info;
    }
    
    
    
    
    
    
    
    public function SetOriginal(ICWorkflow $_e90d5db4c6313e90f983da3d59a5f1a6 = null)
    {
        
        
        $this->original_object = null;
        if (isset($_e90d5db4c6313e90f983da3d59a5f1a6)) {
            $_e90d5db4c6313e90f983da3d59a5f1a6 = clone $_e90d5db4c6313e90f983da3d59a5f1a6;
        }
        $this->original_object = $_e90d5db4c6313e90f983da3d59a5f1a6;
    }
    public function ClearItems()
    {
        $this->actual_items = [];
    }
}