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

/**
 * BaseCA_TIPO_FACTURA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_tipo_factura
 * @property string $descripcion
 * @property string $desc_corta
 * @property integer $estado
 * 
 * @method integer         getIdTipoFactura()   Returns the current record's "id_tipo_factura" value
 * @method string          getDescripcion()     Returns the current record's "descripcion" value
 * @method string          getDescCorta()       Returns the current record's "desc_corta" value
 * @method integer         getEstado()          Returns the current record's "estado" value
 * @method CA_TIPO_FACTURA setIdTipoFactura()   Sets the current record's "id_tipo_factura" value
 * @method CA_TIPO_FACTURA setDescripcion()     Sets the current record's "descripcion" value
 * @method CA_TIPO_FACTURA setDescCorta()       Sets the current record's "desc_corta" value
 * @method CA_TIPO_FACTURA setEstado()          Sets the current record's "estado" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCA_TIPO_FACTURA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CA_TIPO_FACTURA');
        $this->hasColumn('id_tipo_factura', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('descripcion', 'string', 256, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 256,
             ));
        $this->hasColumn('desc_corta', 'string', 45, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 45,
             ));
        $this->hasColumn('estado', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 8,
             ));
    }

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