<?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
 * @property integer $numero_documento
 * @property timestamp $fecha_registro
 * @property timestamp $fecha_creacion
 * @property string $tipo_cdp
 * @property string $estado
 * @property string $dependencia
 * @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     getId()                      Returns the current record's "id" value
 * @method integer     getNumeroDocumento()         Returns the current record's "numero_documento" value
 * @method timestamp   getFechaRegistro()           Returns the current record's "fecha_registro" value
 * @method timestamp   getFechaCreacion()           Returns the current record's "fecha_creacion" value
 * @method string      getTipoCdp()                 Returns the current record's "tipo_cdp" value
 * @method string      getEstado()                  Returns the current record's "estado" value
 * @method string      getDependencia()             Returns the current record's "dependencia" 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 setId()                      Sets the current record's "id" 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 setFechaCreacion()           Sets the current record's "fecha_creacion" value
 * @method PR_CDP_SIIF setTipoCdp()                 Sets the current record's "tipo_cdp" value
 * @method PR_CDP_SIIF setEstado()                  Sets the current record's "estado" value
 * @method PR_CDP_SIIF setDependencia()             Sets the current record's "dependencia" 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    contratacion
 * @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', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $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' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_creacion', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('tipo_cdp', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('estado', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             '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('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();
        
    }
}