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

/**
 * BaseRH_MF_CI_D
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_mf_ci_d
 * @property integer $codigo
 * @property string $contribucion
 * @property integer $id_ci
 * @property RH_MF_CI $RH_MF_CI
 * 
 * @method integer    getIdMfCiD()      Returns the current record's "id_mf_ci_d" value
 * @method integer    getCodigo()       Returns the current record's "codigo" value
 * @method string     getContribucion() Returns the current record's "contribucion" value
 * @method integer    getIdCi()         Returns the current record's "id_ci" value
 * @method RH_MF_CI   getRHMFCI()       Returns the current record's "RH_MF_CI" value
 * @method RH_MF_CI_D setIdMfCiD()      Sets the current record's "id_mf_ci_d" value
 * @method RH_MF_CI_D setCodigo()       Sets the current record's "codigo" value
 * @method RH_MF_CI_D setContribucion() Sets the current record's "contribucion" value
 * @method RH_MF_CI_D setIdCi()         Sets the current record's "id_ci" value
 * @method RH_MF_CI_D setRHMFCI()       Sets the current record's "RH_MF_CI" value
 * 
 * @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_D extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_MF_CI_D');
        $this->hasColumn('id_mf_ci_d', 'integer', 20, array(
             'notnull' => false,
             '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('contribucion', 'string', 1000, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('id_ci', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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