<?php
/**
 * Description of Ciclo
 *
 * @author carlos
 */

class CategoriaEntity Extends CategoriaRepository{
    private $options = array(
        'descripcion'=>null,
        'type'=>null,
        'creado_por'=>null,
        'creado_fecha'=>null,
        'modificaciones'=>null,
        'status'=>null
    );
    
    public function setOptions($data){
      foreach ($this->options as $option => $value){
          if(isset($data[$option])){
            $this->options[$option] = $data[$option];
          }
      }
    }
  
    public function getOptions(){
        return $this->options;
    }
    
    public function getTable(){
        return $this->table;
    }
}
