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

/**
 * BaseCN_RES_AUX_SUBC_M
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property string $boton
 * @property integer $id_clase_cuenta
 * @property integer $id_grupo_cuenta
 * @property integer $id_cuenta_mayor
 * @property integer $id_catalogo
 * @property integer $id_auxiliar
 * @property string $nombre_cuenta
 * @property string $cuenta
 * @property integer $auxiliar
 * @property integer $id_cia
 * @property integer $id_cen_op
 * @property string $vig_per
 * 
 * @method integer           getId()              Returns the current record's "id" value
 * @method string            getBoton()           Returns the current record's "boton" 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 string            getNombreCuenta()    Returns the current record's "nombre_cuenta" value
 * @method string            getCuenta()          Returns the current record's "cuenta" value
 * @method integer           getAuxiliar()        Returns the current record's "auxiliar" 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 string            getVigPer()          Returns the current record's "vig_per" value
 * @method CN_RES_AUX_SUBC_M setId()              Sets the current record's "id" value
 * @method CN_RES_AUX_SUBC_M setBoton()           Sets the current record's "boton" value
 * @method CN_RES_AUX_SUBC_M setIdClaseCuenta()   Sets the current record's "id_clase_cuenta" value
 * @method CN_RES_AUX_SUBC_M setIdGrupoCuenta()   Sets the current record's "id_grupo_cuenta" value
 * @method CN_RES_AUX_SUBC_M setIdCuentaMayor()   Sets the current record's "id_cuenta_mayor" value
 * @method CN_RES_AUX_SUBC_M setIdCatalogo()      Sets the current record's "id_catalogo" value
 * @method CN_RES_AUX_SUBC_M setIdAuxiliar()      Sets the current record's "id_auxiliar" value
 * @method CN_RES_AUX_SUBC_M setNombreCuenta()    Sets the current record's "nombre_cuenta" value
 * @method CN_RES_AUX_SUBC_M setCuenta()          Sets the current record's "cuenta" value
 * @method CN_RES_AUX_SUBC_M setAuxiliar()        Sets the current record's "auxiliar" value
 * @method CN_RES_AUX_SUBC_M setIdCia()           Sets the current record's "id_cia" value
 * @method CN_RES_AUX_SUBC_M setIdCenOp()         Sets the current record's "id_cen_op" value
 * @method CN_RES_AUX_SUBC_M setVigPer()          Sets the current record's "vig_per" value
 * 
 * @package    Sofhouse
 * @subpackage model
 * @author     Software House
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCN_RES_AUX_SUBC_M extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CN_RES_AUX_SUBC_M');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('boton', 'string', 5, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 5,
             ));
        $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('nombre_cuenta', 'string', 128, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 128,
             ));
        $this->hasColumn('cuenta', 'string', 6, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 6,
             ));
        $this->hasColumn('auxiliar', '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_cen_op', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('vig_per', 'string', 48, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 48,
             ));
    }

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