2010-04-21 10:23:49 +00:00

97 lines
3.0 KiB
PHP

<?php
// Connection Component Binding
Doctrine_Manager::getInstance()->bindComponent('Tabpays', 'sdv1');
/**
* BaseTabpays
*
* This class has been auto-generated by the Doctrine ORM Framework
*
* @property string $codPays
* @property integer $numPays
* @property string $codPays3
* @property string $libPaysEN
* @property string $libPays
* @property timestamp $dateInsert
* @property timestamp $dateUpdate
*
* @package ##PACKAGE##
* @subpackage ##SUBPACKAGE##
* @author ##NAME## <##EMAIL##>
* @version SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
*/
abstract class BaseTabpays extends Doctrine_Record
{
public function setTableDefinition()
{
$this->setTableName('tabpays');
$this->hasColumn('codPays', 'string', 2, array(
'type' => 'string',
'length' => 2,
'fixed' => true,
'unsigned' => false,
'primary' => true,
'autoincrement' => false,
));
$this->hasColumn('numPays', 'integer', 2, array(
'type' => 'integer',
'length' => 2,
'fixed' => false,
'unsigned' => true,
'primary' => false,
'default' => '000',
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('codPays3', 'string', 3, array(
'type' => 'string',
'length' => 3,
'fixed' => true,
'unsigned' => false,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('libPaysEN', 'string', 255, array(
'type' => 'string',
'length' => 255,
'fixed' => false,
'unsigned' => false,
'primary' => false,
'default' => '',
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('libPays', 'string', 255, array(
'type' => 'string',
'length' => 255,
'fixed' => false,
'unsigned' => false,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('dateInsert', 'timestamp', null, array(
'type' => 'timestamp',
'fixed' => false,
'unsigned' => false,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('dateUpdate', 'timestamp', null, array(
'type' => 'timestamp',
'fixed' => false,
'unsigned' => false,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
}
public function setUp()
{
parent::setUp();
}
}