Actions

Source Code of This Project

/lib/model/doctrine/base/BaseResume.class.php

<?php

/**
 * BaseResume
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property string $title
 * @property string $content
 * @property integer $sort
 * 
 * @method integer getId()      Returns the current record's "id" value
 * @method string  getTitle()   Returns the current record's "title" value
 * @method string  getContent() Returns the current record's "content" value
 * @method integer getSort()    Returns the current record's "sort" value
 * @method Resume  setId()      Sets the current record's "id" value
 * @method Resume  setTitle()   Sets the current record's "title" value
 * @method Resume  setContent() Sets the current record's "content" value
 * @method Resume  setSort()    Sets the current record's "sort" value
 * 
 * @package    pwp
 * @subpackage model
 * @author     Victor Rad' <victor.v.rad[at]gmail.com>
 * @version    SVN: $Id: Builder.php 6820 2009-11-30 17:27:49Z jwage $
 */
abstract class BaseResume extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('resume');
        $this->hasColumn('id', 'integer', 2, array(
             'type' => 'integer',
             'unsigned' => 1,
             'primary' => true,
             'autoincrement' => true,
             'length' => '2',
             ));
        $this->hasColumn('title', 'string', 100, array(
             'type' => 'string',
             'notnull' => true,
             'length' => '100',
             ));
        $this->hasColumn('content', 'string', null, array(
             'type' => 'string',
             'notnull' => true,
             'length' => '',
             ));
        $this->hasColumn('sort', 'integer', 1, array(
             'type' => 'integer',
             'notnull' => true,
             'length' => '1',
             ));
    }

    public function setUp()
    {
        parent::setUp();
        
    }
}