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

/**
 * BaseCO_CDPS_EP
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_cdps_ep
 * @property integer $id_estudios_previos
 * @property integer $id_cpo_ep
 * @property integer $id_cdp
 * @property integer $valor
 * @property integer $sgr
 * 
 * @method integer    getIdCdpsEp()            Returns the current record's "id_cdps_ep" value
 * @method integer    getIdEstudiosPrevios()   Returns the current record's "id_estudios_previos" value
 * @method integer    getIdCpoEp()             Returns the current record's "id_cpo_ep" value
 * @method integer    getIdCdp()               Returns the current record's "id_cdp" value
 * @method integer    getValor()               Returns the current record's "valor" value
 * @method integer    getSgr()                 Returns the current record's "sgr" value
 * @method CO_CDPS_EP setIdCdpsEp()            Sets the current record's "id_cdps_ep" value
 * @method CO_CDPS_EP setIdEstudiosPrevios()   Sets the current record's "id_estudios_previos" value
 * @method CO_CDPS_EP setIdCpoEp()             Sets the current record's "id_cpo_ep" value
 * @method CO_CDPS_EP setIdCdp()               Sets the current record's "id_cdp" value
 * @method CO_CDPS_EP setValor()               Sets the current record's "valor" value
 * @method CO_CDPS_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_CDPS_EP extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CO_CDPS_EP');
        $this->hasColumn('id_cdps_ep', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_estudios_previos', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_cpo_ep', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_cdp', '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' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 1,
             ));
    }

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