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

/**
 * BaseCA_DEBITO_AUTOMATICO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_debito_automatico
 * @property string $codigotimelog
 * @property integer $id_anhos
 * @property integer $id_meses
 * @property timestamp $fecha_proceso
 * @property integer $id_debito
 * @property integer $estado
 * @property string $observaciones
 * @property timestamp $fecha_log
 * @property string $usuariolog
 * @property integer $id_debito_base
 * @property integer $valor
 * @property integer $aplica_usura
 * 
 * @method integer              getIdDebitoAutomatico()   Returns the current record's "id_debito_automatico" value
 * @method string               getCodigotimelog()        Returns the current record's "codigotimelog" value
 * @method integer              getIdAnhos()              Returns the current record's "id_anhos" value
 * @method integer              getIdMeses()              Returns the current record's "id_meses" value
 * @method timestamp            getFechaProceso()         Returns the current record's "fecha_proceso" value
 * @method integer              getIdDebito()             Returns the current record's "id_debito" value
 * @method integer              getEstado()               Returns the current record's "estado" value
 * @method string               getObservaciones()        Returns the current record's "observaciones" value
 * @method timestamp            getFechaLog()             Returns the current record's "fecha_log" value
 * @method string               getUsuariolog()           Returns the current record's "usuariolog" value
 * @method integer              getIdDebitoBase()         Returns the current record's "id_debito_base" value
 * @method integer              getValor()                Returns the current record's "valor" value
 * @method integer              getAplicaUsura()          Returns the current record's "aplica_usura" value
 * @method CA_DEBITO_AUTOMATICO setIdDebitoAutomatico()   Sets the current record's "id_debito_automatico" value
 * @method CA_DEBITO_AUTOMATICO setCodigotimelog()        Sets the current record's "codigotimelog" value
 * @method CA_DEBITO_AUTOMATICO setIdAnhos()              Sets the current record's "id_anhos" value
 * @method CA_DEBITO_AUTOMATICO setIdMeses()              Sets the current record's "id_meses" value
 * @method CA_DEBITO_AUTOMATICO setFechaProceso()         Sets the current record's "fecha_proceso" value
 * @method CA_DEBITO_AUTOMATICO setIdDebito()             Sets the current record's "id_debito" value
 * @method CA_DEBITO_AUTOMATICO setEstado()               Sets the current record's "estado" value
 * @method CA_DEBITO_AUTOMATICO setObservaciones()        Sets the current record's "observaciones" value
 * @method CA_DEBITO_AUTOMATICO setFechaLog()             Sets the current record's "fecha_log" value
 * @method CA_DEBITO_AUTOMATICO setUsuariolog()           Sets the current record's "usuariolog" value
 * @method CA_DEBITO_AUTOMATICO setIdDebitoBase()         Sets the current record's "id_debito_base" value
 * @method CA_DEBITO_AUTOMATICO setValor()                Sets the current record's "valor" value
 * @method CA_DEBITO_AUTOMATICO setAplicaUsura()          Sets the current record's "aplica_usura" 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_DEBITO_AUTOMATICO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CA_DEBITO_AUTOMATICO');
        $this->hasColumn('id_debito_automatico', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('codigotimelog', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_anhos', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_meses', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_proceso', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_debito', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('observaciones', 'string', 4000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4000,
             ));
        $this->hasColumn('fecha_log', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'default' => 'sysdate',
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('usuariolog', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_debito_base', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor', 'integer', 38, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('aplica_usura', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 8,
             ));
    }

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