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

/**
 * BaseIN_PROV_CALIF
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_prov_calif
 * @property integer $id_contrato
 * @property integer $id_vigencia
 * @property integer $id_cen_op
 * @property integer $id_mae_ter
 * @property timestamp $fecha_calif
 * @property string $observaciones
 * @property integer $estado
 * @property decimal $valor_total_puntaje
 * @property decimal $valor_total_porcentaje
 * 
 * @method integer       getIdProvCalif()            Returns the current record's "id_prov_calif" value
 * @method integer       getIdContrato()             Returns the current record's "id_contrato" value
 * @method integer       getIdVigencia()             Returns the current record's "id_vigencia" value
 * @method integer       getIdCenOp()                Returns the current record's "id_cen_op" value
 * @method integer       getIdMaeTer()               Returns the current record's "id_mae_ter" value
 * @method timestamp     getFechaCalif()             Returns the current record's "fecha_calif" value
 * @method string        getObservaciones()          Returns the current record's "observaciones" value
 * @method integer       getEstado()                 Returns the current record's "estado" value
 * @method decimal       getValorTotalPuntaje()      Returns the current record's "valor_total_puntaje" value
 * @method decimal       getValorTotalPorcentaje()   Returns the current record's "valor_total_porcentaje" value
 * @method IN_PROV_CALIF setIdProvCalif()            Sets the current record's "id_prov_calif" value
 * @method IN_PROV_CALIF setIdContrato()             Sets the current record's "id_contrato" value
 * @method IN_PROV_CALIF setIdVigencia()             Sets the current record's "id_vigencia" value
 * @method IN_PROV_CALIF setIdCenOp()                Sets the current record's "id_cen_op" value
 * @method IN_PROV_CALIF setIdMaeTer()               Sets the current record's "id_mae_ter" value
 * @method IN_PROV_CALIF setFechaCalif()             Sets the current record's "fecha_calif" value
 * @method IN_PROV_CALIF setObservaciones()          Sets the current record's "observaciones" value
 * @method IN_PROV_CALIF setEstado()                 Sets the current record's "estado" value
 * @method IN_PROV_CALIF setValorTotalPuntaje()      Sets the current record's "valor_total_puntaje" value
 * @method IN_PROV_CALIF setValorTotalPorcentaje()   Sets the current record's "valor_total_porcentaje" 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_PROV_CALIF extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('IN_PROV_CALIF');
        $this->hasColumn('id_prov_calif', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_contrato', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_vigencia', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_cen_op', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_mae_ter', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_calif', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'default' => 'NULL',
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('observaciones', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'default' => 'NULL',
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('valor_total_puntaje', 'decimal', 18, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('valor_total_porcentaje', 'decimal', 18, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 18,
             ));
    }

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