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

/**
 * BaseCO_PROYECTO_EP
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_proyecto_ep
 * @property integer $id_cpo
 * @property integer $id_estudios_previos
 * @property decimal $valor
 * @property integer $sgr
 * 
 * @method integer        getIdProyectoEp()        Returns the current record's "id_proyecto_ep" value
 * @method integer        getIdCpo()               Returns the current record's "id_cpo" value
 * @method integer        getIdEstudiosPrevios()   Returns the current record's "id_estudios_previos" value
 * @method decimal        getValor()               Returns the current record's "valor" value
 * @method integer        getSgr()                 Returns the current record's "sgr" value
 * @method CO_PROYECTO_EP setIdProyectoEp()        Sets the current record's "id_proyecto_ep" value
 * @method CO_PROYECTO_EP setIdCpo()               Sets the current record's "id_cpo" value
 * @method CO_PROYECTO_EP setIdEstudiosPrevios()   Sets the current record's "id_estudios_previos" value
 * @method CO_PROYECTO_EP setValor()               Sets the current record's "valor" value
 * @method CO_PROYECTO_EP setSgr()                 Sets the current record's "sgr" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCO_PROYECTO_EP extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CO_PROYECTO_EP');
        $this->hasColumn('id_proyecto_ep', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_cpo', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_estudios_previos', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor', 'decimal', 20, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('sgr', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 1,
             ));
    }

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