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

/**
 * BaseTS_OBLIGA_SIIF_NOM_GEN
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $consecutivo
 * @property string $tipo_documento
 * @property string $documento
 * @property string $medio_pago
 * @property string $tipo_doc_entidad
 * @property string $nit_entidad_banco
 * @property string $tipo_cuenta_banco
 * @property string $numero_cuenta_banco
 * @property integer $valor_total
 * @property integer $valor_deducciones
 * @property integer $valor_neto
 * @property integer $id_periodo
 * @property integer $clase_planta
 * @property integer $clase_pago
 * @property integer $id_rp
 * @property integer $id_cxp
 * @property string $usuario
 * 
 * @method integer                getId()                  Returns the current record's "id" value
 * @method integer                getConsecutivo()         Returns the current record's "consecutivo" value
 * @method string                 getTipoDocumento()       Returns the current record's "tipo_documento" value
 * @method string                 getDocumento()           Returns the current record's "documento" value
 * @method string                 getMedioPago()           Returns the current record's "medio_pago" value
 * @method string                 getTipoDocEntidad()      Returns the current record's "tipo_doc_entidad" value
 * @method string                 getNitEntidadBanco()     Returns the current record's "nit_entidad_banco" value
 * @method string                 getTipoCuentaBanco()     Returns the current record's "tipo_cuenta_banco" value
 * @method string                 getNumeroCuentaBanco()   Returns the current record's "numero_cuenta_banco" value
 * @method integer                getValorTotal()          Returns the current record's "valor_total" value
 * @method integer                getValorDeducciones()    Returns the current record's "valor_deducciones" value
 * @method integer                getValorNeto()           Returns the current record's "valor_neto" value
 * @method integer                getIdPeriodo()           Returns the current record's "id_periodo" value
 * @method integer                getClasePlanta()         Returns the current record's "clase_planta" value
 * @method integer                getClasePago()           Returns the current record's "clase_pago" value
 * @method integer                getIdRp()                Returns the current record's "id_rp" value
 * @method integer                getIdCxp()               Returns the current record's "id_cxp" value
 * @method string                 getUsuario()             Returns the current record's "usuario" value
 * @method TS_OBLIGA_SIIF_NOM_GEN setId()                  Sets the current record's "id" value
 * @method TS_OBLIGA_SIIF_NOM_GEN setConsecutivo()         Sets the current record's "consecutivo" value
 * @method TS_OBLIGA_SIIF_NOM_GEN setTipoDocumento()       Sets the current record's "tipo_documento" value
 * @method TS_OBLIGA_SIIF_NOM_GEN setDocumento()           Sets the current record's "documento" value
 * @method TS_OBLIGA_SIIF_NOM_GEN setMedioPago()           Sets the current record's "medio_pago" value
 * @method TS_OBLIGA_SIIF_NOM_GEN setTipoDocEntidad()      Sets the current record's "tipo_doc_entidad" value
 * @method TS_OBLIGA_SIIF_NOM_GEN setNitEntidadBanco()     Sets the current record's "nit_entidad_banco" value
 * @method TS_OBLIGA_SIIF_NOM_GEN setTipoCuentaBanco()     Sets the current record's "tipo_cuenta_banco" value
 * @method TS_OBLIGA_SIIF_NOM_GEN setNumeroCuentaBanco()   Sets the current record's "numero_cuenta_banco" value
 * @method TS_OBLIGA_SIIF_NOM_GEN setValorTotal()          Sets the current record's "valor_total" value
 * @method TS_OBLIGA_SIIF_NOM_GEN setValorDeducciones()    Sets the current record's "valor_deducciones" value
 * @method TS_OBLIGA_SIIF_NOM_GEN setValorNeto()           Sets the current record's "valor_neto" value
 * @method TS_OBLIGA_SIIF_NOM_GEN setIdPeriodo()           Sets the current record's "id_periodo" value
 * @method TS_OBLIGA_SIIF_NOM_GEN setClasePlanta()         Sets the current record's "clase_planta" value
 * @method TS_OBLIGA_SIIF_NOM_GEN setClasePago()           Sets the current record's "clase_pago" value
 * @method TS_OBLIGA_SIIF_NOM_GEN setIdRp()                Sets the current record's "id_rp" value
 * @method TS_OBLIGA_SIIF_NOM_GEN setIdCxp()               Sets the current record's "id_cxp" value
 * @method TS_OBLIGA_SIIF_NOM_GEN setUsuario()             Sets the current record's "usuario" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTS_OBLIGA_SIIF_NOM_GEN extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_OBLIGA_SIIF_NOM_GEN');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('consecutivo', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('tipo_documento', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('documento', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('medio_pago', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('tipo_doc_entidad', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('nit_entidad_banco', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('tipo_cuenta_banco', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('numero_cuenta_banco', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_total', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor_deducciones', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor_neto', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_periodo', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('clase_planta', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('clase_pago', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_rp', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_cxp', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('usuario', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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