206 lines
6.4 KiB
PHP
206 lines
6.4 KiB
PHP
<?php
|
|
// Connection Component Binding
|
|
Doctrine_Manager::getInstance()->bindComponent('Commandes', 'giantclient');
|
|
|
|
/**
|
|
* BaseCommandes
|
|
*
|
|
* This class has been auto-generated by the Doctrine ORM Framework
|
|
*
|
|
* @property integer $OrderId
|
|
* @property string $CountryCode
|
|
* @property string $ProviderId
|
|
* @property integer $ProviderOrderId
|
|
* @property integer $InternalOrderId
|
|
* @property string $CompanyId
|
|
* @property string $CompanyName
|
|
* @property enum $ServiceLevelName
|
|
* @property enum $DataSetType
|
|
* @property enum $LanguageCode
|
|
* @property enum $OrderStatus
|
|
* @property timestamp $OrderDateTime
|
|
* @property timestamp $DueDateTime
|
|
* @property timestamp $DateTimeCompleted
|
|
* @property integer $ReportId
|
|
* @property string $User
|
|
*
|
|
* @package ##PACKAGE##
|
|
* @subpackage ##SUBPACKAGE##
|
|
* @author ##NAME## <##EMAIL##>
|
|
* @version SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
|
|
*/
|
|
abstract class BaseCommandes extends Doctrine_Record
|
|
{
|
|
public function setTableDefinition()
|
|
{
|
|
$this->setTableName('commandes');
|
|
$this->hasColumn('OrderId', 'integer', 4, array(
|
|
'type' => 'integer',
|
|
'length' => 4,
|
|
'fixed' => false,
|
|
'unsigned' => false,
|
|
'primary' => true,
|
|
'autoincrement' => true,
|
|
));
|
|
$this->hasColumn('CountryCode', 'string', null, array(
|
|
'type' => 'string',
|
|
'fixed' => false,
|
|
'unsigned' => false,
|
|
'primary' => false,
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('ProviderId', 'string', null, array(
|
|
'type' => 'string',
|
|
'fixed' => false,
|
|
'unsigned' => false,
|
|
'primary' => false,
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('ProviderOrderId', 'integer', 4, array(
|
|
'type' => 'integer',
|
|
'length' => 4,
|
|
'fixed' => false,
|
|
'unsigned' => false,
|
|
'primary' => false,
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('InternalOrderId', 'integer', 4, array(
|
|
'type' => 'integer',
|
|
'length' => 4,
|
|
'fixed' => false,
|
|
'unsigned' => false,
|
|
'primary' => false,
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('CompanyId', 'string', null, array(
|
|
'type' => 'string',
|
|
'fixed' => false,
|
|
'unsigned' => false,
|
|
'primary' => false,
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('CompanyName', 'string', null, array(
|
|
'type' => 'string',
|
|
'fixed' => false,
|
|
'unsigned' => false,
|
|
'primary' => false,
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('ServiceLevelName', 'enum', 9, array(
|
|
'type' => 'enum',
|
|
'length' => 9,
|
|
'fixed' => false,
|
|
'unsigned' => false,
|
|
'values' =>
|
|
array(
|
|
0 => 'Immediate',
|
|
1 => 'Normal',
|
|
2 => 'Urgent',
|
|
3 => 'Flash',
|
|
),
|
|
'primary' => false,
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('DataSetType', 'enum', 20, array(
|
|
'type' => 'enum',
|
|
'length' => 20,
|
|
'fixed' => false,
|
|
'unsigned' => false,
|
|
'values' =>
|
|
array(
|
|
0 => 'Full',
|
|
1 => 'Compact',
|
|
2 => 'CreditRecommendation',
|
|
3 => 'Flex',
|
|
),
|
|
'primary' => false,
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('LanguageCode', 'enum', 2, array(
|
|
'type' => 'enum',
|
|
'length' => 2,
|
|
'fixed' => false,
|
|
'unsigned' => false,
|
|
'values' =>
|
|
array(
|
|
0 => 'en',
|
|
1 => 'fr',
|
|
),
|
|
'primary' => false,
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('OrderStatus', 'enum', 13, array(
|
|
'type' => 'enum',
|
|
'length' => 13,
|
|
'fixed' => false,
|
|
'unsigned' => false,
|
|
'values' =>
|
|
array(
|
|
0 => 'Completed',
|
|
1 => 'Pending',
|
|
2 => 'Delivered',
|
|
3 => 'Undeliverable',
|
|
4 => 'Unlinked',
|
|
),
|
|
'primary' => false,
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('OrderDateTime', 'timestamp', null, array(
|
|
'type' => 'timestamp',
|
|
'fixed' => false,
|
|
'unsigned' => false,
|
|
'primary' => false,
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('DueDateTime', 'timestamp', null, array(
|
|
'type' => 'timestamp',
|
|
'fixed' => false,
|
|
'unsigned' => false,
|
|
'primary' => false,
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('DateTimeCompleted', 'timestamp', null, array(
|
|
'type' => 'timestamp',
|
|
'fixed' => false,
|
|
'unsigned' => false,
|
|
'primary' => false,
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('ReportId', 'integer', 4, array(
|
|
'type' => 'integer',
|
|
'length' => 4,
|
|
'fixed' => false,
|
|
'unsigned' => false,
|
|
'primary' => false,
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('User', 'string', null, array(
|
|
'type' => 'string',
|
|
'fixed' => false,
|
|
'unsigned' => false,
|
|
'primary' => false,
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
}
|
|
|
|
public function setUp()
|
|
{
|
|
parent::setUp();
|
|
|
|
}
|
|
} |