<?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
 * 
 * @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 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
 * 
 * @package    contratacion
 * @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', 'integer', 20, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
        $this->hasColumn('sgr', 'integer', 1, array(
            'notnull' => false,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 1,
        ));
    }

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

}
