Serveur preprod f0c0c48223 first push
2016-04-14 16:14:31 +02:00

50 lines
1.3 KiB
PHP

<?php
/**
* Description of SaleCategory
*
* @company Antadis
*/
class SaleHistorique extends ObjectModel{
public $id_privatesales_historique;
public $id_privatesales;
public $date_start;
public $date_end;
public $date_add;
public static $definition = array(
'table' => 'privatesales_historique',
'primary' => 'id_privatesales_historique',
'multilang' => false,
'fields' => array(
'id_privatesales' => array(
'type' => ObjectModel :: TYPE_INT,
'required' => TRUE,
'validate' => 'isInt'
),
'date_start' => array(
'type' => ObjectModel :: TYPE_DATE,
'required' => TRUE,
'validate' => 'isDate'
),
'date_end' => array(
'type' => ObjectModel :: TYPE_DATE,
'required' => TRUE,
'validate' => 'isDate'
),
'date_add' => array(
'type' => ObjectModel :: TYPE_DATE
)
)
);
/**
*
*/
public function __construct($id = null, $id_lang = null, $id_shop = null){
parent::__construct($id, $id_lang, $id_shop);
}
}