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

/**
 * BaseRMN_TIPO_CAPTURA_AREA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_tipo_captura_area
 * @property string $nombre
 * @property Doctrine_Collection $RMN_SOLICITUD
 * 
 * @method integer               getIdTipoCapturaArea()    Returns the current record's "id_tipo_captura_area" value
 * @method string                getNombre()               Returns the current record's "nombre" value
 * @method Doctrine_Collection   getRMNSOLICITUD()         Returns the current record's "RMN_SOLICITUD" collection
 * @method RMN_TIPO_CAPTURA_AREA setIdTipoCapturaArea()    Sets the current record's "id_tipo_captura_area" value
 * @method RMN_TIPO_CAPTURA_AREA setNombre()               Sets the current record's "nombre" value
 * @method RMN_TIPO_CAPTURA_AREA setRMNSOLICITUD()         Sets the current record's "RMN_SOLICITUD" collection
 * 
 * @package    canon
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseRMN_TIPO_CAPTURA_AREA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RMN_TIPO_CAPTURA_AREA');
        $this->hasColumn('id_tipo_captura_area', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('nombre', 'string', 100, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
    }

    public function setUp()
    {
        parent::setUp();
        $this->hasMany('RMN_SOLICITUD', array(
             'local' => 'id_tipo_captura_area',
             'foreign' => 'id_tipo_captura_area'));
    }
}