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

/**
 * BaseNO_AUTORIZACION
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_autorizacion
 * @property integer $id_tipo_doc
 * @property string $num_doc
 * @property integer $id_periodo
 * @property timestamp $fecha_proceso
 * @property string $num_autorizacion
 * @property decimal $valor
 * @property integer $dias
 * @property integer $id_clase_fondo
 * @property decimal $aporte_eps
 * @property decimal $aporte_afp
 * 
 * @method integer         getIdAutorizacion()   Returns the current record's "id_autorizacion" 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         getIdPeriodo()        Returns the current record's "id_periodo" value
 * @method timestamp       getFechaProceso()     Returns the current record's "fecha_proceso" value
 * @method string          getNumAutorizacion()  Returns the current record's "num_autorizacion" value
 * @method decimal         getValor()            Returns the current record's "valor" value
 * @method integer         getDias()             Returns the current record's "dias" value
 * @method integer         getIdClaseFondo()     Returns the current record's "id_clase_fondo" value
 * @method decimal         getAporteEps()        Returns the current record's "aporte_eps" value
 * @method decimal         getAporteAfp()        Returns the current record's "aporte_afp" value
 * @method NO_AUTORIZACION setIdAutorizacion()   Sets the current record's "id_autorizacion" value
 * @method NO_AUTORIZACION setIdTipoDoc()        Sets the current record's "id_tipo_doc" value
 * @method NO_AUTORIZACION setNumDoc()           Sets the current record's "num_doc" value
 * @method NO_AUTORIZACION setIdPeriodo()        Sets the current record's "id_periodo" value
 * @method NO_AUTORIZACION setFechaProceso()     Sets the current record's "fecha_proceso" value
 * @method NO_AUTORIZACION setNumAutorizacion()  Sets the current record's "num_autorizacion" value
 * @method NO_AUTORIZACION setValor()            Sets the current record's "valor" value
 * @method NO_AUTORIZACION setDias()             Sets the current record's "dias" value
 * @method NO_AUTORIZACION setIdClaseFondo()     Sets the current record's "id_clase_fondo" value
 * @method NO_AUTORIZACION setAporteEps()        Sets the current record's "aporte_eps" value
 * @method NO_AUTORIZACION setAporteAfp()        Sets the current record's "aporte_afp" 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_AUTORIZACION extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_AUTORIZACION');
        $this->hasColumn('id_autorizacion', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_tipo_doc', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('num_doc', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_periodo', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_proceso', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('num_autorizacion', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('dias', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_clase_fondo', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('aporte_eps', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('aporte_afp', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 20,
             ));
    }

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