<?php
// Connection Component Binding
Doctrine_Manager::getInstance()->bindComponent('RH_MF_CB', 'doctrine');

/**
 * BaseRH_MF_CB
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_mf_cb
 * @property integer $id_mf
 * @property Doctrine_Collection $RH_MF_CB_D
 * 
 * @method integer             getIdMfCb()     Returns the current record's "id_mf_cb" value
 * @method integer             getIdMf()       Returns the current record's "id_mf" value
 * @method Doctrine_Collection getRHMFCBD()    Returns the current record's "RH_MF_CB_D" collection
 * @method RH_MF_CB            setIdMfCb()     Sets the current record's "id_mf_cb" value
 * @method RH_MF_CB            setIdMf()       Sets the current record's "id_mf" value
 * @method RH_MF_CB            setRHMFCBD()    Sets the current record's "RH_MF_CB_D" collection
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseRH_MF_CB extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_MF_CB');
        $this->hasColumn('id_mf_cb', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_mf', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

    public function setUp()
    {
        parent::setUp();
        $this->hasMany('RH_MF_CB_D', array(
             'local' => 'id_mf_cb',
             'foreign' => 'id_cb'));
    }
}