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

/**
 * BaseRH_SO_DISTRIBUCION_SECTOR
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_distribucion_sector
 * @property integer $id_sector
 * @property integer $id_oficina
 * @property integer $num_ocu_planta
 * @property integer $num_ocu_contrato
 * @property integer $total_fijo
 * @property integer $num_ocu_flotante
 * @property integer $maxima_esperada
 * @property string $vigencia
 * 
 * @method integer                   getIdDistribucionSector()   Returns the current record's "id_distribucion_sector" value
 * @method integer                   getIdSector()               Returns the current record's "id_sector" value
 * @method integer                   getIdOficina()              Returns the current record's "id_oficina" value
 * @method integer                   getNumOcuPlanta()           Returns the current record's "num_ocu_planta" value
 * @method integer                   getNumOcuContrato()         Returns the current record's "num_ocu_contrato" value
 * @method integer                   getTotalFijo()              Returns the current record's "total_fijo" value
 * @method integer                   getNumOcuFlotante()         Returns the current record's "num_ocu_flotante" value
 * @method integer                   getMaximaEsperada()         Returns the current record's "maxima_esperada" value
 * @method string                    getVigencia()               Returns the current record's "vigencia" value
 * @method RH_SO_DISTRIBUCION_SECTOR setIdDistribucionSector()   Sets the current record's "id_distribucion_sector" value
 * @method RH_SO_DISTRIBUCION_SECTOR setIdSector()               Sets the current record's "id_sector" value
 * @method RH_SO_DISTRIBUCION_SECTOR setIdOficina()              Sets the current record's "id_oficina" value
 * @method RH_SO_DISTRIBUCION_SECTOR setNumOcuPlanta()           Sets the current record's "num_ocu_planta" value
 * @method RH_SO_DISTRIBUCION_SECTOR setNumOcuContrato()         Sets the current record's "num_ocu_contrato" value
 * @method RH_SO_DISTRIBUCION_SECTOR setTotalFijo()              Sets the current record's "total_fijo" value
 * @method RH_SO_DISTRIBUCION_SECTOR setNumOcuFlotante()         Sets the current record's "num_ocu_flotante" value
 * @method RH_SO_DISTRIBUCION_SECTOR setMaximaEsperada()         Sets the current record's "maxima_esperada" value
 * @method RH_SO_DISTRIBUCION_SECTOR setVigencia()               Sets the current record's "vigencia" value
 * 
 * @package    cobro_coactivo
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseRH_SO_DISTRIBUCION_SECTOR extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_SO_DISTRIBUCION_SECTOR');
        $this->hasColumn('id_distribucion_sector', '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('id_oficina', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_ocu_planta', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_ocu_contrato', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('total_fijo', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_ocu_flotante', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('maxima_esperada', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('vigencia', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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