<?php
namespace Claromentis\Infocapture\Model;

$GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"] ?: array()) + array("i" . "d" => base64_decode("a" . "W" . "Q" . "="), "_bd71c3b5c201fc11d" . "b82ed14ce424de5" => base64_decode("aW5fYXJ" . "yYXk="), "na" . "me" => base64_decode("bmFtZ" . "Q=="), "projec" . "t_id" => base64_decode("cHJv" . "amVj" . "dF9p" . "ZA=="), "_ea8229a1" . "21285ee64" . "9a72fd880" . "bac39b" => base64_decode("YXJyYX" . "lfZmls" . "dGVy"), "_4d707fab93" . "bebb00bbe69" . "e8159697c90" => base64_decode(""), "field" . "s" => base64_decode("Zmll" . "bGRz"));










class ICFieldGroup
{
    const COLUMNS = ['id', 'project_id', 'name'];
    protected $info;
    protected $actual_fields;
    public function __construct()
    {
        $this->info = [$GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["i" . "d"] => 0, $GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["pro" . "jec" . "t_i" . "d"] => 0, $GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["na" . "me"] => $GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_4d707fab93bebb00b" . "be69e8159697c90"]];
        $this->actual_fields = null;
    }
    
    
    
    
    
    public function __get($name)
    {
        if ($GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_bd71c3b5c201f" . "c11db82ed14ce4" . "24de5"]($name, self::COLUMNS)) {
            return $this->info[$name];
        } elseif ($name === $GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["fi" . "el" . "ds"]) {
            return $this->actual_fields;
        } else {
            return null;
        }
    }
    public function RemoveField(string $name)
    {
        if (isset($this->actual_fields)) {
            $this->actual_fields = $GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_ea8229a12" . "1285ee649a" . "72fd880bac" . "39b"]($this->actual_fields, function ($_639c656f6865ab6b445853d34bc56534) use($name) {
                return $_639c656f6865ab6b445853d34bc56534 !== $name;
            });
        }
    }
    public function AddField(string $name)
    {
        if (!$GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_bd71c3b5c201fc11db82ed14c" . "e424de5"]($name, $this->actual_fields)) {
            $this->actual_fields[] = $name;
        }
    }
    public function __set($name, $value)
    {
        if ($name === $GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["i" . "d"]) {
            throw new \InvalidArgumentException();
        } elseif ($GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_bd71c3b5c20" . "1fc11db82ed1" . "4ce424de5"]($name, self::COLUMNS)) {
            $this->info[$name] = $value;
        } elseif ($name === $GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["fie" . "lds"]) {
            $this->actual_fields = $value;
        } else {
            throw new \InvalidArgumentException();
        }
    }
    public function __isset($name)
    {
        if ($GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_bd71c3b5c201fc11db82ed14c" . "e424de5"]($name, self::COLUMNS)) {
            return true;
        } elseif ($name === $GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["fie" . "lds"]) {
            return isset($this->actual_fields);
        } else {
            return false;
        }
    }
    
    
    
    
    
    
    public function setInfo(array $info)
    {
        $this->info = $info;
    }
}