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

/**
 * BaseCA_CESION_CARTERA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_cesion_cartera
 * @property integer $id_debito
 * @property timestamp $fecha_proceso
 * @property string $usuariolog
 * @property timestamp $fecha_log
 * @property integer $saldo
 * @property integer $num_doc
 * @property integer $id_ts_td
 * @property timestamp $fecha_doc
 * @property integer $id_mae_ter_ant
 * @property integer $id_mae_ter
 * @property string $observaciones
 * 
 * @method integer           getIdCesionCartera()   Returns the current record's "id_cesion_cartera" 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 integer           getSaldo()             Returns the current record's "saldo" value
 * @method integer           getNumDoc()            Returns the current record's "num_doc" value
 * @method integer           getIdTsTd()            Returns the current record's "id_ts_td" value
 * @method timestamp         getFechaDoc()          Returns the current record's "fecha_doc" value
 * @method integer           getIdMaeTerAnt()       Returns the current record's "id_mae_ter_ant" value
 * @method integer           getIdMaeTer()          Returns the current record's "id_mae_ter" value
 * @method string            getObservaciones()     Returns the current record's "observaciones" value
 * @method CA_CESION_CARTERA setIdCesionCartera()   Sets the current record's "id_cesion_cartera" value
 * @method CA_CESION_CARTERA setIdDebito()          Sets the current record's "id_debito" value
 * @method CA_CESION_CARTERA setFechaProceso()      Sets the current record's "fecha_proceso" value
 * @method CA_CESION_CARTERA setUsuariolog()        Sets the current record's "usuariolog" value
 * @method CA_CESION_CARTERA setFechaLog()          Sets the current record's "fecha_log" value
 * @method CA_CESION_CARTERA setSaldo()             Sets the current record's "saldo" value
 * @method CA_CESION_CARTERA setNumDoc()            Sets the current record's "num_doc" value
 * @method CA_CESION_CARTERA setIdTsTd()            Sets the current record's "id_ts_td" value
 * @method CA_CESION_CARTERA setFechaDoc()          Sets the current record's "fecha_doc" value
 * @method CA_CESION_CARTERA setIdMaeTerAnt()       Sets the current record's "id_mae_ter_ant" value
 * @method CA_CESION_CARTERA setIdMaeTer()          Sets the current record's "id_mae_ter" value
 * @method CA_CESION_CARTERA setObservaciones()     Sets the current record's "observaciones" 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_CARTERA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CA_CESION_CARTERA');
        $this->hasColumn('id_cesion_cartera', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_debito', '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('saldo', 'integer', 20, array(
             'notnull' => false,
             '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('id_ts_td', 'integer', 20, array(
             'notnull' => false,
             '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_mae_ter_ant', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_mae_ter', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('observaciones', 'string', 512, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 512,
             ));
    }

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