2009-05-13 16:03:54 +00:00
|
|
|
<?php
|
2010-04-21 10:23:49 +00:00
|
|
|
// Connection Component Binding
|
|
|
|
Doctrine_Manager::getInstance()->bindComponent('Tabpays', 'sdv1');
|
2009-05-13 16:03:54 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 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##>
|
2010-04-21 10:23:49 +00:00
|
|
|
* @version SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
|
2009-05-13 16:03:54 +00:00
|
|
|
*/
|
|
|
|
abstract class BaseTabpays extends Doctrine_Record
|
|
|
|
{
|
|
|
|
public function setTableDefinition()
|
|
|
|
{
|
|
|
|
$this->setTableName('tabpays');
|
2010-02-10 17:27:03 +00:00
|
|
|
$this->hasColumn('codPays', 'string', 2, array(
|
|
|
|
'type' => 'string',
|
|
|
|
'length' => 2,
|
|
|
|
'fixed' => true,
|
2010-04-21 10:23:49 +00:00
|
|
|
'unsigned' => false,
|
2010-02-10 17:27:03 +00:00
|
|
|
'primary' => true,
|
|
|
|
'autoincrement' => false,
|
|
|
|
));
|
|
|
|
$this->hasColumn('numPays', 'integer', 2, array(
|
|
|
|
'type' => 'integer',
|
|
|
|
'length' => 2,
|
2010-04-21 10:23:49 +00:00
|
|
|
'fixed' => false,
|
|
|
|
'unsigned' => true,
|
2010-02-10 17:27:03 +00:00
|
|
|
'primary' => false,
|
|
|
|
'default' => '000',
|
|
|
|
'notnull' => true,
|
|
|
|
'autoincrement' => false,
|
|
|
|
));
|
|
|
|
$this->hasColumn('codPays3', 'string', 3, array(
|
|
|
|
'type' => 'string',
|
|
|
|
'length' => 3,
|
|
|
|
'fixed' => true,
|
2010-04-21 10:23:49 +00:00
|
|
|
'unsigned' => false,
|
2010-02-10 17:27:03 +00:00
|
|
|
'primary' => false,
|
|
|
|
'notnull' => true,
|
|
|
|
'autoincrement' => false,
|
|
|
|
));
|
|
|
|
$this->hasColumn('libPaysEN', 'string', 255, array(
|
|
|
|
'type' => 'string',
|
|
|
|
'length' => 255,
|
|
|
|
'fixed' => false,
|
2010-04-21 10:23:49 +00:00
|
|
|
'unsigned' => false,
|
2010-02-10 17:27:03 +00:00
|
|
|
'primary' => false,
|
|
|
|
'default' => '',
|
|
|
|
'notnull' => true,
|
|
|
|
'autoincrement' => false,
|
|
|
|
));
|
|
|
|
$this->hasColumn('libPays', 'string', 255, array(
|
|
|
|
'type' => 'string',
|
|
|
|
'length' => 255,
|
|
|
|
'fixed' => false,
|
2010-04-21 10:23:49 +00:00
|
|
|
'unsigned' => false,
|
2010-02-10 17:27:03 +00:00
|
|
|
'primary' => false,
|
|
|
|
'notnull' => true,
|
|
|
|
'autoincrement' => false,
|
|
|
|
));
|
|
|
|
$this->hasColumn('dateInsert', 'timestamp', null, array(
|
|
|
|
'type' => 'timestamp',
|
2010-04-21 10:23:49 +00:00
|
|
|
'fixed' => false,
|
|
|
|
'unsigned' => false,
|
2010-02-10 17:27:03 +00:00
|
|
|
'primary' => false,
|
|
|
|
'notnull' => true,
|
|
|
|
'autoincrement' => false,
|
|
|
|
));
|
|
|
|
$this->hasColumn('dateUpdate', 'timestamp', null, array(
|
|
|
|
'type' => 'timestamp',
|
2010-04-21 10:23:49 +00:00
|
|
|
'fixed' => false,
|
|
|
|
'unsigned' => false,
|
2010-02-10 17:27:03 +00:00
|
|
|
'primary' => false,
|
|
|
|
'notnull' => true,
|
|
|
|
'autoincrement' => false,
|
|
|
|
));
|
2009-05-13 16:03:54 +00:00
|
|
|
}
|
|
|
|
|
2010-04-21 10:23:49 +00:00
|
|
|
public function setUp()
|
|
|
|
{
|
|
|
|
parent::setUp();
|
|
|
|
|
|
|
|
}
|
2009-05-13 16:03:54 +00:00
|
|
|
}
|