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

/**
 * BasePR_CDP_SIIF
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_cdp_siif
 * @property integer $numero_documento
 * @property timestamp $fecha_registro
 * @property integer $consecutivo
 * @property timestamp $fecha_creacion
 * @property integer $id_cdp
 * @property string $tipo_cdp
 * @property string $observaciones
 * @property string $estado
 * @property integer $valor_total
 * @property string $dependencia
 * @property string $vigencia
 * @property string $dependencia_descripcion
 * @property string $rubro
 * @property string $descripcion
 * @property string $fuente
 * @property string $recurso
 * @property string $sit
 * @property decimal $valor_inicial
 * @property decimal $valor_operaciones
 * @property decimal $valor_actual
 * @property decimal $saldo_comprometer
 * @property string $objeto
 * @property integer $solicitud_cdp
 * 
 * @method integer     getIdCdpSiif()               Returns the current record's "id_cdp_siif" value
 * @method integer     getNumeroDocumento()         Returns the current record's "numero_documento" value
 * @method timestamp   getFechaRegistro()           Returns the current record's "fecha_registro" value
 * @method integer     getConsecutivo()             Returns the current record's "consecutivo" value
 * @method timestamp   getFechaCreacion()           Returns the current record's "fecha_creacion" value
 * @method integer     getIdCdp()                   Returns the current record's "id_cdp" value
 * @method string      getTipoCdp()                 Returns the current record's "tipo_cdp" value
 * @method string      getObservaciones()           Returns the current record's "observaciones" value
 * @method string      getEstado()                  Returns the current record's "estado" value
 * @method integer     getValorTotal()              Returns the current record's "valor_total" value
 * @method string      getDependencia()             Returns the current record's "dependencia" value
 * @method string      getVigencia()                Returns the current record's "vigencia" value
 * @method string      getDependenciaDescripcion()  Returns the current record's "dependencia_descripcion" value
 * @method string      getRubro()                   Returns the current record's "rubro" value
 * @method string      getDescripcion()             Returns the current record's "descripcion" value
 * @method string      getFuente()                  Returns the current record's "fuente" value
 * @method string      getRecurso()                 Returns the current record's "recurso" value
 * @method string      getSit()                     Returns the current record's "sit" value
 * @method decimal     getValorInicial()            Returns the current record's "valor_inicial" value
 * @method decimal     getValorOperaciones()        Returns the current record's "valor_operaciones" value
 * @method decimal     getValorActual()             Returns the current record's "valor_actual" value
 * @method decimal     getSaldoComprometer()        Returns the current record's "saldo_comprometer" value
 * @method string      getObjeto()                  Returns the current record's "objeto" value
 * @method integer     getSolicitudCdp()            Returns the current record's "solicitud_cdp" value
 * @method PR_CDP_SIIF setIdCdpSiif()               Sets the current record's "id_cdp_siif" value
 * @method PR_CDP_SIIF setNumeroDocumento()         Sets the current record's "numero_documento" value
 * @method PR_CDP_SIIF setFechaRegistro()           Sets the current record's "fecha_registro" value
 * @method PR_CDP_SIIF setConsecutivo()             Sets the current record's "consecutivo" value
 * @method PR_CDP_SIIF setFechaCreacion()           Sets the current record's "fecha_creacion" value
 * @method PR_CDP_SIIF setIdCdp()                   Sets the current record's "id_cdp" value
 * @method PR_CDP_SIIF setTipoCdp()                 Sets the current record's "tipo_cdp" value
 * @method PR_CDP_SIIF setObservaciones()           Sets the current record's "observaciones" value
 * @method PR_CDP_SIIF setEstado()                  Sets the current record's "estado" value
 * @method PR_CDP_SIIF setValorTotal()              Sets the current record's "valor_total" value
 * @method PR_CDP_SIIF setDependencia()             Sets the current record's "dependencia" value
 * @method PR_CDP_SIIF setVigencia()                Sets the current record's "vigencia" value
 * @method PR_CDP_SIIF setDependenciaDescripcion()  Sets the current record's "dependencia_descripcion" value
 * @method PR_CDP_SIIF setRubro()                   Sets the current record's "rubro" value
 * @method PR_CDP_SIIF setDescripcion()             Sets the current record's "descripcion" value
 * @method PR_CDP_SIIF setFuente()                  Sets the current record's "fuente" value
 * @method PR_CDP_SIIF setRecurso()                 Sets the current record's "recurso" value
 * @method PR_CDP_SIIF setSit()                     Sets the current record's "sit" value
 * @method PR_CDP_SIIF setValorInicial()            Sets the current record's "valor_inicial" value
 * @method PR_CDP_SIIF setValorOperaciones()        Sets the current record's "valor_operaciones" value
 * @method PR_CDP_SIIF setValorActual()             Sets the current record's "valor_actual" value
 * @method PR_CDP_SIIF setSaldoComprometer()        Sets the current record's "saldo_comprometer" value
 * @method PR_CDP_SIIF setObjeto()                  Sets the current record's "objeto" value
 * @method PR_CDP_SIIF setSolicitudCdp()            Sets the current record's "solicitud_cdp" value
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BasePR_CDP_SIIF extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('PR_CDP_SIIF');
        $this->hasColumn('id_cdp_siif', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('numero_documento', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_registro', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('consecutivo', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_creacion', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_cdp', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('tipo_cdp', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('observaciones', 'string', 1000, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('estado', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_total', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('dependencia', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('vigencia', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('dependencia_descripcion', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('rubro', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('descripcion', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('fuente', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('recurso', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('sit', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_inicial', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_operaciones', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_actual', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('saldo_comprometer', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('objeto', 'string', 2000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2000,
             ));
        $this->hasColumn('solicitud_cdp', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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