<?php

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

/**
 * RVSP_FORMATO_FACTURA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_tipo_servicio
 * @property string $descripcion
 * 
 * @method integer          getIdTipoRegimen()   Returns the current record's "id_tipo_regimen" value
 * @method string           getDescripcion()     Returns the current record's "descripcion" value
 * @method RVC_TIPO_REGIMEN setIdTipoRegimen()   Sets the current record's "id_tipo_regimen" value
 * @method RVC_TIPO_REGIMEN setDescripcion()     Sets the current record's "descripcion" value
 * 
 * @package    ProyectoSchema
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
 */
abstract class BaseRVC_FORMATO_PAGO_ADJ extends sfDoctrineRecord {

    public function setTableDefinition() {
        $this->setTableName('RVC_FORMATO_PAGO_ADJ');
        $this->hasColumn('id', 'integer', 8, array(
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => true,
            'length' => 8,
        ));
        $this->hasColumn('id_formato_pago', 'integer', 8, array(
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 8,
        ));
        $this->hasColumn('nombre_adjunto', 'string', 200, array(
            'notnull' => true,
            'type' => 'string',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 200,
        ));
        $this->hasColumn('descripcion_adjunto', 'string', 4000, array(
            'notnull' => true,
            'type' => 'string',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 4000,
        ));
        $this->hasColumn('adjunto', 'string', 1000, array(
            'notnull' => false,
            'type' => 'string',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 1000,
        ));
        $this->hasColumn('usuario_log', 'string', 20, array(
            'notnull' => true,
            'type' => 'string',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
        $this->hasColumn('fecha_log', 'timestamp', 7, array(
            'notnull' => true,
            'type' => 'timestamp',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 7,
        ));
        $this->hasColumn('doc_soporte', 'string', 20, array(
            'notnull' => true,
            'type' => 'string',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
        $this->hasColumn('fecha_soporte', 'timestamp', 7, array(
            'notnull' => true,
            'type' => 'timestamp',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 7,
        ));
    }

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

}
