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

/**
 * BaseNO_CONCEPTO_FUNC
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_concep_func
 * @property integer $id_tipo_doc
 * @property string $num_doc
 * @property integer $id_concep_nomina
 * @property decimal $valor
 * @property decimal $porcentaje
 * @property integer $estado
 * @property integer $actual
 * @property timestamp $fecha_desde
 * @property timestamp $fecha_hasta
 * 
 * @method integer          getIdConcepFunc()     Returns the current record's "id_concep_func" 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 decimal          getValor()            Returns the current record's "valor" value
 * @method decimal          getPorcentaje()       Returns the current record's "porcentaje" value
 * @method integer          getEstado()           Returns the current record's "estado" value
 * @method integer          getActual()           Returns the current record's "actual" value
 * @method timestamp        getFechaDesde()       Returns the current record's "fecha_desde" value
 * @method timestamp        getFechaHasta()       Returns the current record's "fecha_hasta" value
 * @method NO_CONCEPTO_FUNC setIdConcepFunc()     Sets the current record's "id_concep_func" value
 * @method NO_CONCEPTO_FUNC setIdTipoDoc()        Sets the current record's "id_tipo_doc" value
 * @method NO_CONCEPTO_FUNC setNumDoc()           Sets the current record's "num_doc" value
 * @method NO_CONCEPTO_FUNC setIdConcepNomina()   Sets the current record's "id_concep_nomina" value
 * @method NO_CONCEPTO_FUNC setValor()            Sets the current record's "valor" value
 * @method NO_CONCEPTO_FUNC setPorcentaje()       Sets the current record's "porcentaje" value
 * @method NO_CONCEPTO_FUNC setEstado()           Sets the current record's "estado" value
 * @method NO_CONCEPTO_FUNC setActual()           Sets the current record's "actual" value
 * @method NO_CONCEPTO_FUNC setFechaDesde()       Sets the current record's "fecha_desde" value
 * @method NO_CONCEPTO_FUNC setFechaHasta()       Sets the current record's "fecha_hasta" 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_CONCEPTO_FUNC extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_CONCEPTO_FUNC');
        $this->hasColumn('id_concep_func', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             '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('valor', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('porcentaje', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('actual', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('fecha_desde', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_hasta', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

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