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

/**
 * BaseCA_CESION_DEBITO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_cesion_debito
 * @property integer $id_debito
 * @property timestamp $fecha_proceso
 * @property string $usuariolog
 * @property timestamp $fecha_log
 * @property timestamp $periodo_ini
 * @property timestamp $periodo_fin
 * @property integer $id_referencia1
 * @property string $id_referencia2
 * @property string $observaciones
 * @property timestamp $periodo_ini_ant
 * @property timestamp $periodo_fin_ant
 * @property integer $id_referencia1_ant
 * @property string $id_referencia2_ant
 * @property string $observaciones_ant
 * @property string $motivo
 * 
 * @method integer          getIdCesionDebito()     Returns the current record's "id_cesion_debito" value
 * @method integer          getIdDebito()           Returns the current record's "id_debito" value
 * @method timestamp        getFechaProceso()       Returns the current record's "fecha_proceso" value
 * @method string           getUsuariolog()         Returns the current record's "usuariolog" value
 * @method timestamp        getFechaLog()           Returns the current record's "fecha_log" value
 * @method timestamp        getPeriodoIni()         Returns the current record's "periodo_ini" value
 * @method timestamp        getPeriodoFin()         Returns the current record's "periodo_fin" value
 * @method integer          getIdReferencia1()      Returns the current record's "id_referencia1" value
 * @method string           getIdReferencia2()      Returns the current record's "id_referencia2" value
 * @method string           getObservaciones()      Returns the current record's "observaciones" value
 * @method timestamp        getPeriodoIniAnt()      Returns the current record's "periodo_ini_ant" value
 * @method timestamp        getPeriodoFinAnt()      Returns the current record's "periodo_fin_ant" value
 * @method integer          getIdReferencia1Ant()   Returns the current record's "id_referencia1_ant" value
 * @method string           getIdReferencia2Ant()   Returns the current record's "id_referencia2_ant" value
 * @method string           getObservacionesAnt()   Returns the current record's "observaciones_ant" value
 * @method string           getMotivo()             Returns the current record's "motivo" value
 * @method CA_CESION_DEBITO setIdCesionDebito()     Sets the current record's "id_cesion_debito" value
 * @method CA_CESION_DEBITO setIdDebito()           Sets the current record's "id_debito" value
 * @method CA_CESION_DEBITO setFechaProceso()       Sets the current record's "fecha_proceso" value
 * @method CA_CESION_DEBITO setUsuariolog()         Sets the current record's "usuariolog" value
 * @method CA_CESION_DEBITO setFechaLog()           Sets the current record's "fecha_log" value
 * @method CA_CESION_DEBITO setPeriodoIni()         Sets the current record's "periodo_ini" value
 * @method CA_CESION_DEBITO setPeriodoFin()         Sets the current record's "periodo_fin" value
 * @method CA_CESION_DEBITO setIdReferencia1()      Sets the current record's "id_referencia1" value
 * @method CA_CESION_DEBITO setIdReferencia2()      Sets the current record's "id_referencia2" value
 * @method CA_CESION_DEBITO setObservaciones()      Sets the current record's "observaciones" value
 * @method CA_CESION_DEBITO setPeriodoIniAnt()      Sets the current record's "periodo_ini_ant" value
 * @method CA_CESION_DEBITO setPeriodoFinAnt()      Sets the current record's "periodo_fin_ant" value
 * @method CA_CESION_DEBITO setIdReferencia1Ant()   Sets the current record's "id_referencia1_ant" value
 * @method CA_CESION_DEBITO setIdReferencia2Ant()   Sets the current record's "id_referencia2_ant" value
 * @method CA_CESION_DEBITO setObservacionesAnt()   Sets the current record's "observaciones_ant" value
 * @method CA_CESION_DEBITO setMotivo()             Sets the current record's "motivo" 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_CESION_DEBITO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CA_CESION_DEBITO');
        $this->hasColumn('id_cesion_debito', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_debito', '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('usuariolog', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_log', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('periodo_ini', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('periodo_fin', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_referencia1', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_referencia2', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('observaciones', 'string', 4000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4000,
             ));
        $this->hasColumn('periodo_ini_ant', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('periodo_fin_ant', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_referencia1_ant', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_referencia2_ant', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('observaciones_ant', 'string', 4000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4000,
             ));
        $this->hasColumn('motivo', 'string', 4000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4000,
             ));
    }

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