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

/**
 * BaseIN_CRIT_CALIF
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_crit_calif
 * @property string $descripcion
 * @property decimal $peso
 * @property integer $estado
 * @property string $observaciones
 * 
 * @method integer       getIdCritCalif()   Returns the current record's "id_crit_calif" value
 * @method string        getDescripcion()   Returns the current record's "descripcion" value
 * @method decimal       getPeso()          Returns the current record's "peso" value
 * @method integer       getEstado()        Returns the current record's "estado" value
 * @method string        getObservaciones() Returns the current record's "observaciones" value
 * @method IN_CRIT_CALIF setIdCritCalif()   Sets the current record's "id_crit_calif" value
 * @method IN_CRIT_CALIF setDescripcion()   Sets the current record's "descripcion" value
 * @method IN_CRIT_CALIF setPeso()          Sets the current record's "peso" value
 * @method IN_CRIT_CALIF setEstado()        Sets the current record's "estado" value
 * @method IN_CRIT_CALIF setObservaciones() Sets the current record's "observaciones" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseIN_CRIT_CALIF extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('IN_CRIT_CALIF');
        $this->hasColumn('id_crit_calif', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('descripcion', 'string', 256, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 256,
             ));
        $this->hasColumn('peso', 'decimal', 18, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('observaciones', 'string', 512, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 512,
             ));
    }

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