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

/**
 * BaseCA_IMP_NOVEDAD_CARTERA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_imp_novedad_cartera
 * @property integer $id_tipo_novedad
 * @property integer $num_doc
 * @property integer $id_ts_td
 * @property timestamp $fecha_novedad
 * @property string $observaciones
 * @property integer $id_vencimiento
 * @property integer $id_debito
 * @property decimal $saldo
 * @property string $usuariolog
 * @property timestamp $fecha_log
 * 
 * @method integer                getIdImpNovedadCartera()    Returns the current record's "id_imp_novedad_cartera" value
 * @method integer                getIdTipoNovedad()          Returns the current record's "id_tipo_novedad" 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              getFechaNovedad()           Returns the current record's "fecha_novedad" value
 * @method string                 getObservaciones()          Returns the current record's "observaciones" value
 * @method integer                getIdVencimiento()          Returns the current record's "id_vencimiento" value
 * @method integer                getIdDebito()               Returns the current record's "id_debito" value
 * @method decimal                getSaldo()                  Returns the current record's "saldo" value
 * @method string                 getUsuariolog()             Returns the current record's "usuariolog" value
 * @method timestamp              getFechaLog()               Returns the current record's "fecha_log" value
 * @method CA_IMP_NOVEDAD_CARTERA setIdImpNovedadCartera()    Sets the current record's "id_imp_novedad_cartera" value
 * @method CA_IMP_NOVEDAD_CARTERA setIdTipoNovedad()          Sets the current record's "id_tipo_novedad" value
 * @method CA_IMP_NOVEDAD_CARTERA setNumDoc()                 Sets the current record's "num_doc" value
 * @method CA_IMP_NOVEDAD_CARTERA setIdTsTd()                 Sets the current record's "id_ts_td" value
 * @method CA_IMP_NOVEDAD_CARTERA setFechaNovedad()           Sets the current record's "fecha_novedad" value
 * @method CA_IMP_NOVEDAD_CARTERA setObservaciones()          Sets the current record's "observaciones" value
 * @method CA_IMP_NOVEDAD_CARTERA setIdVencimiento()          Sets the current record's "id_vencimiento" value
 * @method CA_IMP_NOVEDAD_CARTERA setIdDebito()               Sets the current record's "id_debito" value
 * @method CA_IMP_NOVEDAD_CARTERA setSaldo()                  Sets the current record's "saldo" value
 * @method CA_IMP_NOVEDAD_CARTERA setUsuariolog()             Sets the current record's "usuariolog" value
 * @method CA_IMP_NOVEDAD_CARTERA setFechaLog()               Sets the current record's "fecha_log" 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_IMP_NOVEDAD_CARTERA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CA_IMP_NOVEDAD_CARTERA');
        $this->hasColumn('id_imp_novedad_cartera', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_tipo_novedad', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $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', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_novedad', '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_vencimiento', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_debito', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('saldo', 'decimal', 20, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('usuariolog', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_log', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'default' => 'sysdate
                ',
             'primary' => false,
             'length' => 7,
             ));
    }

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