* @version SVN: $Id: Builder.php 6401 2009-09-24 16:12:04Z guilhermeblanco $ */ abstract class BasePartenaires extends Doctrine_Record { public function setTableDefinition() { $this->setTableName('partenaires'); $this->hasColumn('nom', 'string', 50, array( 'type' => 'string', 'length' => 50, 'fixed' => false, 'primary' => true, 'autoincrement' => false, )); $this->hasColumn('actif', 'integer', 1, array( 'type' => 'integer', 'length' => 1, 'unsigned' => 0, 'primary' => false, 'notnull' => true, 'autoincrement' => false, )); $this->hasColumn('actifsd', 'integer', 1, array( 'type' => 'integer', 'length' => 1, 'unsigned' => 0, 'primary' => false, 'notnull' => true, 'autoincrement' => false, )); } }