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

/**
 * BasePROYECTOS
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property string $ano_fiscal
 * @property string $descripcion
 * @property integer $id_area_lider
 * @property integer $valor_proyecto
 * @property string $codigo
 * @property integer $estado
 * @property integer $func_inv
 * @property integer $jefe_proyecto
 * @property integer $id_cdp_global
 * @property string $rubro
 * 
 * @method integer   getId()             Returns the current record's "id" value
 * @method string    getAnoFiscal()      Returns the current record's "ano_fiscal" value
 * @method string    getDescripcion()    Returns the current record's "descripcion" value
 * @method integer   getIdAreaLider()    Returns the current record's "id_area_lider" value
 * @method integer   getValorProyecto()  Returns the current record's "valor_proyecto" value
 * @method string    getCodigo()         Returns the current record's "codigo" value
 * @method integer   getEstado()         Returns the current record's "estado" value
 * @method integer   getFuncInv()        Returns the current record's "func_inv" value
 * @method integer   getJefeProyecto()   Returns the current record's "jefe_proyecto" value
 * @method integer   getIdCdpGlobal()    Returns the current record's "id_cdp_global" value
 * @method string    getRubro()          Returns the current record's "rubro" value
 * @method PROYECTOS setId()             Sets the current record's "id" value
 * @method PROYECTOS setAnoFiscal()      Sets the current record's "ano_fiscal" value
 * @method PROYECTOS setDescripcion()    Sets the current record's "descripcion" value
 * @method PROYECTOS setIdAreaLider()    Sets the current record's "id_area_lider" value
 * @method PROYECTOS setValorProyecto()  Sets the current record's "valor_proyecto" value
 * @method PROYECTOS setCodigo()         Sets the current record's "codigo" value
 * @method PROYECTOS setEstado()         Sets the current record's "estado" value
 * @method PROYECTOS setFuncInv()        Sets the current record's "func_inv" value
 * @method PROYECTOS setJefeProyecto()   Sets the current record's "jefe_proyecto" value
 * @method PROYECTOS setIdCdpGlobal()    Sets the current record's "id_cdp_global" value
 * @method PROYECTOS setRubro()          Sets the current record's "rubro" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BasePROYECTOS extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('PROYECTOS');
        $this->hasColumn('id', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('ano_fiscal', 'string', 4, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('descripcion', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('id_area_lider', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_proyecto', 'integer', 38, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('codigo', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('estado', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('func_inv', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0 ',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('jefe_proyecto', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_cdp_global', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('rubro', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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