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

/**
 * BaseNO_NOV_DED_ADIC
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_nov_dec_adic
 * @property integer $id_tipo_nov_ded_adic
 * @property integer $id_tipo_doc
 * @property string $num_doc
 * @property timestamp $fecha_ini
 * @property timestamp $fecha_fin
 * @property integer $estado
 * @property integer $tipo_doc_sop
 * @property string $num_doc_sop
 * @property timestamp $fecha_doc_sop
 * @property integer $tipo_doc_cierre
 * @property string $num_doc_cierre
 * @property timestamp $fecha_doc_cierre
 * @property string $observaciones_cierre
 * @property integer $id_periodo
 * 
 * @method integer         getIdNovDecAdic()         Returns the current record's "id_nov_dec_adic" value
 * @method integer         getIdTipoNovDedAdic()     Returns the current record's "id_tipo_nov_ded_adic" 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 timestamp       getFechaIni()             Returns the current record's "fecha_ini" value
 * @method timestamp       getFechaFin()             Returns the current record's "fecha_fin" value
 * @method integer         getEstado()               Returns the current record's "estado" value
 * @method integer         getTipoDocSop()           Returns the current record's "tipo_doc_sop" value
 * @method string          getNumDocSop()            Returns the current record's "num_doc_sop" value
 * @method timestamp       getFechaDocSop()          Returns the current record's "fecha_doc_sop" value
 * @method integer         getTipoDocCierre()        Returns the current record's "tipo_doc_cierre" value
 * @method string          getNumDocCierre()         Returns the current record's "num_doc_cierre" value
 * @method timestamp       getFechaDocCierre()       Returns the current record's "fecha_doc_cierre" value
 * @method string          getObservacionesCierre()  Returns the current record's "observaciones_cierre" value
 * @method integer         getIdPeriodo()            Returns the current record's "id_periodo" value
 * @method NO_NOV_DED_ADIC setIdNovDecAdic()         Sets the current record's "id_nov_dec_adic" value
 * @method NO_NOV_DED_ADIC setIdTipoNovDedAdic()     Sets the current record's "id_tipo_nov_ded_adic" value
 * @method NO_NOV_DED_ADIC setIdTipoDoc()            Sets the current record's "id_tipo_doc" value
 * @method NO_NOV_DED_ADIC setNumDoc()               Sets the current record's "num_doc" value
 * @method NO_NOV_DED_ADIC setFechaIni()             Sets the current record's "fecha_ini" value
 * @method NO_NOV_DED_ADIC setFechaFin()             Sets the current record's "fecha_fin" value
 * @method NO_NOV_DED_ADIC setEstado()               Sets the current record's "estado" value
 * @method NO_NOV_DED_ADIC setTipoDocSop()           Sets the current record's "tipo_doc_sop" value
 * @method NO_NOV_DED_ADIC setNumDocSop()            Sets the current record's "num_doc_sop" value
 * @method NO_NOV_DED_ADIC setFechaDocSop()          Sets the current record's "fecha_doc_sop" value
 * @method NO_NOV_DED_ADIC setTipoDocCierre()        Sets the current record's "tipo_doc_cierre" value
 * @method NO_NOV_DED_ADIC setNumDocCierre()         Sets the current record's "num_doc_cierre" value
 * @method NO_NOV_DED_ADIC setFechaDocCierre()       Sets the current record's "fecha_doc_cierre" value
 * @method NO_NOV_DED_ADIC setObservacionesCierre()  Sets the current record's "observaciones_cierre" value
 * @method NO_NOV_DED_ADIC setIdPeriodo()            Sets the current record's "id_periodo" 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_NOV_DED_ADIC extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_NOV_DED_ADIC');
        $this->hasColumn('id_nov_dec_adic', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_tipo_nov_ded_adic', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tipo_doc', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_doc', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_ini', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_fin', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('tipo_doc_sop', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_doc_sop', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_doc_sop', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('tipo_doc_cierre', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_doc_cierre', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_doc_cierre', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('observaciones_cierre', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('id_periodo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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