<?php

class ChilexpressOficialProductMeta extends ObjectModel
{
  public $id_product;
  public $meta_key;
  public $meta_value;
  
  /**
  * @see ObjectModel::$definition
  */
  public static $definition = array(
    'table' => 'chilexpress_oficial_productmeta',
    'primary' => 'id_product',
    'multilang' => false,
    'fields' => array(
      'id_product' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedInt', 'required' => true),
      'meta_key' => array('type' => self::TYPE_STRING, 'validate' => 'isCleanHtml', 'required' => true, 'size' => 128),
      'meta_value' => array('type' => self::TYPE_STRING)
    )
  );
}
