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

/**
 * BaseNO_CERTI_RETEFUENTE
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_certi_retefuente
 * @property integer $id_concep_nomina
 * @property integer $id_periodo
 * @property integer $id_tipo_doc
 * @property string $num_doc
 * @property integer $meses
 * @property decimal $valor_descuento
 * @property string $observaciones
 * @property decimal $porcentaje
 * @property integer $estado
 * @property timestamp $fecha_anu
 * @property string $motivo_anu
 * 
 * @method integer             getIdCertiRetefuente()   Returns the current record's "id_certi_retefuente" value
 * @method integer             getIdConcepNomina()      Returns the current record's "id_concep_nomina" 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             getMeses()               Returns the current record's "meses" value
 * @method decimal             getValorDescuento()      Returns the current record's "valor_descuento" value
 * @method string              getObservaciones()       Returns the current record's "observaciones" value
 * @method decimal             getPorcentaje()          Returns the current record's "porcentaje" 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 NO_CERTI_RETEFUENTE setIdCertiRetefuente()   Sets the current record's "id_certi_retefuente" value
 * @method NO_CERTI_RETEFUENTE setIdConcepNomina()      Sets the current record's "id_concep_nomina" value
 * @method NO_CERTI_RETEFUENTE setIdPeriodo()           Sets the current record's "id_periodo" value
 * @method NO_CERTI_RETEFUENTE setIdTipoDoc()           Sets the current record's "id_tipo_doc" value
 * @method NO_CERTI_RETEFUENTE setNumDoc()              Sets the current record's "num_doc" value
 * @method NO_CERTI_RETEFUENTE setMeses()               Sets the current record's "meses" value
 * @method NO_CERTI_RETEFUENTE setValorDescuento()      Sets the current record's "valor_descuento" value
 * @method NO_CERTI_RETEFUENTE setObservaciones()       Sets the current record's "observaciones" value
 * @method NO_CERTI_RETEFUENTE setPorcentaje()          Sets the current record's "porcentaje" value
 * @method NO_CERTI_RETEFUENTE setEstado()              Sets the current record's "estado" value
 * @method NO_CERTI_RETEFUENTE setFechaAnu()            Sets the current record's "fecha_anu" value
 * @method NO_CERTI_RETEFUENTE setMotivoAnu()           Sets the current record's "motivo_anu" 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_CERTI_RETEFUENTE extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_CERTI_RETEFUENTE');
        $this->hasColumn('id_certi_retefuente', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_concep_nomina', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_periodo', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             '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' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('meses', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_descuento', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('observaciones', 'string', 2000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2000,
             ));
        $this->hasColumn('porcentaje', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1',
             '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,
             ));
    }

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