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

/**
 * BaseCBR_TIPO_DOCUMENTO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_tipo_documento
 * @property string $descripcion
 * @property Doctrine_Collection $CBR_CONSECUTIVO_DOC
 * @property Doctrine_Collection $CBR_ACTUACION_PROC
 * 
 * @method integer             getIdTipoDocumento()     Returns the current record's "id_tipo_documento" value
 * @method string              getDescripcion()         Returns the current record's "descripcion" value
 * @method Doctrine_Collection getCBRCONSECUTIVODOC()   Returns the current record's "CBR_CONSECUTIVO_DOC" collection
 * @method Doctrine_Collection getCBRACTUACIONPROC()    Returns the current record's "CBR_ACTUACION_PROC" collection
 * @method CBR_TIPO_DOCUMENTO  setIdTipoDocumento()     Sets the current record's "id_tipo_documento" value
 * @method CBR_TIPO_DOCUMENTO  setDescripcion()         Sets the current record's "descripcion" value
 * @method CBR_TIPO_DOCUMENTO  setCBRCONSECUTIVODOC()   Sets the current record's "CBR_CONSECUTIVO_DOC" collection
 * @method CBR_TIPO_DOCUMENTO  setCBRACTUACIONPROC()    Sets the current record's "CBR_ACTUACION_PROC" collection
 * 
 * @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_DOCUMENTOS extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CBR_DOCUMENTOS');
        $this->hasColumn('id_documentos', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('descripcion', 'string', 250, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 250,
             ));
    }

    public function setUp()
    {
        parent::setUp();
        
    }
}
