bindComponent('Country', 'graydon'); /** * BaseCountry * * This class has been auto-generated by the Doctrine ORM Framework * * @property integer $id * @property string $code * @property string $graydon_country * @property string $lib * @property enum $status * * @package ##PACKAGE## * @subpackage ##SUBPACKAGE## * @author ##NAME## <##EMAIL##> * @version SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $ */ abstract class BaseCountry extends Doctrine_Record { public function setTableDefinition() { $this->setTableName('country'); $this->hasColumn('id', 'integer', 4, array( 'type' => 'integer', 'length' => 4, 'fixed' => false, 'unsigned' => false, 'primary' => true, 'autoincrement' => true, )); $this->hasColumn('code', 'string', 2, array( 'type' => 'string', 'length' => 2, 'fixed' => true, 'unsigned' => false, 'primary' => false, 'notnull' => true, 'autoincrement' => false, )); $this->hasColumn('graydon_country', 'string', 100, array( 'type' => 'string', 'length' => 100, 'fixed' => false, 'unsigned' => false, 'primary' => false, 'notnull' => true, 'autoincrement' => false, )); $this->hasColumn('lib', 'string', 100, array( 'type' => 'string', 'length' => 100, 'fixed' => false, 'unsigned' => false, 'primary' => false, 'notnull' => true, 'autoincrement' => false, )); $this->hasColumn('status', 'enum', 7, array( 'type' => 'enum', 'length' => 7, 'fixed' => false, 'unsigned' => false, 'values' => array( 0 => 'actif', 1 => 'inactif', ), 'primary' => false, 'notnull' => true, 'autoincrement' => false, )); } public function setUp() { parent::setUp(); } }