<?php

/**
 * BaseCatParent
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $cat_id
 * @property integer $parent_id
 * @property integer $order_id
 * 
 * @method integer   getCatId()     Returns the current record's "cat_id" value
 * @method integer   getParentId()  Returns the current record's "parent_id" value
 * @method integer   getOrderId()   Returns the current record's "order_id" value
 * @method CatParent setCatId()     Sets the current record's "cat_id" value
 * @method CatParent setParentId()  Sets the current record's "parent_id" value
 * @method CatParent 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 BaseCatParent extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('cat_parent');
        $this->hasColumn('cat_id', 'integer', null, array(
             'type' => 'integer',
             'primary' => true,
             ));
        $this->hasColumn('parent_id', 'integer', null, array(
             'type' => 'integer',
             'primary' => true,
             ));
        $this->hasColumn('order_id', 'integer', null, array(
             'type' => 'integer',
             'notnull' => true,
             'default' => 0,
             ));
    }

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