<?php

// Connection Component Binding
Doctrine_Manager::getInstance()->bindComponent('CBR_MOTIVO_LEVANTA', '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_MOTIVO_LEVANTA extends sfDoctrineRecord {

    public function setTableDefinition() {
        $this->setTableName('CBR_MOTIVO_LEVANTA');
        $this->hasColumn('id_motivo_levanta', '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,
        ));
        $this->hasColumn('estado', 'integer', 1, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 1,
        ));
        $this->hasColumn('id_tipo_documento', 'integer', 20, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
    }

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

}
