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

/**
 * BaseST_MOVIMIENTO_CONTABLE
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_mov_cont
 * @property integer $id_documento
 * @property integer $id_cad
 * @property integer $id_vigencia
 * @property integer $id_cen_op
 * @property integer $id_cia
 * @property integer $id_catalogo
 * @property integer $id_cuenta_mayor
 * @property integer $id_grupo_cuenta
 * @property integer $id_clase_cuenta
 * @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 integer $debito
 * @property integer $credito
 * @property integer $valor_base
 * 
 * @method integer                getId()                  Returns the current record's "id" value
 * @method integer                getIdMovCont()           Returns the current record's "id_mov_cont" value
 * @method integer                getIdDocumento()         Returns the current record's "id_documento" value
 * @method integer                getIdCad()               Returns the current record's "id_cad" value
 * @method integer                getIdVigencia()          Returns the current record's "id_vigencia" value
 * @method integer                getIdCenOp()             Returns the current record's "id_cen_op" value
 * @method integer                getIdCia()               Returns the current record's "id_cia" value
 * @method integer                getIdCatalogo()          Returns the current record's "id_catalogo" value
 * @method integer                getIdCuentaMayor()       Returns the current record's "id_cuenta_mayor" value
 * @method integer                getIdGrupoCuenta()       Returns the current record's "id_grupo_cuenta" value
 * @method integer                getIdClaseCuenta()       Returns the current record's "id_clase_cuenta" 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 integer                getDebito()              Returns the current record's "debito" value
 * @method integer                getCredito()             Returns the current record's "credito" value
 * @method integer                getValorBase()           Returns the current record's "valor_base" value
 * @method ST_MOVIMIENTO_CONTABLE setId()                  Sets the current record's "id" value
 * @method ST_MOVIMIENTO_CONTABLE setIdMovCont()           Sets the current record's "id_mov_cont" value
 * @method ST_MOVIMIENTO_CONTABLE setIdDocumento()         Sets the current record's "id_documento" value
 * @method ST_MOVIMIENTO_CONTABLE setIdCad()               Sets the current record's "id_cad" value
 * @method ST_MOVIMIENTO_CONTABLE setIdVigencia()          Sets the current record's "id_vigencia" value
 * @method ST_MOVIMIENTO_CONTABLE setIdCenOp()             Sets the current record's "id_cen_op" value
 * @method ST_MOVIMIENTO_CONTABLE setIdCia()               Sets the current record's "id_cia" value
 * @method ST_MOVIMIENTO_CONTABLE setIdCatalogo()          Sets the current record's "id_catalogo" value
 * @method ST_MOVIMIENTO_CONTABLE setIdCuentaMayor()       Sets the current record's "id_cuenta_mayor" value
 * @method ST_MOVIMIENTO_CONTABLE setIdGrupoCuenta()       Sets the current record's "id_grupo_cuenta" value
 * @method ST_MOVIMIENTO_CONTABLE setIdClaseCuenta()       Sets the current record's "id_clase_cuenta" value
 * @method ST_MOVIMIENTO_CONTABLE setIdMaeTer()            Sets the current record's "id_mae_ter" value
 * @method ST_MOVIMIENTO_CONTABLE setIdAuxiliar()          Sets the current record's "id_auxiliar" value
 * @method ST_MOVIMIENTO_CONTABLE setIdSubAux()            Sets the current record's "id_sub_aux" value
 * @method ST_MOVIMIENTO_CONTABLE setIdCentroCosto()       Sets the current record's "id_centro_costo" value
 * @method ST_MOVIMIENTO_CONTABLE setIdSubCentroCosto()    Sets the current record's "id_sub_centro_costo" value
 * @method ST_MOVIMIENTO_CONTABLE setDebito()              Sets the current record's "debito" value
 * @method ST_MOVIMIENTO_CONTABLE setCredito()             Sets the current record's "credito" value
 * @method ST_MOVIMIENTO_CONTABLE setValorBase()           Sets the current record's "valor_base" value
 * 
 * @package    Sofhouse
 * @subpackage model
 * @author     Software House
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseST_MOVIMIENTO_CONTABLE extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('ST_MOVIMIENTO_CONTABLE');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_mov_cont', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_documento', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_cad', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_vigencia', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_cen_op', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_cia', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_catalogo', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_cuenta_mayor', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_grupo_cuenta', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_clase_cuenta', 'integer', 8, array(
             'notnull' => true,
             '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('debito', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0 ',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('credito', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0 ',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor_base', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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