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

/**
 * BaseCN_SUBC_DIGITOS
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_cia
 * @property integer $id_clase_cuenta
 * @property integer $id_grupo_cuenta
 * @property integer $id_cuenta_mayor
 * @property integer $id_catalogo
 * @property string $digitos
 * @property string $nombre
 * @property integer $activo
 * @property integer $corriente
 * @property integer $usa_tercero
 * @property integer $usa_auxiliar
 * @property integer $usa_cen_cto
 * @property integer $usa_sub_cen_cto
 * 
 * @method integer         getIdCia()           Returns the current record's "id_cia" 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 string          getDigitos()         Returns the current record's "digitos" value
 * @method string          getNombre()          Returns the current record's "nombre" value
 * @method integer         getActivo()          Returns the current record's "activo" value
 * @method integer         getCorriente()       Returns the current record's "corriente" value
 * @method integer         getUsaTercero()      Returns the current record's "usa_tercero" value
 * @method integer         getUsaAuxiliar()     Returns the current record's "usa_auxiliar" value
 * @method integer         getUsaCenCto()       Returns the current record's "usa_cen_cto" value
 * @method integer         getUsaSubCenCto()    Returns the current record's "usa_sub_cen_cto" value
 * @method CN_SUBC_DIGITOS setIdCia()           Sets the current record's "id_cia" value
 * @method CN_SUBC_DIGITOS setIdClaseCuenta()   Sets the current record's "id_clase_cuenta" value
 * @method CN_SUBC_DIGITOS setIdGrupoCuenta()   Sets the current record's "id_grupo_cuenta" value
 * @method CN_SUBC_DIGITOS setIdCuentaMayor()   Sets the current record's "id_cuenta_mayor" value
 * @method CN_SUBC_DIGITOS setIdCatalogo()      Sets the current record's "id_catalogo" value
 * @method CN_SUBC_DIGITOS setDigitos()         Sets the current record's "digitos" value
 * @method CN_SUBC_DIGITOS setNombre()          Sets the current record's "nombre" value
 * @method CN_SUBC_DIGITOS setActivo()          Sets the current record's "activo" value
 * @method CN_SUBC_DIGITOS setCorriente()       Sets the current record's "corriente" value
 * @method CN_SUBC_DIGITOS setUsaTercero()      Sets the current record's "usa_tercero" value
 * @method CN_SUBC_DIGITOS setUsaAuxiliar()     Sets the current record's "usa_auxiliar" value
 * @method CN_SUBC_DIGITOS setUsaCenCto()       Sets the current record's "usa_cen_cto" value
 * @method CN_SUBC_DIGITOS setUsaSubCenCto()    Sets the current record's "usa_sub_cen_cto" 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_SUBC_DIGITOS extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CN_SUBC_DIGITOS');
        $this->hasColumn('id_cia', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_clase_cuenta', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_grupo_cuenta', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_cuenta_mayor', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_catalogo', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('digitos', 'string', 6, array(
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 6,
             ));
        $this->hasColumn('nombre', 'string', 128, array(
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 128,
             ));
        $this->hasColumn('activo', 'integer', 1, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('corriente', 'integer', 1, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('usa_tercero', 'integer', 1, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('usa_auxiliar', 'integer', 1, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('usa_cen_cto', 'integer', 1, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('usa_sub_cen_cto', 'integer', 1, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
    }

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