* @version SVN: $Id: Builder.php 5441 2009-01-30 22:58:43Z jwage $ */ abstract class BasePrice extends Doctrine_Record { public function setTableDefinition() { $this->setTableName('price'); $this->hasColumn('id', 'integer', 4, array('type' => 'integer', 'length' => 4, 'primary' => true, 'autoincrement' => true)); $this->hasColumn('immediate', 'string', 10, array('type' => 'string', 'length' => 10, 'notnull' => true)); $this->hasColumn('normal', 'string', 10, array('type' => 'string', 'length' => 10, 'notnull' => true)); $this->hasColumn('superflash', 'string', 10, array('type' => 'string', 'length' => 10, 'notnull' => true)); $this->hasColumn('user', 'string', 100, array('type' => 'string', 'length' => 100, 'notnull' => true)); $this->hasColumn('created_at', 'timestamp', null, array('type' => 'timestamp', 'default' => '0000-00-00 00:00:00', 'notnull' => true)); $this->hasColumn('updated_at', 'timestamp', null, array('type' => 'timestamp', 'default' => '0000-00-00 00:00:00', 'notnull' => true)); $this->hasColumn('country_id', 'integer', 4, array('type' => 'integer', 'length' => 4, 'notnull' => true)); } }