21 lines
892 B
PHP
Raw Normal View History

<?php
Class commande extends Doctrine_Record
{
function setTableDefinition()
{
$this->setTableName('commande');
$this->hasColumn('Login', 'varchar', 255, array('primary' => true));
$this->hasColumn('Ip', 'varchar', 255, array('notnull'=> true));
$this->hasColumn('ProviderOrderId', 'integer', 11, array('notnull'=> true));
$this->hasColumn('InternalOrderId', 'integer', 11, array('notnull'=> true));
$this->hasColumn('ConsumerId', 'integer', 11, array('notnull'=> true));
$this->hasColumn('ProviderId', 'integer', 11, array('notnull'=> true));
$this->hasColumn('CountryCode', 'char', 50, array('notnull'=> true));
$this->hasColumn('CompanyId','integer', 11, array('notnull'=> true));
$this->hasColumn('DataSetType', 'varchar', 255, array('notnull'=> true));
$this->hasColumn('OrderDateTime', 'varchar', 255, array('notnull' => true));
}
}
?>