2009-08-27 07:20:05 +00:00

37 lines
1.6 KiB
PHP

<?php
/**
* BaseReport
*
* This class has been auto-generated by the Doctrine ORM Framework
*
* @property integer $id
* @property string $identifier
* @property string $name
* @property string $content
* @property string $format
* @property timestamp $created_at
* @property timestamp $updated_at
* @property integer $order_id
*
* @package ##PACKAGE##
* @subpackage ##SUBPACKAGE##
* @author ##NAME## <##EMAIL##>
* @version SVN: $Id: Builder.php 5441 2009-01-30 22:58:43Z jwage $
*/
abstract class BaseReport extends Doctrine_Record
{
public function setTableDefinition()
{
$this->setTableName('report');
$this->hasColumn('id', 'integer', 4, array('type' => 'integer', 'length' => 4, 'primary' => true, 'autoincrement' => true));
$this->hasColumn('identifier', 'string', 100, array('type' => 'string', 'length' => 100, 'notnull' => true));
$this->hasColumn('name', 'string', 100, array('type' => 'string', 'length' => 100, 'notnull' => true));
$this->hasColumn('content', 'string', null, array('type' => 'string', 'notnull' => true));
$this->hasColumn('format', 'string', 10, array('type' => 'string', 'length' => 10, '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('order_id', 'integer', 4, array('type' => 'integer', 'length' => 4, 'notnull' => true));
}
}