83 lines
2.5 KiB
PHP

<?php
/**
* 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 6401 2009-09-24 16:12:04Z guilhermeblanco $
*/
abstract class BaseTabnaf5 extends Doctrine_Record
{
public function setTableDefinition()
{
$this->setTableName('tabnaf5');
$this->hasColumn('codNaf5', 'string', 5, array(
'type' => 'string',
'length' => 5,
'fixed' => true,
'primary' => true,
'autoincrement' => false,
));
$this->hasColumn('libNaf5', 'string', 255, array(
'type' => 'string',
'length' => 255,
'fixed' => false,
'primary' => false,
'notnull' => false,
'autoincrement' => false,
));
$this->hasColumn('codNaf4', 'string', 4, array(
'type' => 'string',
'length' => 4,
'fixed' => true,
'primary' => false,
'notnull' => false,
'autoincrement' => false,
));
$this->hasColumn('codNaf3', 'string', 3, array(
'type' => 'string',
'length' => 3,
'fixed' => true,
'primary' => false,
'notnull' => false,
'autoincrement' => false,
));
$this->hasColumn('codNaf2', 'string', 2, array(
'type' => 'string',
'length' => 2,
'fixed' => true,
'primary' => false,
'notnull' => false,
'autoincrement' => false,
));
$this->hasColumn('codNaf1', 'string', 1, array(
'type' => 'string',
'length' => 1,
'fixed' => true,
'primary' => false,
'notnull' => false,
'autoincrement' => false,
));
$this->hasColumn('poids', 'integer', 4, array(
'type' => 'integer',
'length' => 4,
'unsigned' => 0,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
}
}