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

/**
 * BaseNO_DED_NOLEY
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_ded_noley
 * @property integer $id_periodo
 * @property integer $id_tipo_doc
 * @property string $num_doc
 * @property integer $id_concep_nomina
 * @property integer $num_cuotas
 * @property integer $cuotas_desc
 * @property decimal $valor_cuota
 * @property decimal $porcentaje_cuota
 * @property decimal $saldo
 * @property timestamp $fecha_crea
 * @property timestamp $fecha_mod
 * @property integer $id_periodo_ini
 * @property integer $id_periodo_fin
 * @property integer $id_mae_ter
 * @property integer $estado
 * @property timestamp $fecha_anu
 * @property string $motivo_anu
 * 
 * @method integer      getIdDedNoley()       Returns the current record's "id_ded_noley" value
 * @method integer      getIdPeriodo()        Returns the current record's "id_periodo" 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      getIdConcepNomina()   Returns the current record's "id_concep_nomina" value
 * @method integer      getNumCuotas()        Returns the current record's "num_cuotas" value
 * @method integer      getCuotasDesc()       Returns the current record's "cuotas_desc" value
 * @method decimal      getValorCuota()       Returns the current record's "valor_cuota" value
 * @method decimal      getPorcentajeCuota()  Returns the current record's "porcentaje_cuota" value
 * @method decimal      getSaldo()            Returns the current record's "saldo" value
 * @method timestamp    getFechaCrea()        Returns the current record's "fecha_crea" value
 * @method timestamp    getFechaMod()         Returns the current record's "fecha_mod" value
 * @method integer      getIdPeriodoIni()     Returns the current record's "id_periodo_ini" value
 * @method integer      getIdPeriodoFin()     Returns the current record's "id_periodo_fin" value
 * @method integer      getIdMaeTer()         Returns the current record's "id_mae_ter" value
 * @method integer      getEstado()           Returns the current record's "estado" value
 * @method timestamp    getFechaAnu()         Returns the current record's "fecha_anu" value
 * @method string       getMotivoAnu()        Returns the current record's "motivo_anu" value
 * @method NO_DED_NOLEY setIdDedNoley()       Sets the current record's "id_ded_noley" value
 * @method NO_DED_NOLEY setIdPeriodo()        Sets the current record's "id_periodo" value
 * @method NO_DED_NOLEY setIdTipoDoc()        Sets the current record's "id_tipo_doc" value
 * @method NO_DED_NOLEY setNumDoc()           Sets the current record's "num_doc" value
 * @method NO_DED_NOLEY setIdConcepNomina()   Sets the current record's "id_concep_nomina" value
 * @method NO_DED_NOLEY setNumCuotas()        Sets the current record's "num_cuotas" value
 * @method NO_DED_NOLEY setCuotasDesc()       Sets the current record's "cuotas_desc" value
 * @method NO_DED_NOLEY setValorCuota()       Sets the current record's "valor_cuota" value
 * @method NO_DED_NOLEY setPorcentajeCuota()  Sets the current record's "porcentaje_cuota" value
 * @method NO_DED_NOLEY setSaldo()            Sets the current record's "saldo" value
 * @method NO_DED_NOLEY setFechaCrea()        Sets the current record's "fecha_crea" value
 * @method NO_DED_NOLEY setFechaMod()         Sets the current record's "fecha_mod" value
 * @method NO_DED_NOLEY setIdPeriodoIni()     Sets the current record's "id_periodo_ini" value
 * @method NO_DED_NOLEY setIdPeriodoFin()     Sets the current record's "id_periodo_fin" value
 * @method NO_DED_NOLEY setIdMaeTer()         Sets the current record's "id_mae_ter" value
 * @method NO_DED_NOLEY setEstado()           Sets the current record's "estado" value
 * @method NO_DED_NOLEY setFechaAnu()         Sets the current record's "fecha_anu" value
 * @method NO_DED_NOLEY setMotivoAnu()        Sets the current record's "motivo_anu" 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_DED_NOLEY extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_DED_NOLEY');
        $this->hasColumn('id_ded_noley', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_periodo', '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('id_concep_nomina', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_cuotas', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('cuotas_desc', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_cuota', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('porcentaje_cuota', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('saldo', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_crea', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_mod', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_periodo_ini', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_periodo_fin', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_mae_ter', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('fecha_anu', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('motivo_anu', 'string', 512, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 512,
             ));
    }

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