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

/**
 * BaseCN_BALANCE_DETALLADO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property string $cuenta
 * @property string $auxiliar
 * @property string $subauxiliar
 * @property string $tercero
 * @property string $nombre_cuenta
 * @property float $saldo_anterior
 * @property float $mvto_debito
 * @property float $mvto_credito
 * @property float $nuevo_saldo
 * @property integer $id_cia
 * @property integer $id_cen_op
 * @property integer $id_vigencia
 * @property integer $id_periodo_contable
 * 
 * @method string               getCuenta()              Returns the current record's "cuenta" value
 * @method string               getAuxiliar()            Returns the current record's "auxiliar" value
 * @method string               getSubauxiliar()         Returns the current record's "subauxiliar" value
 * @method string               getTercero()             Returns the current record's "tercero" value
 * @method string               getNombreCuenta()        Returns the current record's "nombre_cuenta" value
 * @method float                getSaldoAnterior()       Returns the current record's "saldo_anterior" value
 * @method float                getMvtoDebito()          Returns the current record's "mvto_debito" value
 * @method float                getMvtoCredito()         Returns the current record's "mvto_credito" value
 * @method float                getNuevoSaldo()          Returns the current record's "nuevo_saldo" value
 * @method integer              getIdCia()               Returns the current record's "id_cia" value
 * @method integer              getIdCenOp()             Returns the current record's "id_cen_op" value
 * @method integer              getIdVigencia()          Returns the current record's "id_vigencia" value
 * @method integer              getIdPeriodoContable()   Returns the current record's "id_periodo_contable" value
 * @method CN_BALANCE_DETALLADO setCuenta()              Sets the current record's "cuenta" value
 * @method CN_BALANCE_DETALLADO setAuxiliar()            Sets the current record's "auxiliar" value
 * @method CN_BALANCE_DETALLADO setSubauxiliar()         Sets the current record's "subauxiliar" value
 * @method CN_BALANCE_DETALLADO setTercero()             Sets the current record's "tercero" value
 * @method CN_BALANCE_DETALLADO setNombreCuenta()        Sets the current record's "nombre_cuenta" value
 * @method CN_BALANCE_DETALLADO setSaldoAnterior()       Sets the current record's "saldo_anterior" value
 * @method CN_BALANCE_DETALLADO setMvtoDebito()          Sets the current record's "mvto_debito" value
 * @method CN_BALANCE_DETALLADO setMvtoCredito()         Sets the current record's "mvto_credito" value
 * @method CN_BALANCE_DETALLADO setNuevoSaldo()          Sets the current record's "nuevo_saldo" value
 * @method CN_BALANCE_DETALLADO setIdCia()               Sets the current record's "id_cia" value
 * @method CN_BALANCE_DETALLADO setIdCenOp()             Sets the current record's "id_cen_op" value
 * @method CN_BALANCE_DETALLADO setIdVigencia()          Sets the current record's "id_vigencia" value
 * @method CN_BALANCE_DETALLADO setIdPeriodoContable()   Sets the current record's "id_periodo_contable" value
 * 
 * @package    contab2
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
 */
abstract class BaseCN_BALANCE_DETALLADO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CN_BALANCE_DETALLADO');
        $this->hasColumn('cuenta', 'string', 32, array(
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 32,
             ));
        $this->hasColumn('auxiliar', 'string', 32, array(
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 32,
             ));
        $this->hasColumn('subauxiliar', 'string', 32, array(
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 32,
             ));
        $this->hasColumn('tercero', 'string', 32, array(
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 32,
             ));
        $this->hasColumn('nombre_cuenta', 'string', 128, array(
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 128,
             ));
        $this->hasColumn('saldo_anterior', 'float', 32, array(
             'type' => 'float',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 32,
             'scale' => '8',
             ));
        $this->hasColumn('mvto_debito', 'float', 32, array(
             'type' => 'float',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 32,
             'scale' => '8',
             ));
        $this->hasColumn('mvto_credito', 'float', 32, array(
             'type' => 'float',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 32,
             'scale' => '8',
             ));
        $this->hasColumn('nuevo_saldo', 'float', 32, array(
             'type' => 'float',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 32,
             'scale' => '8',
             ));
        $this->hasColumn('id_cia', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_cen_op', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_vigencia', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_periodo_contable', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
    }

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