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

/**
 * BaseCN_DIAN_CATALOGO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_dian_catalogo
 * @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 $formato
 * @property string $cuenta
 * @property integer $cpt
 * @property string $auxiliar
 * @property integer $id_auxiliar
 * 
 * @method integer          getIdDianCatalogo()   Returns the current record's "id_dian_catalogo" value
 * @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           getFormato()          Returns the current record's "formato" value
 * @method string           getCuenta()           Returns the current record's "cuenta" value
 * @method integer          getCpt()              Returns the current record's "cpt" value
 * @method string           getAuxiliar()         Returns the current record's "auxiliar" value
 * @method integer          getIdAuxiliar()       Returns the current record's "id_auxiliar" value
 * @method CN_DIAN_CATALOGO setIdDianCatalogo()   Sets the current record's "id_dian_catalogo" value
 * @method CN_DIAN_CATALOGO setIdCia()            Sets the current record's "id_cia" value
 * @method CN_DIAN_CATALOGO setIdClaseCuenta()    Sets the current record's "id_clase_cuenta" value
 * @method CN_DIAN_CATALOGO setIdGrupoCuenta()    Sets the current record's "id_grupo_cuenta" value
 * @method CN_DIAN_CATALOGO setIdCuentaMayor()    Sets the current record's "id_cuenta_mayor" value
 * @method CN_DIAN_CATALOGO setIdCatalogo()       Sets the current record's "id_catalogo" value
 * @method CN_DIAN_CATALOGO setFormato()          Sets the current record's "formato" value
 * @method CN_DIAN_CATALOGO setCuenta()           Sets the current record's "cuenta" value
 * @method CN_DIAN_CATALOGO setCpt()              Sets the current record's "cpt" value
 * @method CN_DIAN_CATALOGO setAuxiliar()         Sets the current record's "auxiliar" value
 * @method CN_DIAN_CATALOGO setIdAuxiliar()       Sets the current record's "id_auxiliar" value
 * 
 * @package    Sofhouse
 * @subpackage model
 * @author     Software House
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCN_DIAN_CATALOGO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CN_DIAN_CATALOGO');
        $this->hasColumn('id_dian_catalogo', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_cia', '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_grupo_cuenta', '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_catalogo', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('formato', 'string', 4, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('cuenta', 'string', 6, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 6,
             ));
        $this->hasColumn('cpt', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('auxiliar', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_auxiliar', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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