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

/**
 * BaseCN_BALANCE_CONSOL_M
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_clase_cuenta
 * @property integer $id_grupo_cuenta
 * @property integer $id_cuenta_mayor
 * @property integer $id_catalogo
 * @property integer $id_auxiliar
 * @property integer $id_mae_ter
 * @property string $naturaleza
 * @property string $cuenta
 * @property string $auxiliar
 * @property string $subauxiliar
 * @property string $tercero
 * @property string $nombre_cuenta
 * @property integer $saldo_anterior
 * @property integer $mvto_debito
 * @property integer $mvto_credito
 * @property integer $nuevo_saldo
 * @property integer $id_cia
 * @property integer $id_vigencia
 * @property integer $id_periodo_contable
 * 
 * @method integer             getId()                  Returns the current record's "id" value
 * @method integer             getIdClaseCuenta()       Returns the current record's "id_clase_cuenta" value
 * @method integer             getIdGrupoCuenta()       Returns the current record's "id_grupo_cuenta" value
 * @method integer             getIdCuentaMayor()       Returns the current record's "id_cuenta_mayor" value
 * @method integer             getIdCatalogo()          Returns the current record's "id_catalogo" value
 * @method integer             getIdAuxiliar()          Returns the current record's "id_auxiliar" value
 * @method integer             getIdMaeTer()            Returns the current record's "id_mae_ter" value
 * @method string              getNaturaleza()          Returns the current record's "naturaleza" value
 * @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 integer             getSaldoAnterior()       Returns the current record's "saldo_anterior" value
 * @method integer             getMvtoDebito()          Returns the current record's "mvto_debito" value
 * @method integer             getMvtoCredito()         Returns the current record's "mvto_credito" value
 * @method integer             getNuevoSaldo()          Returns the current record's "nuevo_saldo" value
 * @method integer             getIdCia()               Returns the current record's "id_cia" 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_CONSOL_M setId()                  Sets the current record's "id" value
 * @method CN_BALANCE_CONSOL_M setIdClaseCuenta()       Sets the current record's "id_clase_cuenta" value
 * @method CN_BALANCE_CONSOL_M setIdGrupoCuenta()       Sets the current record's "id_grupo_cuenta" value
 * @method CN_BALANCE_CONSOL_M setIdCuentaMayor()       Sets the current record's "id_cuenta_mayor" value
 * @method CN_BALANCE_CONSOL_M setIdCatalogo()          Sets the current record's "id_catalogo" value
 * @method CN_BALANCE_CONSOL_M setIdAuxiliar()          Sets the current record's "id_auxiliar" value
 * @method CN_BALANCE_CONSOL_M setIdMaeTer()            Sets the current record's "id_mae_ter" value
 * @method CN_BALANCE_CONSOL_M setNaturaleza()          Sets the current record's "naturaleza" value
 * @method CN_BALANCE_CONSOL_M setCuenta()              Sets the current record's "cuenta" value
 * @method CN_BALANCE_CONSOL_M setAuxiliar()            Sets the current record's "auxiliar" value
 * @method CN_BALANCE_CONSOL_M setSubauxiliar()         Sets the current record's "subauxiliar" value
 * @method CN_BALANCE_CONSOL_M setTercero()             Sets the current record's "tercero" value
 * @method CN_BALANCE_CONSOL_M setNombreCuenta()        Sets the current record's "nombre_cuenta" value
 * @method CN_BALANCE_CONSOL_M setSaldoAnterior()       Sets the current record's "saldo_anterior" value
 * @method CN_BALANCE_CONSOL_M setMvtoDebito()          Sets the current record's "mvto_debito" value
 * @method CN_BALANCE_CONSOL_M setMvtoCredito()         Sets the current record's "mvto_credito" value
 * @method CN_BALANCE_CONSOL_M setNuevoSaldo()          Sets the current record's "nuevo_saldo" value
 * @method CN_BALANCE_CONSOL_M setIdCia()               Sets the current record's "id_cia" value
 * @method CN_BALANCE_CONSOL_M setIdVigencia()          Sets the current record's "id_vigencia" value
 * @method CN_BALANCE_CONSOL_M setIdPeriodoContable()   Sets the current record's "id_periodo_contable" value
 * 
 * @package    Sofhouse
 * @subpackage model
 * @author     Software House
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCN_BALANCE_CONSOL_M extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CN_BALANCE_CONSOL_M');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_clase_cuenta', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_grupo_cuenta', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_cuenta_mayor', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_catalogo', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_auxiliar', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_mae_ter', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('naturaleza', 'string', 1, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('cuenta', 'string', 16, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 16,
             ));
        $this->hasColumn('auxiliar', 'string', 3, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 3,
             ));
        $this->hasColumn('subauxiliar', 'string', 3, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 3,
             ));
        $this->hasColumn('tercero', 'string', 32, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 32,
             ));
        $this->hasColumn('nombre_cuenta', 'string', 128, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 128,
             ));
        $this->hasColumn('saldo_anterior', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('mvto_debito', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('mvto_credito', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('nuevo_saldo', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_cia', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_vigencia', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_periodo_contable', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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