150 lines
4.5 KiB
PHP
150 lines
4.5 KiB
PHP
<?php
|
|
// Connection Component Binding
|
|
Doctrine_Manager::getInstance()->bindComponent('Rapports', 'giantclient');
|
|
|
|
/**
|
|
* BaseRapports
|
|
*
|
|
* This class has been auto-generated by the Doctrine ORM Framework
|
|
*
|
|
* @property integer $ReportId
|
|
* @property string $CountryCode
|
|
* @property string $ProviderId
|
|
* @property string $CompanyId
|
|
* @property enum $ServiceLevelName
|
|
* @property enum $DataSetType
|
|
* @property enum $LanguageCode
|
|
* @property blob $DataSet
|
|
* @property integer $OrderId
|
|
* @property string $User
|
|
* @property timestamp $DateTime
|
|
*
|
|
* @package ##PACKAGE##
|
|
* @subpackage ##SUBPACKAGE##
|
|
* @author ##NAME## <##EMAIL##>
|
|
* @version SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
|
|
*/
|
|
abstract class BaseRapports extends Doctrine_Record
|
|
{
|
|
public function setTableDefinition()
|
|
{
|
|
$this->setTableName('rapports');
|
|
$this->hasColumn('ReportId', '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('CompanyId', '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('DataSet', 'blob', null, array(
|
|
'type' => 'blob',
|
|
'fixed' => false,
|
|
'unsigned' => false,
|
|
'primary' => false,
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('OrderId', '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,
|
|
));
|
|
$this->hasColumn('DateTime', 'timestamp', null, array(
|
|
'type' => 'timestamp',
|
|
'fixed' => false,
|
|
'unsigned' => false,
|
|
'primary' => false,
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
}
|
|
|
|
public function setUp()
|
|
{
|
|
parent::setUp();
|
|
|
|
}
|
|
} |