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

/**
 * BaseRH_SO_ACTIVIDAD
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_actividad
 * @property integer $id_cia
 * @property integer $id_cen_op
 * @property integer $id_area
 * @property integer $id_programa
 * @property string $nombre
 * @property integer $num_inscritos
 * @property string $descripcion
 * @property string $objetivo
 * @property integer $obligatoria
 * @property integer $cupo_maximo
 * @property integer $estado
 * @property timestamp $fecha_inicio
 * @property timestamp $fecha_fin
 * @property timestamp $inscripcion_inicio
 * @property timestamp $inscripcion_fin
 * @property integer $id_doc_responsable
 * @property string $num_doc_responsable
 * @property integer $presupuesto
 * @property integer $cdp
 * @property integer $id_cpo
 * @property string $usuariolog
 * @property timestamp $fechalog
 * 
 * @method integer         getIdActividad()         Returns the current record's "id_actividad" value
 * @method integer         getIdCia()               Returns the current record's "id_cia" value
 * @method integer         getIdCenOp()             Returns the current record's "id_cen_op" value
 * @method integer         getIdArea()              Returns the current record's "id_area" value
 * @method integer         getIdPrograma()          Returns the current record's "id_programa" value
 * @method string          getNombre()              Returns the current record's "nombre" value
 * @method integer         getNumInscritos()        Returns the current record's "num_inscritos" value
 * @method string          getDescripcion()         Returns the current record's "descripcion" value
 * @method string          getObjetivo()            Returns the current record's "objetivo" value
 * @method integer         getObligatoria()         Returns the current record's "obligatoria" value
 * @method integer         getCupoMaximo()          Returns the current record's "cupo_maximo" value
 * @method integer         getEstado()              Returns the current record's "estado" value
 * @method timestamp       getFechaInicio()         Returns the current record's "fecha_inicio" value
 * @method timestamp       getFechaFin()            Returns the current record's "fecha_fin" value
 * @method timestamp       getInscripcionInicio()   Returns the current record's "inscripcion_inicio" value
 * @method timestamp       getInscripcionFin()      Returns the current record's "inscripcion_fin" value
 * @method integer         getIdDocResponsable()    Returns the current record's "id_doc_responsable" value
 * @method string          getNumDocResponsable()   Returns the current record's "num_doc_responsable" value
 * @method integer         getPresupuesto()         Returns the current record's "presupuesto" value
 * @method integer         getCdp()                 Returns the current record's "cdp" value
 * @method integer         getIdCpo()               Returns the current record's "id_cpo" value
 * @method string          getUsuariolog()          Returns the current record's "usuariolog" value
 * @method timestamp       getFechalog()            Returns the current record's "fechalog" value
 * @method RH_SO_ACTIVIDAD setIdActividad()         Sets the current record's "id_actividad" value
 * @method RH_SO_ACTIVIDAD setIdCia()               Sets the current record's "id_cia" value
 * @method RH_SO_ACTIVIDAD setIdCenOp()             Sets the current record's "id_cen_op" value
 * @method RH_SO_ACTIVIDAD setIdArea()              Sets the current record's "id_area" value
 * @method RH_SO_ACTIVIDAD setIdPrograma()          Sets the current record's "id_programa" value
 * @method RH_SO_ACTIVIDAD setNombre()              Sets the current record's "nombre" value
 * @method RH_SO_ACTIVIDAD setNumInscritos()        Sets the current record's "num_inscritos" value
 * @method RH_SO_ACTIVIDAD setDescripcion()         Sets the current record's "descripcion" value
 * @method RH_SO_ACTIVIDAD setObjetivo()            Sets the current record's "objetivo" value
 * @method RH_SO_ACTIVIDAD setObligatoria()         Sets the current record's "obligatoria" value
 * @method RH_SO_ACTIVIDAD setCupoMaximo()          Sets the current record's "cupo_maximo" value
 * @method RH_SO_ACTIVIDAD setEstado()              Sets the current record's "estado" value
 * @method RH_SO_ACTIVIDAD setFechaInicio()         Sets the current record's "fecha_inicio" value
 * @method RH_SO_ACTIVIDAD setFechaFin()            Sets the current record's "fecha_fin" value
 * @method RH_SO_ACTIVIDAD setInscripcionInicio()   Sets the current record's "inscripcion_inicio" value
 * @method RH_SO_ACTIVIDAD setInscripcionFin()      Sets the current record's "inscripcion_fin" value
 * @method RH_SO_ACTIVIDAD setIdDocResponsable()    Sets the current record's "id_doc_responsable" value
 * @method RH_SO_ACTIVIDAD setNumDocResponsable()   Sets the current record's "num_doc_responsable" value
 * @method RH_SO_ACTIVIDAD setPresupuesto()         Sets the current record's "presupuesto" value
 * @method RH_SO_ACTIVIDAD setCdp()                 Sets the current record's "cdp" value
 * @method RH_SO_ACTIVIDAD setIdCpo()               Sets the current record's "id_cpo" value
 * @method RH_SO_ACTIVIDAD setUsuariolog()          Sets the current record's "usuariolog" value
 * @method RH_SO_ACTIVIDAD setFechalog()            Sets the current record's "fechalog" value
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseRH_SO_ACTIVIDAD extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_SO_ACTIVIDAD');
        $this->hasColumn('id_actividad', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_cia', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_cen_op', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_area', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_programa', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('nombre', 'string', 100, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('num_inscritos', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('descripcion', 'string', 500, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('objetivo', 'string', 500, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('obligatoria', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('cupo_maximo', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('estado', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_inicio', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_fin', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('inscripcion_inicio', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('inscripcion_fin', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_doc_responsable', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('num_doc_responsable', 'string', 45, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 45,
             ));
        $this->hasColumn('presupuesto', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('cdp', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_cpo', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('usuariolog', 'string', 45, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 45,
             ));
        $this->hasColumn('fechalog', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

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