* @version SVN: $Id: Builder.php 5441 2009-01-30 22:58:43Z jwage $ */ abstract class BaseCountry extends Doctrine_Record { public function setTableDefinition() { $this->setTableName('country'); $this->hasColumn('id', 'integer', 4, array('type' => 'integer', 'length' => 4, 'primary' => true, 'autoincrement' => true)); $this->hasColumn('code', 'string', 2, array('type' => 'string', 'length' => 2, 'fixed' => true, 'notnull' => true)); $this->hasColumn('graydon_country', 'string', 100, array('type' => 'string', 'length' => 100, 'notnull' => true)); $this->hasColumn('lib', 'string', 100, array('type' => 'string', 'length' => 100, 'notnull' => true)); $this->hasColumn('status', 'enum', 7, array('type' => 'enum', 'length' => 7, 'values' => array(0 => 'actif', 1 => 'inactif'), 'notnull' => true)); } }