<?php

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

/**
 * BaseNO_RETENCION_MINIMA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_smdlv
 * @property decimal $valor_dia
 * @property decimal $valor_mensual
 * @property timestamp $fecha_ini
 * @property timestamp $fecha_fin
 * @property integer $vigencia
 * 
 * @method integer   getIdSmdlv()       Returns the current record's "id_smdlv" value
 * @method decimal   getValorDia()      Returns the current record's "valor_dia" value
 * @method decimal   getValorMensual()  Returns the current record's "valor_mensual" 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   getVigencia()      Returns the current record's "vigencia" value
 * @method NO_RETENCION_MINIMA  setIdSmdlv()       Sets the current record's "id_smdlv" value
 * @method NO_RETENCION_MINIMA  setValorDia()      Sets the current record's "valor_dia" value
 * @method NO_RETENCION_MINIMA  setValorMensual()  Sets the current record's "valor_mensual" value
 * @method NO_RETENCION_MINIMA  setFechaIni()      Sets the current record's "fecha_ini" value
 * @method NO_RETENCION_MINIMA  setFechaFin()      Sets the current record's "fecha_fin" value
 * @method NO_RETENCION_MINIMA  setVigencia()      Sets the current record's "vigencia" value
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseNO_RETENCION_MINIMA extends sfDoctrineRecord {

    public function setTableDefinition() {
        $this->setTableName('NO_RETENCION_MINIMA');
        $this->hasColumn('id_retencion_minima', 'integer', 8, array(
            'notnull' => false,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => true,
            'length' => 8,
        ));
        $this->hasColumn('id_anhos', 'integer', 8, array(
            'notnull' => false,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 8,
        ));
        $this->hasColumn('uvt_desde', 'decimal', 18, array(
            'notnull' => false,
            'type' => 'decimal',
            'fixed' => 0,
            'unsigned' => false,
            'default' => '0 ',
            'primary' => false,
            'length' => 18,
        ));
        $this->hasColumn('uvt_hasta', 'decimal', 18, array(
            'notnull' => false,
            'type' => 'decimal',
            'fixed' => 0,
            'unsigned' => false,
            'default' => '0',
            'primary' => false,
            'length' => 18,
        ));
        $this->hasColumn('rete_uvt', 'decimal', 18, array(
            'notnull' => false,
            'type' => 'decimal',
            'fixed' => 0,
            'unsigned' => false,
            'default' => '0',
            'primary' => false,
            'length' => 18,
        ));
    }

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

}
