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

/**
 * BaseACTIVIDAD_PRIVADA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_act_pri
 * @property integer $id_tipo_doc
 * @property string $num_doc
 * @property string $detalle
 * @property string $forma_participacion
 * 
 * @method integer           getIdActPri()            Returns the current record's "id_act_pri" value
 * @method integer           getIdTipoDoc()           Returns the current record's "id_tipo_doc" value
 * @method string            getNumDoc()              Returns the current record's "num_doc" value
 * @method string            getDetalle()             Returns the current record's "detalle" value
 * @method string            getFormaParticipacion()  Returns the current record's "forma_participacion" value
 * @method ACTIVIDAD_PRIVADA setIdActPri()            Sets the current record's "id_act_pri" value
 * @method ACTIVIDAD_PRIVADA setIdTipoDoc()           Sets the current record's "id_tipo_doc" value
 * @method ACTIVIDAD_PRIVADA setNumDoc()              Sets the current record's "num_doc" value
 * @method ACTIVIDAD_PRIVADA setDetalle()             Sets the current record's "detalle" value
 * @method ACTIVIDAD_PRIVADA setFormaParticipacion()  Sets the current record's "forma_participacion" value
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseACTIVIDAD_PRIVADA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('ACTIVIDAD_PRIVADA');
        $this->hasColumn('id_act_pri', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_tipo_doc', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_doc', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('detalle', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('forma_participacion', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
    }

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