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

/**
 * BaseCBR_REGISTRO_CONCEPTO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_registro_nd
 * @property integer $id_registro_concepto
 * @property integer $id_debito
 * 
 * @package    cobro_coactivo
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCBR_REGISTRO_ND extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CBR_REGISTRO_ND');
        $this->hasColumn('id_registro_nd', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_registro_concepto', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_debito', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        
        
        
    }

    public function setUp()
    {
        parent::setUp();
        $this->hasOne('CBR_REGISTRO_CONCEPTO', array(
             'local' => 'id_registro_concepto',
             'foreign' => 'id_registro_concepto'));

        

    }
}