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

/**
 * BaseRH_MF_CL
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_mf_cl
 * @property integer $id
 * @property integer $id_mf
 * @property integer $id_cl
 * @property RH_CL $RH_CL
 * 
 * @method integer  getIdMfCl()   Returns the current record's "id_mf_cl" value
 * @method integer  getId()       Returns the current record's "id" value
 * @method integer  getIdMf()     Returns the current record's "id_mf" value
 * @method integer  getIdCl()     Returns the current record's "id_cl" value
 * @method RH_CL    getRHCL()     Returns the current record's "RH_CL" value
 * @method RH_MF_CL setIdMfCl()   Sets the current record's "id_mf_cl" value
 * @method RH_MF_CL setId()       Sets the current record's "id" value
 * @method RH_MF_CL setIdMf()     Sets the current record's "id_mf" value
 * @method RH_MF_CL setIdCl()     Sets the current record's "id_cl" value
 * @method RH_MF_CL setRHCL()     Sets the current record's "RH_CL" value
 * 
 * @package    controlComisiones
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseRH_MF_CL extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_MF_CL');
        $this->hasColumn('id_mf_cl', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_mf', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_cl', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

    public function setUp()
    {
        parent::setUp();
        $this->hasOne('RH_CL', array(
             'local' => 'id_cl',
             'foreign' => 'id_cl'));
    }
}