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

/**
 * BaseNO_NOVEDAD_PROCED_RETE
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_novedad_proced_rete
 * @property integer $id_tipo_doc
 * @property string $num_doc
 * @property integer $id_tipo_proced_rete
 * @property integer $id_periodo
 * @property string $observacion
 * @property timestamp $fecha_inicial
 * @property timestamp $fecha_terminacion
 * @property integer $declara_renta
 * @property integer $estado
 * 
 * @method integer                getIdNovedadProcedRete()    Returns the current record's "id_novedad_proced_rete" value
 * @method integer                getIdTipoDoc()              Returns the current record's "id_tipo_doc" value
 * @method string                 getNumDoc()                 Returns the current record's "num_doc" value
 * @method integer                getIdTipoProcedRete()       Returns the current record's "id_tipo_proced_rete" value
 * @method integer                getIdPeriodo()              Returns the current record's "id_periodo" value
 * @method string                 getObservacion()            Returns the current record's "observacion" value
 * @method timestamp              getFechaInicial()           Returns the current record's "fecha_inicial" value
 * @method timestamp              getFechaTerminacion()       Returns the current record's "fecha_terminacion" value
 * @method integer                getDeclaraRenta()           Returns the current record's "declara_renta" value
 * @method integer                getEstado()                 Returns the current record's "estado" value
 * @method NO_NOVEDAD_PROCED_RETE setIdNovedadProcedRete()    Sets the current record's "id_novedad_proced_rete" value
 * @method NO_NOVEDAD_PROCED_RETE setIdTipoDoc()              Sets the current record's "id_tipo_doc" value
 * @method NO_NOVEDAD_PROCED_RETE setNumDoc()                 Sets the current record's "num_doc" value
 * @method NO_NOVEDAD_PROCED_RETE setIdTipoProcedRete()       Sets the current record's "id_tipo_proced_rete" value
 * @method NO_NOVEDAD_PROCED_RETE setIdPeriodo()              Sets the current record's "id_periodo" value
 * @method NO_NOVEDAD_PROCED_RETE setObservacion()            Sets the current record's "observacion" value
 * @method NO_NOVEDAD_PROCED_RETE setFechaInicial()           Sets the current record's "fecha_inicial" value
 * @method NO_NOVEDAD_PROCED_RETE setFechaTerminacion()       Sets the current record's "fecha_terminacion" value
 * @method NO_NOVEDAD_PROCED_RETE setDeclaraRenta()           Sets the current record's "declara_renta" value
 * @method NO_NOVEDAD_PROCED_RETE setEstado()                 Sets the current record's "estado" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseNO_NOVEDAD_PROCED_RETE extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_NOVEDAD_PROCED_RETE');
        $this->hasColumn('id_novedad_proced_rete', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_tipo_doc', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('num_doc', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tipo_proced_rete', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_periodo', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('observacion', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('fecha_inicial', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_terminacion', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('declara_renta', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1
                ',
             'primary' => false,
             'length' => 1,
             ));
    }

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