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

/**
 * BaseRH_MF_CB_D
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_mf_cb_d
 * @property integer $codigo
 * @property string $conocimiento
 * @property integer $id_cb
 * @property RH_MF_CB $RH_MF_CB
 * 
 * @method integer    getIdMfCbD()      Returns the current record's "id_mf_cb_d" value
 * @method integer    getCodigo()       Returns the current record's "codigo" value
 * @method string     getConocimiento() Returns the current record's "conocimiento" value
 * @method integer    getIdCb()         Returns the current record's "id_cb" value
 * @method RH_MF_CB   getRHMFCB()       Returns the current record's "RH_MF_CB" value
 * @method RH_MF_CB_D setIdMfCbD()      Sets the current record's "id_mf_cb_d" value
 * @method RH_MF_CB_D setCodigo()       Sets the current record's "codigo" value
 * @method RH_MF_CB_D setConocimiento() Sets the current record's "conocimiento" value
 * @method RH_MF_CB_D setIdCb()         Sets the current record's "id_cb" value
 * @method RH_MF_CB_D setRHMFCB()       Sets the current record's "RH_MF_CB" 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_CB_D extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_MF_CB_D');
        $this->hasColumn('id_mf_cb_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('conocimiento', 'string', 1000, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('id_cb', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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