27 lines
863 B
PHP
Raw Normal View History

2009-05-06 07:53:28 +00:00
<?php
/**
* BaseLog
*
* This class has been auto-generated by the Doctrine ORM Framework
*
* @property integer $id
* @property string $action
* @property timestamp $dateAction
*
* @package ##PACKAGE##
* @subpackage ##SUBPACKAGE##
* @author ##NAME## <##EMAIL##>
* @version SVN: $Id: Builder.php 5441 2009-01-30 22:58:43Z jwage $
*/
abstract class BaseLog extends Doctrine_Record
{
public function setTableDefinition()
{
$this->setTableName('log');
$this->hasColumn('id', 'integer', 4, array('type' => 'integer', 'length' => 4, 'primary' => true, 'autoincrement' => true));
$this->hasColumn('action', 'string', null, array('type' => 'string', 'notnull' => true));
$this->hasColumn('dateAction', 'timestamp', null, array('type' => 'timestamp', 'notnull' => true));
}
}