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

/**
 * BaseCO_DETALLE_EP
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_detalle_ep
 * @property integer $id_estudios_previos
 * @property integer $id_campo_ep
 * @property string $valor
 * @property CO_ESTUDIOS_PREVIOS $CO_ESTUDIOS_PREVIOS
 * 
 * @method integer             getIdDetalleEp()         Returns the current record's "id_detalle_ep" value
 * @method integer             getIdEstudiosPrevios()   Returns the current record's "id_estudios_previos" value
 * @method integer             getIdCampoEp()           Returns the current record's "id_campo_ep" value
 * @method string              getValor()               Returns the current record's "valor" value
 * @method CO_ESTUDIOS_PREVIOS getCOESTUDIOSPREVIOS()   Returns the current record's "CO_ESTUDIOS_PREVIOS" value
 * @method CO_DETALLE_EP       setIdDetalleEp()         Sets the current record's "id_detalle_ep" value
 * @method CO_DETALLE_EP       setIdEstudiosPrevios()   Sets the current record's "id_estudios_previos" value
 * @method CO_DETALLE_EP       setIdCampoEp()           Sets the current record's "id_campo_ep" value
 * @method CO_DETALLE_EP       setValor()               Sets the current record's "valor" value
 * @method CO_DETALLE_EP       setCOESTUDIOSPREVIOS()   Sets the current record's "CO_ESTUDIOS_PREVIOS" value
 * 
 * @package    cobro_coactivo
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCO_DETALLE_EP extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CO_DETALLE_EP');
        $this->hasColumn('id_detalle_ep', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_estudios_previos', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_campo_ep', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor', 'string', 4000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4000,
             ));
    }

    public function setUp()
    {
        parent::setUp();
        $this->hasOne('CO_ESTUDIOS_PREVIOS', array(
             'local' => 'id_estudios_previos',
             'foreign' => 'id_estudios_previos'));
    }
}