Current File : /var/www/vinorea/modules/ipexportimport/classes/EIAImportCronHistory.php
<?php
/**
 *
 * NOTICE OF LICENSE
 *
 *  @author    IntelliPresta <tehran.alishov@gmail.com>
 *  @copyright 2024 IntelliPresta
 *  @license   Commercial License
 */

if (!defined('_PS_VERSION_')) {
    exit;
}

class EIAImportCronHistory extends ObjectModel
{
    public $id_ipimport_cron_history;
    public $type;
    public $entities;
    public $success;
    public $message;
    public $date_add;

    /**
     * @see ObjectModel::$definition
     */
    public static $definition = array(
        'table' => 'ipimport_cron_history',
        'primary' => 'id_ipimport_cron_history',
        'fields' => array(
            'type' => array('type' => self::TYPE_STRING, 'required' => true),
            'entities' => array('type' => self::TYPE_STRING),
            'success' => array('type' => self::TYPE_INT),
            'message' => array('type' => self::TYPE_STRING),
            'date_add' => array('type' => self::TYPE_DATE, 'validate' => 'isDate'),
        ),
    );
}