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

97 lines
2.9 KiB
PHP

<?php
// Connection Component Binding
Doctrine_Manager::getInstance()->bindComponent('Tabnaf5', 'sdv1');
/**
* BaseTabnaf5
*
* This class has been auto-generated by the Doctrine ORM Framework
*
* @property string $codNaf5
* @property string $libNaf5
* @property string $codNaf4
* @property string $codNaf3
* @property string $codNaf2
* @property string $codNaf1
* @property integer $poids
*
* @package ##PACKAGE##
* @subpackage ##SUBPACKAGE##
* @author ##NAME## <##EMAIL##>
* @version SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
*/
abstract class BaseTabnaf5 extends Doctrine_Record
{
public function setTableDefinition()
{
$this->setTableName('tabnaf5');
$this->hasColumn('codNaf5', 'string', 5, array(
'type' => 'string',
'length' => 5,
'fixed' => true,
'unsigned' => false,
'primary' => true,
'autoincrement' => false,
));
$this->hasColumn('libNaf5', 'string', 255, array(
'type' => 'string',
'length' => 255,
'fixed' => false,
'unsigned' => false,
'primary' => false,
'notnull' => false,
'autoincrement' => false,
));
$this->hasColumn('codNaf4', 'string', 4, array(
'type' => 'string',
'length' => 4,
'fixed' => true,
'unsigned' => false,
'primary' => false,
'notnull' => false,
'autoincrement' => false,
));
$this->hasColumn('codNaf3', 'string', 3, array(
'type' => 'string',
'length' => 3,
'fixed' => true,
'unsigned' => false,
'primary' => false,
'notnull' => false,
'autoincrement' => false,
));
$this->hasColumn('codNaf2', 'string', 2, array(
'type' => 'string',
'length' => 2,
'fixed' => true,
'unsigned' => false,
'primary' => false,
'notnull' => false,
'autoincrement' => false,
));
$this->hasColumn('codNaf1', 'string', 1, array(
'type' => 'string',
'length' => 1,
'fixed' => true,
'unsigned' => false,
'primary' => false,
'notnull' => false,
'autoincrement' => false,
));
$this->hasColumn('poids', 'integer', 4, array(
'type' => 'integer',
'length' => 4,
'fixed' => false,
'unsigned' => false,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
}
public function setUp()
{
parent::setUp();
}
}