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

/**
 * BaseRH_MF_FE_D
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_mf_fe
 * @property integer $codigo
 * @property string $funcion
 * @property integer $id_fe
 * @property RH_MF_FE $RH_MF_FE
 * 
 * @method integer    getIdMfFe()   Returns the current record's "id_mf_fe" value
 * @method integer    getCodigo()   Returns the current record's "codigo" value
 * @method string     getFuncion()  Returns the current record's "funcion" value
 * @method integer    getIdFe()     Returns the current record's "id_fe" value
 * @method RH_MF_FE   getRHMFFE()   Returns the current record's "RH_MF_FE" value
 * @method RH_MF_FE_D setIdMfFe()   Sets the current record's "id_mf_fe" value
 * @method RH_MF_FE_D setCodigo()   Sets the current record's "codigo" value
 * @method RH_MF_FE_D setFuncion()  Sets the current record's "funcion" value
 * @method RH_MF_FE_D setIdFe()     Sets the current record's "id_fe" value
 * @method RH_MF_FE_D setRHMFFE()   Sets the current record's "RH_MF_FE" 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_FE_D extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_MF_FE_D');
        $this->hasColumn('id_mf_fe', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('codigo', 'integer', 4, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('funcion', 'string', 1000, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('id_fe', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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