<?php

// Connection Component Binding
Doctrine_Manager::getInstance()->bindComponent('RVC_DEDUC_VOLUN', 'doctrine');

/**
 * BaseRVC_DEDUC_VOLUN
 * 
 * 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
 * @property DATOS_FUNCIONARIO $DATOS_FUNCIONARIO
 * @property DATOS_FUNCIONARIO $DATOS_FUNCIONARIO_2
 * @property DATOS_FUNCIONARIO $DATOS_FUNCIONARIO_3
 * @property DATOS_FUNCIONARIO $DATOS_FUNCIONARIO_4
 * @property INTERCEROS $INTERCEROS
 * @property NO_CONCEP_NOMINA $NO_CONCEP_NOMINA
 * @property NO_PERIODO $NO_PERIODO
 * @property NO_PERIODO $NO_PERIODO_8
 * @property NO_PERIODO $NO_PERIODO_9
 * 
 * @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 DATOS_FUNCIONARIO getDATOSFUNCIONARIO()    Returns the current record's "DATOS_FUNCIONARIO" value
 * @method DATOS_FUNCIONARIO getDATOSFUNCIONARIO2()   Returns the current record's "DATOS_FUNCIONARIO_2" value
 * @method DATOS_FUNCIONARIO getDATOSFUNCIONARIO3()   Returns the current record's "DATOS_FUNCIONARIO_3" value
 * @method DATOS_FUNCIONARIO getDATOSFUNCIONARIO4()   Returns the current record's "DATOS_FUNCIONARIO_4" value
 * @method INTERCEROS        getINTERCEROS()          Returns the current record's "INTERCEROS" value
 * @method NO_CONCEP_NOMINA  getNOCONCEPNOMINA()      Returns the current record's "NO_CONCEP_NOMINA" value
 * @method NO_PERIODO        getNOPERIODO()           Returns the current record's "NO_PERIODO" value
 * @method NO_PERIODO        getNOPERIODO8()          Returns the current record's "NO_PERIODO_8" value
 * @method NO_PERIODO        getNOPERIODO9()          Returns the current record's "NO_PERIODO_9" value
 * @method RVC_DEDUC_VOLUN      setIdDedNoley()          Sets the current record's "id_ded_noley" value
 * @method RVC_DEDUC_VOLUN      setIdPeriodo()           Sets the current record's "id_periodo" value
 * @method RVC_DEDUC_VOLUN      setIdTipoDoc()           Sets the current record's "id_tipo_doc" value
 * @method RVC_DEDUC_VOLUN      setNumDoc()              Sets the current record's "num_doc" value
 * @method RVC_DEDUC_VOLUN      setIdConcepNomina()      Sets the current record's "id_concep_nomina" value
 * @method RVC_DEDUC_VOLUN      setNumCuotas()           Sets the current record's "num_cuotas" value
 * @method RVC_DEDUC_VOLUN      setCuotasDesc()          Sets the current record's "cuotas_desc" value
 * @method RVC_DEDUC_VOLUN      setValorCuota()          Sets the current record's "valor_cuota" value
 * @method RVC_DEDUC_VOLUN      setPorcentajeCuota()     Sets the current record's "porcentaje_cuota" value
 * @method RVC_DEDUC_VOLUN      setSaldo()               Sets the current record's "saldo" value
 * @method RVC_DEDUC_VOLUN      setFechaCrea()           Sets the current record's "fecha_crea" value
 * @method RVC_DEDUC_VOLUN      setFechaMod()            Sets the current record's "fecha_mod" value
 * @method RVC_DEDUC_VOLUN      setIdPeriodoIni()        Sets the current record's "id_periodo_ini" value
 * @method RVC_DEDUC_VOLUN      setIdPeriodoFin()        Sets the current record's "id_periodo_fin" value
 * @method RVC_DEDUC_VOLUN      setIdMaeTer()            Sets the current record's "id_mae_ter" value
 * @method RVC_DEDUC_VOLUN      setEstado()              Sets the current record's "estado" value
 * @method RVC_DEDUC_VOLUN      setFechaAnu()            Sets the current record's "fecha_anu" value
 * @method RVC_DEDUC_VOLUN      setMotivoAnu()           Sets the current record's "motivo_anu" value
 * @method RVC_DEDUC_VOLUN      setDATOSFUNCIONARIO()    Sets the current record's "DATOS_FUNCIONARIO" value
 * @method RVC_DEDUC_VOLUN      setDATOSFUNCIONARIO2()   Sets the current record's "DATOS_FUNCIONARIO_2" value
 * @method RVC_DEDUC_VOLUN      setDATOSFUNCIONARIO3()   Sets the current record's "DATOS_FUNCIONARIO_3" value
 * @method RVC_DEDUC_VOLUN      setDATOSFUNCIONARIO4()   Sets the current record's "DATOS_FUNCIONARIO_4" value
 * @method RVC_DEDUC_VOLUN      setINTERCEROS()          Sets the current record's "INTERCEROS" value
 * @method RVC_DEDUC_VOLUN      setNOCONCEPNOMINA()      Sets the current record's "NO_CONCEP_NOMINA" value
 * @method RVC_DEDUC_VOLUN      setNOPERIODO()           Sets the current record's "NO_PERIODO" value
 * @method RVC_DEDUC_VOLUN      setNOPERIODO8()          Sets the current record's "NO_PERIODO_8" value
 * @method RVC_DEDUC_VOLUN      setNOPERIODO9()          Sets the current record's "NO_PERIODO_9" value
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseRVC_DEDUC_VOLUN extends sfDoctrineRecord {

    public function setTableDefinition() {
        $this->setTableName('RVC_DEDUC_VOLUN');
        $this->hasColumn('id_deduc_volun', 'integer', 20, array(
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => true,
            'length' => 20,
        ));
        $this->hasColumn('id_contratista', 'integer', 20, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
        $this->hasColumn('id_concep_nomina', 'integer', 20, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
        $this->hasColumn('num_cuotas', 'integer', 20, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            '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('total_deduc', 'decimal', 20, array(
            'notnull' => true,
            'type' => 'decimal',
            'fixed' => 0,
            'unsigned' => false,
            'default' => '0 ',
            'primary' => false,
            'length' => 20,
        ));

        $this->hasColumn('fecha_crea', 'timestamp', 7, array(
            'notnull' => true,
            'type' => 'timestamp',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 7,
        ));
        $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' => true,
            '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,
        ));
        $this->hasColumn('cuenta_bancaria', 'integer', 20, array(
            'notnull' => false,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
        $this->hasColumn('id_ts_tc', 'integer', 20, array(
            'notnull' => false,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
        $this->hasColumn('aplica_descuento', 'integer', 1, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'default' => '1',
            'primary' => false,
            'length' => 1,
        ));
        $this->hasColumn('adjunto', 'string', 1000, array(
            'notnull' => false,
            'type' => 'string',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 1000,
        ));
    }

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

}
