81 lines
2.5 KiB
PHP

<?php
/**
* 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 6401 2009-09-24 16:12:04Z guilhermeblanco $
*/
abstract class BaseTabpays extends Doctrine_Record
{
public function setTableDefinition()
{
$this->setTableName('tabpays');
$this->hasColumn('codPays', 'string', 2, array(
'type' => 'string',
'length' => 2,
'fixed' => true,
'primary' => true,
'autoincrement' => false,
));
$this->hasColumn('numPays', 'integer', 2, array(
'type' => 'integer',
'length' => 2,
'unsigned' => 1,
'primary' => false,
'default' => '000',
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('codPays3', 'string', 3, array(
'type' => 'string',
'length' => 3,
'fixed' => true,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('libPaysEN', 'string', 255, array(
'type' => 'string',
'length' => 255,
'fixed' => false,
'primary' => false,
'default' => '',
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('libPays', 'string', 255, array(
'type' => 'string',
'length' => 255,
'fixed' => false,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('dateInsert', 'timestamp', null, array(
'type' => 'timestamp',
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('dateUpdate', 'timestamp', null, array(
'type' => 'timestamp',
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
}
}