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

class InventarioEntity Extends InventarioRepository{
    private $options = array(
        'id_product'=>null,
        'id_store'=>null,
        'stock'=>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;
    }
}
