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

/**
 * BaseDATOS_RP
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $tipo_funcionario
 * @property string $tipo_comision
 * @property string $tipo
 * @property string $comision1
 * @property string $comision2
 * 
 * @method integer  getId()               Returns the current record's "id" value
 * @method integer  getTipoFuncionario()  Returns the current record's "tipo_funcionario" value
 * @method string   getTipoComision()     Returns the current record's "tipo_comision" value
 * @method string   getTipo()             Returns the current record's "tipo" value
 * @method string   getComision1()        Returns the current record's "comision1" value
 * @method string   getComision2()        Returns the current record's "comision2" value
 * @method DATOS_RP setId()               Sets the current record's "id" value
 * @method DATOS_RP setTipoFuncionario()  Sets the current record's "tipo_funcionario" value
 * @method DATOS_RP setTipoComision()     Sets the current record's "tipo_comision" value
 * @method DATOS_RP setTipo()             Sets the current record's "tipo" value
 * @method DATOS_RP setComision1()        Sets the current record's "comision1" value
 * @method DATOS_RP setComision2()        Sets the current record's "comision2" value
 * 
 * @package    controlComisiones
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseDATOS_RP extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('DATOS_RP');
        $this->hasColumn('id', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('tipo_funcionario', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('tipo_comision', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('tipo', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('comision1', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('comision2', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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