2009-05-13 16:03:54 +00:00

35 lines
1.4 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 5441 2009-01-30 22:58:43Z 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, 'primary' => true));
$this->hasColumn('libNaf5', 'string', 255, array('type' => 'string', 'length' => 255));
$this->hasColumn('codNaf4', 'string', 4, array('type' => 'string', 'length' => 4, 'fixed' => true));
$this->hasColumn('codNaf3', 'string', 3, array('type' => 'string', 'length' => 3, 'fixed' => true));
$this->hasColumn('codNaf2', 'string', 2, array('type' => 'string', 'length' => 2, 'fixed' => true));
$this->hasColumn('codNaf1', 'string', 1, array('type' => 'string', 'length' => 1, 'fixed' => true));
$this->hasColumn('poids', 'integer', 4, array('type' => 'integer', 'length' => 4, 'notnull' => true));
}
}