* @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)); } }