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

/**
 * BaseTSGC_SAFI
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_pago_obl
 * @property integer $id_obligacion
 * @property integer $secuencia
 * @property integer $id_emision_pago
 * @property string $vigencia
 * @property integer $id_vigencia
 * @property decimal $valor
 * @property integer $id_medio_pago
 * @property integer $nro_orden_pago
 * @property string $nro_doc_medio
 * @property string $lote_no
 * @property integer $id_tercero
 * @property integer $id_rp
 * @property string $estado
 * @property integer $id_clase_pago
 * @property string $descripcion
 * @property string $nitocc
 * @property string $codban
 * @property string $cuenta
 * @property timestamp $fecha_pago
 * @property string $clacta
 * @property timestamp $fech_anu
 * @property string $tipo
 * @property decimal $vrbruto
 * @property decimal $vr_iva
 * @property decimal $vr_imp
 * @property decimal $vr_neto
 * @property string $observa
 * 
 * @method integer   getId()              Returns the current record's "id" value
 * @method integer   getIdPagoObl()       Returns the current record's "id_pago_obl" value
 * @method integer   getIdObligacion()    Returns the current record's "id_obligacion" value
 * @method integer   getSecuencia()       Returns the current record's "secuencia" value
 * @method integer   getIdEmisionPago()   Returns the current record's "id_emision_pago" value
 * @method string    getVigencia()        Returns the current record's "vigencia" value
 * @method integer   getIdVigencia()      Returns the current record's "id_vigencia" value
 * @method decimal   getValor()           Returns the current record's "valor" value
 * @method integer   getIdMedioPago()     Returns the current record's "id_medio_pago" value
 * @method integer   getNroOrdenPago()    Returns the current record's "nro_orden_pago" value
 * @method string    getNroDocMedio()     Returns the current record's "nro_doc_medio" value
 * @method string    getLoteNo()          Returns the current record's "lote_no" value
 * @method integer   getIdTercero()       Returns the current record's "id_tercero" value
 * @method integer   getIdRp()            Returns the current record's "id_rp" value
 * @method string    getEstado()          Returns the current record's "estado" value
 * @method integer   getIdClasePago()     Returns the current record's "id_clase_pago" value
 * @method string    getDescripcion()     Returns the current record's "descripcion" value
 * @method string    getNitocc()          Returns the current record's "nitocc" value
 * @method string    getCodban()          Returns the current record's "codban" value
 * @method string    getCuenta()          Returns the current record's "cuenta" value
 * @method timestamp getFechaPago()       Returns the current record's "fecha_pago" value
 * @method string    getClacta()          Returns the current record's "clacta" value
 * @method timestamp getFechAnu()         Returns the current record's "fech_anu" value
 * @method string    getTipo()            Returns the current record's "tipo" value
 * @method decimal   getVrbruto()         Returns the current record's "vrbruto" value
 * @method decimal   getVrIva()           Returns the current record's "vr_iva" value
 * @method decimal   getVrImp()           Returns the current record's "vr_imp" value
 * @method decimal   getVrNeto()          Returns the current record's "vr_neto" value
 * @method string    getObserva()         Returns the current record's "observa" value
 * @method TSGC_SAFI setId()              Sets the current record's "id" value
 * @method TSGC_SAFI setIdPagoObl()       Sets the current record's "id_pago_obl" value
 * @method TSGC_SAFI setIdObligacion()    Sets the current record's "id_obligacion" value
 * @method TSGC_SAFI setSecuencia()       Sets the current record's "secuencia" value
 * @method TSGC_SAFI setIdEmisionPago()   Sets the current record's "id_emision_pago" value
 * @method TSGC_SAFI setVigencia()        Sets the current record's "vigencia" value
 * @method TSGC_SAFI setIdVigencia()      Sets the current record's "id_vigencia" value
 * @method TSGC_SAFI setValor()           Sets the current record's "valor" value
 * @method TSGC_SAFI setIdMedioPago()     Sets the current record's "id_medio_pago" value
 * @method TSGC_SAFI setNroOrdenPago()    Sets the current record's "nro_orden_pago" value
 * @method TSGC_SAFI setNroDocMedio()     Sets the current record's "nro_doc_medio" value
 * @method TSGC_SAFI setLoteNo()          Sets the current record's "lote_no" value
 * @method TSGC_SAFI setIdTercero()       Sets the current record's "id_tercero" value
 * @method TSGC_SAFI setIdRp()            Sets the current record's "id_rp" value
 * @method TSGC_SAFI setEstado()          Sets the current record's "estado" value
 * @method TSGC_SAFI setIdClasePago()     Sets the current record's "id_clase_pago" value
 * @method TSGC_SAFI setDescripcion()     Sets the current record's "descripcion" value
 * @method TSGC_SAFI setNitocc()          Sets the current record's "nitocc" value
 * @method TSGC_SAFI setCodban()          Sets the current record's "codban" value
 * @method TSGC_SAFI setCuenta()          Sets the current record's "cuenta" value
 * @method TSGC_SAFI setFechaPago()       Sets the current record's "fecha_pago" value
 * @method TSGC_SAFI setClacta()          Sets the current record's "clacta" value
 * @method TSGC_SAFI setFechAnu()         Sets the current record's "fech_anu" value
 * @method TSGC_SAFI setTipo()            Sets the current record's "tipo" value
 * @method TSGC_SAFI setVrbruto()         Sets the current record's "vrbruto" value
 * @method TSGC_SAFI setVrIva()           Sets the current record's "vr_iva" value
 * @method TSGC_SAFI setVrImp()           Sets the current record's "vr_imp" value
 * @method TSGC_SAFI setVrNeto()          Sets the current record's "vr_neto" value
 * @method TSGC_SAFI setObserva()         Sets the current record's "observa" value
 * 
 * @package    cartera
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTSGC_SAFI extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TSGC_SAFI');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_pago_obl', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_obligacion', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('secuencia', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_emision_pago', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('vigencia', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('id_vigencia', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('id_medio_pago', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('nro_orden_pago', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('nro_doc_medio', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('lote_no', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tercero', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_rp', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('estado', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('id_clase_pago', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('descripcion', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('nitocc', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('codban', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('cuenta', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_pago', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('clacta', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fech_anu', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('tipo', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('vrbruto', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('vr_iva', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('vr_imp', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('vr_neto', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('observa', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
    }

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