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

/**
 * BaseINTERCER_CLA_REG
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_cla_reg
 * @property string $nombre
 * @property Doctrine_Collection $INTERCER_REG
 * 
 * @method integer             getIdClaReg()     Returns the current record's "id_cla_reg" value
 * @method string              getNombre()       Returns the current record's "nombre" value
 * @method Doctrine_Collection getINTERCERREG()  Returns the current record's "INTERCER_REG" collection
 * @method INTERCER_CLA_REG    setIdClaReg()     Sets the current record's "id_cla_reg" value
 * @method INTERCER_CLA_REG    setNombre()       Sets the current record's "nombre" value
 * @method INTERCER_CLA_REG    setINTERCERREG()  Sets the current record's "INTERCER_REG" collection
 * 
 * @package    contratacion
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseINTERCER_CLA_REG extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('INTERCER_CLA_REG');
        $this->hasColumn('id_cla_reg', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('nombre', 'string', 200, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
    }

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