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

/**
 * BaseRH_MF_AC
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_mf_ac
 * @property string $nombre
 * @property Doctrine_Collection $RH_MF_DA
 * 
 * @method integer             getIdMfAc()   Returns the current record's "id_mf_ac" value
 * @method string              getNombre()   Returns the current record's "nombre" value
 * @method Doctrine_Collection getRHMFDA()   Returns the current record's "RH_MF_DA" collection
 * @method RH_MF_AC            setIdMfAc()   Sets the current record's "id_mf_ac" value
 * @method RH_MF_AC            setNombre()   Sets the current record's "nombre" value
 * @method RH_MF_AC            setRHMFDA()   Sets the current record's "RH_MF_DA" collection
 * 
 * @package    contratacion
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseRH_MF_AC extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_MF_AC');
        $this->hasColumn('id_mf_ac', 'integer', 20, array(
             'notnull' => false,
             '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,
             ));
    }

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