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

/**
 * BaseNO_MODIFICA_RETEFUENTE
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_modifica_retefuente
 * @property integer $id_tipo_doc
 * @property string $num_doc
 * @property integer $id_concep_nomina
 * @property decimal $porcentaje
 * @property string $observaciones
 * @property timestamp $fecha
 * @property integer $id_periodo
 * 
 * @method integer                getIdModificaRetefuente()   Returns the current record's "id_modifica_retefuente" 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                getPorcentaje()             Returns the current record's "porcentaje" value
 * @method string                 getObservaciones()          Returns the current record's "observaciones" value
 * @method timestamp              getFecha()                  Returns the current record's "fecha" value
 * @method integer                getIdPeriodo()              Returns the current record's "id_periodo" value
 * @method NO_MODIFICA_RETEFUENTE setIdModificaRetefuente()   Sets the current record's "id_modifica_retefuente" value
 * @method NO_MODIFICA_RETEFUENTE setIdTipoDoc()              Sets the current record's "id_tipo_doc" value
 * @method NO_MODIFICA_RETEFUENTE setNumDoc()                 Sets the current record's "num_doc" value
 * @method NO_MODIFICA_RETEFUENTE setIdConcepNomina()         Sets the current record's "id_concep_nomina" value
 * @method NO_MODIFICA_RETEFUENTE setPorcentaje()             Sets the current record's "porcentaje" value
 * @method NO_MODIFICA_RETEFUENTE setObservaciones()          Sets the current record's "observaciones" value
 * @method NO_MODIFICA_RETEFUENTE setFecha()                  Sets the current record's "fecha" value
 * @method NO_MODIFICA_RETEFUENTE setIdPeriodo()              Sets the current record's "id_periodo" 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_MODIFICA_RETEFUENTE extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_MODIFICA_RETEFUENTE');
        $this->hasColumn('id_modifica_retefuente', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_tipo_doc', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_doc', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             '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('porcentaje', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('observaciones', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('fecha', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_periodo', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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