<?php
namespace Claromentis\Core\ORM\Entity;

$GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"] = (@$GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"] ?: array()) + array();
use Analogue\ORM\Entity;
use Claromentis\Core\ORM\Behaviors\Casts;















class MetadataElement extends Entity
{
    use Casts;
    protected $casts = ['id' => 'int', 'aggregation' => 'int', 'object_id' => 'int', 'type' => 'int', 'intval' => 'int', 'txtval' => 'string', 'clobval' => 'string', 'to_index' => 'bool'];
    protected $nullable = ['name', 'txtval', 'clobval'];
    protected $hidden = ['to_index'];
    
    
    
    
    
    
    public function getWrapperValues()
    {
        return [$this->intval, $this->txtval, $this->clobval];
    }
    
    
    
    
    
    
    public function setWrapperValues(array $values)
    {
        $this->intval = $values[0] ?? 0;
        $this->txtval = $values[1] ?? null;
        $this->clobval = $values[2] ?? null;
    }
}