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

/**
 * BasePROVEEDOR
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_proveedor
 * @property string $no_contratacion
 * @property string $nit
 * @property string $nombre_capacitadores
 * @property string $nombre_temario
 * @property integer $id_actividad
 * @property string $nombre_proveedor
 * 
 * @method integer   getIdProveedor()          Returns the current record's "id_proveedor" value
 * @method string    getNoContratacion()       Returns the current record's "no_contratacion" value
 * @method string    getNit()                  Returns the current record's "nit" value
 * @method string    getNombreCapacitadores()  Returns the current record's "nombre_capacitadores" value
 * @method string    getNombreTemario()        Returns the current record's "nombre_temario" value
 * @method integer   getIdActividad()          Returns the current record's "id_actividad" value
 * @method string    getNombreProveedor()      Returns the current record's "nombre_proveedor" value
 * @method PROVEEDOR setIdProveedor()          Sets the current record's "id_proveedor" value
 * @method PROVEEDOR setNoContratacion()       Sets the current record's "no_contratacion" value
 * @method PROVEEDOR setNit()                  Sets the current record's "nit" value
 * @method PROVEEDOR setNombreCapacitadores()  Sets the current record's "nombre_capacitadores" value
 * @method PROVEEDOR setNombreTemario()        Sets the current record's "nombre_temario" value
 * @method PROVEEDOR setIdActividad()          Sets the current record's "id_actividad" value
 * @method PROVEEDOR setNombreProveedor()      Sets the current record's "nombre_proveedor" value
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BasePROVEEDOR extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('PROVEEDOR');
        $this->hasColumn('id_proveedor', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('no_contratacion', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('nit', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('nombre_capacitadores', 'string', 300, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 300,
             ));
        $this->hasColumn('nombre_temario', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('id_actividad', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('nombre_proveedor', 'string', 300, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 300,
             ));
    }

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