2009-05-12 12:25:42 +00:00

36 lines
1.6 KiB
PHP

<?php
/**
* BasePrice
*
* This class has been auto-generated by the Doctrine ORM Framework
*
* @property integer $id
* @property string $immediate
* @property string $normal
* @property string $superflash
* @property string $user
* @property timestamp $created
* @property timestamp $modified
* @property integer $country_id
*
* @package ##PACKAGE##
* @subpackage ##SUBPACKAGE##
* @author ##NAME## <##EMAIL##>
* @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));
}
}