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

/**
 * BaseRH_MF_DA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_mf_da
 * @property string $nombre
 * @property integer $id_area_c
 * @property RH_MF_AC $RH_MF_AC
 * 
 * @method integer  getIdMfDa()    Returns the current record's "id_mf_da" value
 * @method string   getNombre()    Returns the current record's "nombre" value
 * @method integer  getIdAreaC()   Returns the current record's "id_area_c" value
 * @method RH_MF_AC getRHMFAC()    Returns the current record's "RH_MF_AC" value
 * @method RH_MF_DA setIdMfDa()    Sets the current record's "id_mf_da" value
 * @method RH_MF_DA setNombre()    Sets the current record's "nombre" value
 * @method RH_MF_DA setIdAreaC()   Sets the current record's "id_area_c" value
 * @method RH_MF_DA setRHMFAC()    Sets the current record's "RH_MF_AC" value
 * 
 * @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_DA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_MF_DA');
        $this->hasColumn('id_mf_da', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('nombre', 'string', 100, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('id_area_c', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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