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

/**
 * BaseTER_TMP
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property string $nit
 * @property string $nombre
 * @property integer $salario
 * 
 * @method integer getId()      Returns the current record's "id" value
 * @method string  getNit()     Returns the current record's "nit" value
 * @method string  getNombre()  Returns the current record's "nombre" value
 * @method integer getSalario() Returns the current record's "salario" value
 * @method TER_TMP setId()      Sets the current record's "id" value
 * @method TER_TMP setNit()     Sets the current record's "nit" value
 * @method TER_TMP setNombre()  Sets the current record's "nombre" value
 * @method TER_TMP setSalario() Sets the current record's "salario" value
 * 
 * @package    contratacion
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTER_TMP extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TER_TMP');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('nit', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('nombre', 'string', 258, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 258,
             ));
        $this->hasColumn('salario', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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