Damien LASSERRE a50d36e7b4 Modification de Giant 1.1
- correction de bug
2011-04-11 15:45:43 +00:00

21 lines
889 B
PHP

<?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', 'timestamp', array('notnull' => true));
}
}
?>