<?php

// Connection Component Binding
Doctrine_Manager::getInstance()->bindComponent('RVC_POSICION_CATALOGO_PAC', 'doctrine');

/**
 * BaseRVC_POSICION_CATALOGO_PAC
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_tipo_riesgo
 * @property string $codigo
 * @property string $descripcion
 * @property integer $valor
 * @property Doctrine_Collection $RVC_FORMATO_PAGO
 * 
 * @package    ProyectoSchema
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
 */
abstract class BaseRVC_POSICION_CATALOGO_PAC extends sfDoctrineRecord {

    public function setTableDefinition() {
        $this->setTableName('RVC_POSICION_CATALOGO_PAC');
        $this->hasColumn('id', 'integer', 8, array(
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => true,
            'length' => 8,
        ));
        $this->hasColumn('catalogo_gasto', 'string', 200, array(
            'notnull' => true,
            'type' => 'string',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 200,
        ));
        $this->hasColumn('numero_pac', 'string', 20, array(
            'notnull' => true,
            'type' => 'string',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
        $this->hasColumn('id_agrup_rec', 'integer', 8, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'default' => '0 ',
            'primary' => false,
            'length' => 8,
        ));
    }

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

}
