<?php

/**
 * BaseMainMenu
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property string $title
 * @property string $link
 * @property boolean $is_activated
 * @property integer $order_id
 * 
 * @method string   getTitle()        Returns the current record's "title" value
 * @method string   getLink()         Returns the current record's "link" value
 * @method boolean  getIsActivated()  Returns the current record's "is_activated" value
 * @method integer  getOrderId()      Returns the current record's "order_id" value
 * @method MainMenu setTitle()        Sets the current record's "title" value
 * @method MainMenu setLink()         Sets the current record's "link" value
 * @method MainMenu setIsActivated()  Sets the current record's "is_activated" value
 * @method MainMenu setOrderId()      Sets the current record's "order_id" value
 * 
 * @package    sf
 * @subpackage model
 * @author     Atma
 * @version    SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
 */
abstract class BaseMainMenu extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('main_menu');
        $this->hasColumn('title', 'string', 1000, array(
             'type' => 'string',
             'notnull' => true,
             'length' => 1000,
             ));
        $this->hasColumn('link', 'string', 1000, array(
             'type' => 'string',
             'notnull' => true,
             'length' => 1000,
             ));
        $this->hasColumn('is_activated', 'boolean', null, array(
             'type' => 'boolean',
             'notnull' => true,
             'default' => true,
             ));
        $this->hasColumn('order_id', 'integer', null, array(
             'type' => 'integer',
             'notnull' => true,
             'default' => 0,
             ));
    }

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