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

/**
 * BaseRH_MF_FE
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_mf_fe
 * @property integer $id_mf
 * @property Doctrine_Collection $RH_MF_FE_D
 * 
 * @method integer             getIdMfFe()     Returns the current record's "id_mf_fe" value
 * @method integer             getIdMf()       Returns the current record's "id_mf" value
 * @method Doctrine_Collection getRHMFFED()    Returns the current record's "RH_MF_FE_D" collection
 * @method RH_MF_FE            setIdMfFe()     Sets the current record's "id_mf_fe" value
 * @method RH_MF_FE            setIdMf()       Sets the current record's "id_mf" value
 * @method RH_MF_FE            setRHMFFED()    Sets the current record's "RH_MF_FE_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_FE extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_MF_FE');
        $this->hasColumn('id_mf_fe', '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_FE_D', array(
             'local' => 'id_mf_fe',
             'foreign' => 'id_fe'));
    }
}