* @version SVN: $Id: Builder.php 5441 2009-01-30 22:58:43Z jwage $ */ abstract class BaseTabpays extends Doctrine_Record { public function setTableDefinition() { $this->setTableName('tabpays'); $this->hasColumn('codPays', 'string', 2, array('type' => 'string', 'length' => 2, 'fixed' => true, 'primary' => true)); $this->hasColumn('numPays', 'integer', 2, array('type' => 'integer', 'length' => 2, 'unsigned' => 1, 'default' => '000', 'notnull' => true)); $this->hasColumn('codPays3', 'string', 3, array('type' => 'string', 'length' => 3, 'fixed' => true, 'notnull' => true)); $this->hasColumn('libPaysEN', 'string', 255, array('type' => 'string', 'length' => 255, 'default' => '', 'notnull' => true)); $this->hasColumn('libPays', 'string', 255, array('type' => 'string', 'length' => 255, 'notnull' => true)); $this->hasColumn('dateInsert', 'timestamp', null, array('type' => 'timestamp', 'notnull' => true)); $this->hasColumn('dateUpdate', 'timestamp', null, array('type' => 'timestamp', 'notnull' => true)); } }