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

/**
 * BaseCA_INT_CALCULADO_T
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_int_calculado
 * @property integer $sec_debito
 * @property string $concepto
 * @property timestamp $fecha_ini
 * @property timestamp $fecha_fin
 * @property timestamp $fecha_vence
 * @property integer $capital
 * @property integer $intereses
 * @property decimal $total
 * @property integer $tasa
 * @property integer $id_username
 * @property timestamp $fecha_pago
 * @property string $titulo
 * @property string $num_doc
 * @property string $razon_soc
 * @property integer $dias_mora
 * @property integer $id_tipo_calculo
 * 
 * @method integer            getIdIntCalculado()   Returns the current record's "id_int_calculado" value
 * @method integer            getSecDebito()        Returns the current record's "sec_debito" value
 * @method string             getConcepto()         Returns the current record's "concepto" value
 * @method timestamp          getFechaIni()         Returns the current record's "fecha_ini" value
 * @method timestamp          getFechaFin()         Returns the current record's "fecha_fin" value
 * @method timestamp          getFechaVence()       Returns the current record's "fecha_vence" value
 * @method integer            getCapital()          Returns the current record's "capital" value
 * @method integer            getIntereses()        Returns the current record's "intereses" value
 * @method decimal            getTotal()            Returns the current record's "total" value
 * @method integer            getTasa()             Returns the current record's "tasa" value
 * @method integer            getIdUsername()       Returns the current record's "id_username" value
 * @method timestamp          getFechaPago()        Returns the current record's "fecha_pago" value
 * @method string             getTitulo()           Returns the current record's "titulo" value
 * @method string             getNumDoc()           Returns the current record's "num_doc" value
 * @method string             getRazonSoc()         Returns the current record's "razon_soc" value
 * @method integer            getDiasMora()         Returns the current record's "dias_mora" value
 * @method integer            getIdTipoCalculo()    Returns the current record's "id_tipo_calculo" value
 * @method CA_INT_CALCULADO_T setIdIntCalculado()   Sets the current record's "id_int_calculado" value
 * @method CA_INT_CALCULADO_T setSecDebito()        Sets the current record's "sec_debito" value
 * @method CA_INT_CALCULADO_T setConcepto()         Sets the current record's "concepto" value
 * @method CA_INT_CALCULADO_T setFechaIni()         Sets the current record's "fecha_ini" value
 * @method CA_INT_CALCULADO_T setFechaFin()         Sets the current record's "fecha_fin" value
 * @method CA_INT_CALCULADO_T setFechaVence()       Sets the current record's "fecha_vence" value
 * @method CA_INT_CALCULADO_T setCapital()          Sets the current record's "capital" value
 * @method CA_INT_CALCULADO_T setIntereses()        Sets the current record's "intereses" value
 * @method CA_INT_CALCULADO_T setTotal()            Sets the current record's "total" value
 * @method CA_INT_CALCULADO_T setTasa()             Sets the current record's "tasa" value
 * @method CA_INT_CALCULADO_T setIdUsername()       Sets the current record's "id_username" value
 * @method CA_INT_CALCULADO_T setFechaPago()        Sets the current record's "fecha_pago" value
 * @method CA_INT_CALCULADO_T setTitulo()           Sets the current record's "titulo" value
 * @method CA_INT_CALCULADO_T setNumDoc()           Sets the current record's "num_doc" value
 * @method CA_INT_CALCULADO_T setRazonSoc()         Sets the current record's "razon_soc" value
 * @method CA_INT_CALCULADO_T setDiasMora()         Sets the current record's "dias_mora" value
 * @method CA_INT_CALCULADO_T setIdTipoCalculo()    Sets the current record's "id_tipo_calculo" 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 BaseCA_INT_CALCULADO_T extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CA_INT_CALCULADO_T');
        $this->hasColumn('id_int_calculado', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('sec_debito', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('concepto', 'string', 250, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 250,
             ));
        $this->hasColumn('fecha_ini', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_fin', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_vence', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('capital', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('intereses', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('total', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('tasa', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_username', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_pago', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('titulo', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_doc', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('razon_soc', 'string', 500, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('dias_mora', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tipo_calculo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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