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

/**
 * BaseRH_SO_OFICINA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_oficina
 * @property integer $id_sector
 * @property string $descripcion
 * 
 * @method integer       getIdOficina()   Returns the current record's "id_oficina" value
 * @method integer       getIdSector()    Returns the current record's "id_sector" value
 * @method string        getDescripcion() Returns the current record's "descripcion" value
 * @method RH_SO_OFICINA setIdOficina()   Sets the current record's "id_oficina" value
 * @method RH_SO_OFICINA setIdSector()    Sets the current record's "id_sector" value
 * @method RH_SO_OFICINA setDescripcion() Sets the current record's "descripcion" 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_OFICINA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_SO_OFICINA');
        $this->hasColumn('id_oficina', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_sector', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('descripcion', 'string', 500, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
    }

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