extranet/includes/dbmodels/graydon/generated/BaseCommandesDetail.php
2010-04-21 10:23:49 +00:00

231 lines
7.5 KiB
PHP

<?php
// Connection Component Binding
Doctrine_Manager::getInstance()->bindComponent('CommandesDetail', 'graydon');
/**
* BaseCommandesDetail
*
* This class has been auto-generated by the Doctrine ORM Framework
*
* @property integer $id
* @property string $dIdentite
* @property string $dTelephone
* @property string $dEmail
* @property string $dFax
* @property enum $eLanguageCode
* @property string $eName
* @property string $eIdentifiers
* @property string $eAdresse
* @property string $eTelephone
* @property integer $ePays
* @property enum $eCreditOpinionCurrency
* @property integer $eCreditOpinionPeriod
* @property string $eBankers
* @property string $eAttentionOf
* @property string $eSpecialRemarks
* @property integer $commandes_id
* @property timestamp $created_at
* @property timestamp $updated_at
*
* @package ##PACKAGE##
* @subpackage ##SUBPACKAGE##
* @author ##NAME## <##EMAIL##>
* @version SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
*/
abstract class BaseCommandesDetail extends Doctrine_Record
{
public function setTableDefinition()
{
$this->setTableName('commandes_detail');
$this->hasColumn('id', 'integer', 4, array(
'type' => 'integer',
'length' => 4,
'fixed' => false,
'unsigned' => false,
'primary' => true,
'autoincrement' => true,
));
$this->hasColumn('dIdentite', 'string', 100, array(
'type' => 'string',
'length' => 100,
'fixed' => false,
'unsigned' => false,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('dTelephone', 'string', 100, array(
'type' => 'string',
'length' => 100,
'fixed' => false,
'unsigned' => false,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('dEmail', 'string', 100, array(
'type' => 'string',
'length' => 100,
'fixed' => false,
'unsigned' => false,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('dFax', 'string', 100, array(
'type' => 'string',
'length' => 100,
'fixed' => false,
'unsigned' => false,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('eLanguageCode', 'enum', 1, array(
'type' => 'enum',
'length' => 1,
'fixed' => false,
'unsigned' => false,
'values' =>
array(
0 => 'E',
1 => 'F',
2 => 'D',
),
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('eName', 'string', 100, array(
'type' => 'string',
'length' => 100,
'fixed' => false,
'unsigned' => false,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('eIdentifiers', 'string', 500, array(
'type' => 'string',
'length' => 500,
'fixed' => false,
'unsigned' => false,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('eAdresse', 'string', 100, array(
'type' => 'string',
'length' => 100,
'fixed' => false,
'unsigned' => false,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('eTelephone', 'string', 100, array(
'type' => 'string',
'length' => 100,
'fixed' => false,
'unsigned' => false,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('ePays', 'integer', 4, array(
'type' => 'integer',
'length' => 4,
'fixed' => false,
'unsigned' => false,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('eCreditOpinionCurrency', 'enum', 3, array(
'type' => 'enum',
'length' => 3,
'fixed' => false,
'unsigned' => false,
'values' =>
array(
0 => 'GBP',
1 => 'EUR',
2 => 'USD',
3 => 'JYP',
4 => 'DKK',
),
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('eCreditOpinionPeriod', 'integer', 4, array(
'type' => 'integer',
'length' => 4,
'fixed' => false,
'unsigned' => false,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('eBankers', 'string', 200, array(
'type' => 'string',
'length' => 200,
'fixed' => false,
'unsigned' => false,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('eAttentionOf', 'string', 200, array(
'type' => 'string',
'length' => 200,
'fixed' => false,
'unsigned' => false,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('eSpecialRemarks', 'string', 200, array(
'type' => 'string',
'length' => 200,
'fixed' => false,
'unsigned' => false,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('commandes_id', 'integer', 4, array(
'type' => 'integer',
'length' => 4,
'fixed' => false,
'unsigned' => false,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('created_at', 'timestamp', null, array(
'type' => 'timestamp',
'fixed' => false,
'unsigned' => false,
'primary' => false,
'default' => '0000-00-00 00:00:00',
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('updated_at', 'timestamp', null, array(
'type' => 'timestamp',
'fixed' => false,
'unsigned' => false,
'primary' => false,
'default' => '0000-00-00 00:00:00',
'notnull' => true,
'autoincrement' => false,
));
}
public function setUp()
{
parent::setUp();
}
}