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

/**
 * BaseST_SALDOS
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_cia
 * @property integer $id_cen_op
 * @property integer $id_vigencia
 * @property integer $id_periodo_contable
 * @property integer $id_clase_cuenta
 * @property integer $id_grupo_cuenta
 * @property integer $id_cuenta_mayor
 * @property integer $id_catalogo
 * @property integer $id_mae_ter
 * @property integer $id_auxiliar
 * @property integer $id_sub_aux
 * @property integer $id_centro_costo
 * @property integer $id_sub_centro_costo
 * @property string $subcuenta
 * @property integer $saldo_anterior
 * @property integer $debito
 * @property integer $credito
 * @property integer $saldo_actual
 * 
 * @method integer   getId()                  Returns the current record's "id" 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 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   getIdMaeTer()            Returns the current record's "id_mae_ter" value
 * @method integer   getIdAuxiliar()          Returns the current record's "id_auxiliar" value
 * @method integer   getIdSubAux()            Returns the current record's "id_sub_aux" value
 * @method integer   getIdCentroCosto()       Returns the current record's "id_centro_costo" value
 * @method integer   getIdSubCentroCosto()    Returns the current record's "id_sub_centro_costo" value
 * @method string    getSubcuenta()           Returns the current record's "subcuenta" value
 * @method integer   getSaldoAnterior()       Returns the current record's "saldo_anterior" value
 * @method integer   getDebito()              Returns the current record's "debito" value
 * @method integer   getCredito()             Returns the current record's "credito" value
 * @method integer   getSaldoActual()         Returns the current record's "saldo_actual" value
 * @method ST_SALDOS setId()                  Sets the current record's "id" value
 * @method ST_SALDOS setIdCia()               Sets the current record's "id_cia" value
 * @method ST_SALDOS setIdCenOp()             Sets the current record's "id_cen_op" value
 * @method ST_SALDOS setIdVigencia()          Sets the current record's "id_vigencia" value
 * @method ST_SALDOS setIdPeriodoContable()   Sets the current record's "id_periodo_contable" value
 * @method ST_SALDOS setIdClaseCuenta()       Sets the current record's "id_clase_cuenta" value
 * @method ST_SALDOS setIdGrupoCuenta()       Sets the current record's "id_grupo_cuenta" value
 * @method ST_SALDOS setIdCuentaMayor()       Sets the current record's "id_cuenta_mayor" value
 * @method ST_SALDOS setIdCatalogo()          Sets the current record's "id_catalogo" value
 * @method ST_SALDOS setIdMaeTer()            Sets the current record's "id_mae_ter" value
 * @method ST_SALDOS setIdAuxiliar()          Sets the current record's "id_auxiliar" value
 * @method ST_SALDOS setIdSubAux()            Sets the current record's "id_sub_aux" value
 * @method ST_SALDOS setIdCentroCosto()       Sets the current record's "id_centro_costo" value
 * @method ST_SALDOS setIdSubCentroCosto()    Sets the current record's "id_sub_centro_costo" value
 * @method ST_SALDOS setSubcuenta()           Sets the current record's "subcuenta" value
 * @method ST_SALDOS setSaldoAnterior()       Sets the current record's "saldo_anterior" value
 * @method ST_SALDOS setDebito()              Sets the current record's "debito" value
 * @method ST_SALDOS setCredito()             Sets the current record's "credito" value
 * @method ST_SALDOS setSaldoActual()         Sets the current record's "saldo_actual" value
 * 
 * @package    Sofhouse
 * @subpackage model
 * @author     Software House
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseST_SALDOS extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('ST_SALDOS');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_cia', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_cen_op', '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,
             ));
        $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_mae_ter', '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_sub_aux', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_centro_costo', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_sub_centro_costo', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('subcuenta', 'string', 6, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 6,
             ));
        $this->hasColumn('saldo_anterior', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('debito', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('credito', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('saldo_actual', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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