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

/**
 * BaseNO_SMDLV
 * 
 * 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_SMDLV  setIdSmdlv()       Sets the current record's "id_smdlv" value
 * @method NO_SMDLV  setValorDia()      Sets the current record's "valor_dia" value
 * @method NO_SMDLV  setValorMensual()  Sets the current record's "valor_mensual" value
 * @method NO_SMDLV  setFechaIni()      Sets the current record's "fecha_ini" value
 * @method NO_SMDLV  setFechaFin()      Sets the current record's "fecha_fin" value
 * @method NO_SMDLV  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_SMDLV extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_SMDLV');
        $this->hasColumn('id_smdlv', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('valor_dia', 'decimal', 18, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0 ',
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('valor_mensual', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 18,
             ));
        $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('vigencia', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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