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

/**
 * BaseCA_NC_SAFI
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_nc_safi
 * @property string $tipo_doc
 * @property integer $numero
 * @property string $tipo_debito
 * @property integer $num_debito
 * @property string $nit
 * @property string $beneficiario
 * @property decimal $valor_bruto
 * @property decimal $valor_abono
 * @property decimal $valor_moneda
 * @property decimal $trm_credito
 * @property decimal $diferencia_cambio
 * @property decimal $excedente
 * @property string $concepto
 * @property timestamp $fecha_credito
 * 
 * @method integer    getIdNcSafi()          Returns the current record's "id_nc_safi" value
 * @method string     getTipoDoc()           Returns the current record's "tipo_doc" value
 * @method integer    getNumero()            Returns the current record's "numero" value
 * @method string     getTipoDebito()        Returns the current record's "tipo_debito" value
 * @method integer    getNumDebito()         Returns the current record's "num_debito" value
 * @method string     getNit()               Returns the current record's "nit" value
 * @method string     getBeneficiario()      Returns the current record's "beneficiario" value
 * @method decimal    getValorBruto()        Returns the current record's "valor_bruto" value
 * @method decimal    getValorAbono()        Returns the current record's "valor_abono" value
 * @method decimal    getValorMoneda()       Returns the current record's "valor_moneda" value
 * @method decimal    getTrmCredito()        Returns the current record's "trm_credito" value
 * @method decimal    getDiferenciaCambio()  Returns the current record's "diferencia_cambio" value
 * @method decimal    getExcedente()         Returns the current record's "excedente" value
 * @method string     getConcepto()          Returns the current record's "concepto" value
 * @method timestamp  getFechaCredito()      Returns the current record's "fecha_credito" value
 * @method CA_NC_SAFI setIdNcSafi()          Sets the current record's "id_nc_safi" value
 * @method CA_NC_SAFI setTipoDoc()           Sets the current record's "tipo_doc" value
 * @method CA_NC_SAFI setNumero()            Sets the current record's "numero" value
 * @method CA_NC_SAFI setTipoDebito()        Sets the current record's "tipo_debito" value
 * @method CA_NC_SAFI setNumDebito()         Sets the current record's "num_debito" value
 * @method CA_NC_SAFI setNit()               Sets the current record's "nit" value
 * @method CA_NC_SAFI setBeneficiario()      Sets the current record's "beneficiario" value
 * @method CA_NC_SAFI setValorBruto()        Sets the current record's "valor_bruto" value
 * @method CA_NC_SAFI setValorAbono()        Sets the current record's "valor_abono" value
 * @method CA_NC_SAFI setValorMoneda()       Sets the current record's "valor_moneda" value
 * @method CA_NC_SAFI setTrmCredito()        Sets the current record's "trm_credito" value
 * @method CA_NC_SAFI setDiferenciaCambio()  Sets the current record's "diferencia_cambio" value
 * @method CA_NC_SAFI setExcedente()         Sets the current record's "excedente" value
 * @method CA_NC_SAFI setConcepto()          Sets the current record's "concepto" value
 * @method CA_NC_SAFI setFechaCredito()      Sets the current record's "fecha_credito" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCA_NC_SAFI extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CA_NC_SAFI');
        $this->hasColumn('id_nc_safi', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('tipo_doc', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('numero', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('tipo_debito', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_debito', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('nit', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('beneficiario', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('valor_bruto', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_abono', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_moneda', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('trm_credito', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('diferencia_cambio', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('excedente', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('concepto', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('fecha_credito', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

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