<?php

// Connection Component Binding
Doctrine_Manager::getInstance()->bindComponent('CO_APRUEBA_EP', 'doctrine');

/**
 * BaseCO_APRUEBA_EP
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_aprueba_ep
 * @property integer $id_estudios_previos
 * @property timestamp $fecha_aprueba
 * @property string $observaciones
 * 
 * @method integer       getIdApruebaEp()         Returns the current record's "id_aprueba_ep" value
 * @method integer       getIdEstudiosPrevios()   Returns the current record's "id_estudios_previos" value
 * @method timestamp     getFechaAprueba()        Returns the current record's "fecha_aprueba" value
 * @method string        getObservaciones()       Returns the current record's "observaciones" value
 * @method CO_APRUEBA_EP setIdApruebaEp()         Sets the current record's "id_aprueba_ep" value
 * @method CO_APRUEBA_EP setIdEstudiosPrevios()   Sets the current record's "id_estudios_previos" value
 * @method CO_APRUEBA_EP setFechaAprueba()        Sets the current record's "fecha_aprueba" value
 * @method CO_APRUEBA_EP setObservaciones()       Sets the current record's "observaciones" 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_APRUEBA_EP extends sfDoctrineRecord {

    public function setTableDefinition() {
        $this->setTableName('CO_APRUEBA_EP');
        $this->hasColumn('id_aprueba_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('fecha_aprueba', 'timestamp', 7, array(
            'notnull' => true,
            'type' => 'timestamp',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 7,
        ));
        $this->hasColumn('observaciones', 'string', 500, array(
            'notnull' => true,
            'type' => 'string',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 500,
        ));
        $this->hasColumn('id_usuario_aprueba', 'integer', 20, array(
            'notnull' => false,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
    }

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

}
