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

/**
 * BaseCA_CESION_CREDITO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_cesion_credito
 * @property integer $id_credito
 * @property timestamp $fecha_proceso
 * @property string $usuariolog
 * @property timestamp $fecha_log
 * @property integer $id_ts_td
 * @property integer $num_doc
 * @property timestamp $fecha_doc
 * @property integer $id_ts_td_ant
 * @property integer $num_doc_ant
 * @property timestamp $fecha_doc_ant
 * @property string $observaciones
 * @property integer $id_bn
 * @property integer $id_cb
 * @property string $oficina
 * @property string $observaciones_ant
 * @property integer $id_bn_ant
 * @property integer $id_cb_ant
 * @property string $oficina_ant
 * @property string $motivo
 * @property integer $id_con_credito
 * @property integer $id_con_credito_ant
 * 
 * @method integer           getIdCesionCredito()    Returns the current record's "id_cesion_credito" value
 * @method integer           getIdCredito()          Returns the current record's "id_credito" 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 integer           getIdTsTd()             Returns the current record's "id_ts_td" value
 * @method integer           getNumDoc()             Returns the current record's "num_doc" value
 * @method timestamp         getFechaDoc()           Returns the current record's "fecha_doc" value
 * @method integer           getIdTsTdAnt()          Returns the current record's "id_ts_td_ant" value
 * @method integer           getNumDocAnt()          Returns the current record's "num_doc_ant" value
 * @method timestamp         getFechaDocAnt()        Returns the current record's "fecha_doc_ant" value
 * @method string            getObservaciones()      Returns the current record's "observaciones" value
 * @method integer           getIdBn()               Returns the current record's "id_bn" value
 * @method integer           getIdCb()               Returns the current record's "id_cb" value
 * @method string            getOficina()            Returns the current record's "oficina" value
 * @method string            getObservacionesAnt()   Returns the current record's "observaciones_ant" value
 * @method integer           getIdBnAnt()            Returns the current record's "id_bn_ant" value
 * @method integer           getIdCbAnt()            Returns the current record's "id_cb_ant" value
 * @method string            getOficinaAnt()         Returns the current record's "oficina_ant" value
 * @method string            getMotivo()             Returns the current record's "motivo" value
 * @method integer           getIdConCredito()       Returns the current record's "id_con_credito" value
 * @method integer           getIdConCreditoAnt()    Returns the current record's "id_con_credito_ant" value
 * @method CA_CESION_CREDITO setIdCesionCredito()    Sets the current record's "id_cesion_credito" value
 * @method CA_CESION_CREDITO setIdCredito()          Sets the current record's "id_credito" value
 * @method CA_CESION_CREDITO setFechaProceso()       Sets the current record's "fecha_proceso" value
 * @method CA_CESION_CREDITO setUsuariolog()         Sets the current record's "usuariolog" value
 * @method CA_CESION_CREDITO setFechaLog()           Sets the current record's "fecha_log" value
 * @method CA_CESION_CREDITO setIdTsTd()             Sets the current record's "id_ts_td" value
 * @method CA_CESION_CREDITO setNumDoc()             Sets the current record's "num_doc" value
 * @method CA_CESION_CREDITO setFechaDoc()           Sets the current record's "fecha_doc" value
 * @method CA_CESION_CREDITO setIdTsTdAnt()          Sets the current record's "id_ts_td_ant" value
 * @method CA_CESION_CREDITO setNumDocAnt()          Sets the current record's "num_doc_ant" value
 * @method CA_CESION_CREDITO setFechaDocAnt()        Sets the current record's "fecha_doc_ant" value
 * @method CA_CESION_CREDITO setObservaciones()      Sets the current record's "observaciones" value
 * @method CA_CESION_CREDITO setIdBn()               Sets the current record's "id_bn" value
 * @method CA_CESION_CREDITO setIdCb()               Sets the current record's "id_cb" value
 * @method CA_CESION_CREDITO setOficina()            Sets the current record's "oficina" value
 * @method CA_CESION_CREDITO setObservacionesAnt()   Sets the current record's "observaciones_ant" value
 * @method CA_CESION_CREDITO setIdBnAnt()            Sets the current record's "id_bn_ant" value
 * @method CA_CESION_CREDITO setIdCbAnt()            Sets the current record's "id_cb_ant" value
 * @method CA_CESION_CREDITO setOficinaAnt()         Sets the current record's "oficina_ant" value
 * @method CA_CESION_CREDITO setMotivo()             Sets the current record's "motivo" value
 * @method CA_CESION_CREDITO setIdConCredito()       Sets the current record's "id_con_credito" value
 * @method CA_CESION_CREDITO setIdConCreditoAnt()    Sets the current record's "id_con_credito_ant" 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_CREDITO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CA_CESION_CREDITO');
        $this->hasColumn('id_cesion_credito', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_credito', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $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('id_ts_td', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_doc', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_doc', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_ts_td_ant', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_doc_ant', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_doc_ant', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('observaciones', 'string', 512, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 512,
             ));
        $this->hasColumn('id_bn', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_cb', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('oficina', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('observaciones_ant', 'string', 4000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4000,
             ));
        $this->hasColumn('id_bn_ant', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_cb_ant', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('oficina_ant', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('motivo', 'string', 4000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4000,
             ));
        $this->hasColumn('id_con_credito', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_con_credito_ant', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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