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

/**
 * BaseIN_CALIFICACION
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_calificacion
 * @property string $descripcion
 * @property integer $calificacion
 * @property Doctrine_Collection $IN_DET_PROV_CALIF
 * 
 * @method integer             getIdCalificacion()    Returns the current record's "id_calificacion" value
 * @method string              getDescripcion()       Returns the current record's "descripcion" value
 * @method integer             getCalificacion()      Returns the current record's "calificacion" value
 * @method Doctrine_Collection getINDETPROVCALIF()    Returns the current record's "IN_DET_PROV_CALIF" collection
 * @method IN_CALIFICACION     setIdCalificacion()    Sets the current record's "id_calificacion" value
 * @method IN_CALIFICACION     setDescripcion()       Sets the current record's "descripcion" value
 * @method IN_CALIFICACION     setCalificacion()      Sets the current record's "calificacion" value
 * @method IN_CALIFICACION     setINDETPROVCALIF()    Sets the current record's "IN_DET_PROV_CALIF" collection
 * 
 * @package    controlComisiones
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseIN_CALIFICACION extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('IN_CALIFICACION');
        $this->hasColumn('id_calificacion', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('descripcion', 'string', 100, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('calificacion', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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