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

/**
 * BaseRH_MF_CI
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_mf_ci
 * @property integer $id_mf
 * @property Doctrine_Collection $RH_MF_CI_D
 * 
 * @method integer             getIdMfCi()     Returns the current record's "id_mf_ci" value
 * @method integer             getIdMf()       Returns the current record's "id_mf" value
 * @method Doctrine_Collection getRHMFCID()    Returns the current record's "RH_MF_CI_D" collection
 * @method RH_MF_CI            setIdMfCi()     Sets the current record's "id_mf_ci" value
 * @method RH_MF_CI            setIdMf()       Sets the current record's "id_mf" value
 * @method RH_MF_CI            setRHMFCID()    Sets the current record's "RH_MF_CI_D" collection
 * 
 * @package    cobro_coactivo
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseRH_MF_CI extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_MF_CI');
        $this->hasColumn('id_mf_ci', 'integer', 20, array(
             'notnull' => false,
             '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_CI_D', array(
             'local' => 'id_mf_ci',
             'foreign' => 'id_ci'));
    }
}