2009-05-06 07:53:28 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* BaseReport
|
|
|
|
*
|
|
|
|
* This class has been auto-generated by the Doctrine ORM Framework
|
|
|
|
*
|
|
|
|
* @property integer $id
|
2009-05-11 15:48:50 +00:00
|
|
|
* @property string $identifier
|
|
|
|
* @property string $name
|
2009-05-06 07:53:28 +00:00
|
|
|
* @property string $content
|
|
|
|
* @property string $format
|
2009-05-11 15:48:50 +00:00
|
|
|
* @property timestamp $created_at
|
|
|
|
* @property timestamp $updated_at
|
2009-05-06 07:53:28 +00:00
|
|
|
* @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));
|
2009-05-11 15:48:50 +00:00
|
|
|
$this->hasColumn('name', 'string', 100, array('type' => 'string', 'length' => 100, 'notnull' => true));
|
2009-05-06 07:53:28 +00:00
|
|
|
$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));
|
|
|
|
}
|
2009-05-11 15:48:50 +00:00
|
|
|
|
2009-05-06 07:53:28 +00:00
|
|
|
}
|