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

/**
 * BaseRH_NP_CON_NOM
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_con_nom
 * @property string $codigo
 * @property string $descripcion
 * @property string $desc_corta
 * @property string $operador
 * @property integer $id_con_nom_aju
 * @property integer $id_con_nom_rei
 * @property integer $id_mae_ter
 * @property integer $id_rubro
 * @property integer $id_proyecto
 * @property integer $id_tip_con
 * @property integer $estado
 * @property integer $afect_presup
 * @property integer $id_obj_gasto
 * 
 * @method integer       getIdConNom()       Returns the current record's "id_con_nom" value
 * @method string        getCodigo()         Returns the current record's "codigo" value
 * @method string        getDescripcion()    Returns the current record's "descripcion" value
 * @method string        getDescCorta()      Returns the current record's "desc_corta" value
 * @method string        getOperador()       Returns the current record's "operador" value
 * @method integer       getIdConNomAju()    Returns the current record's "id_con_nom_aju" value
 * @method integer       getIdConNomRei()    Returns the current record's "id_con_nom_rei" value
 * @method integer       getIdMaeTer()       Returns the current record's "id_mae_ter" value
 * @method integer       getIdRubro()        Returns the current record's "id_rubro" value
 * @method integer       getIdProyecto()     Returns the current record's "id_proyecto" value
 * @method integer       getIdTipCon()       Returns the current record's "id_tip_con" value
 * @method integer       getEstado()         Returns the current record's "estado" value
 * @method integer       getAfectPresup()    Returns the current record's "afect_presup" value
 * @method integer       getIdObjGasto()     Returns the current record's "id_obj_gasto" value
 * @method RH_NP_CON_NOM setIdConNom()       Sets the current record's "id_con_nom" value
 * @method RH_NP_CON_NOM setCodigo()         Sets the current record's "codigo" value
 * @method RH_NP_CON_NOM setDescripcion()    Sets the current record's "descripcion" value
 * @method RH_NP_CON_NOM setDescCorta()      Sets the current record's "desc_corta" value
 * @method RH_NP_CON_NOM setOperador()       Sets the current record's "operador" value
 * @method RH_NP_CON_NOM setIdConNomAju()    Sets the current record's "id_con_nom_aju" value
 * @method RH_NP_CON_NOM setIdConNomRei()    Sets the current record's "id_con_nom_rei" value
 * @method RH_NP_CON_NOM setIdMaeTer()       Sets the current record's "id_mae_ter" value
 * @method RH_NP_CON_NOM setIdRubro()        Sets the current record's "id_rubro" value
 * @method RH_NP_CON_NOM setIdProyecto()     Sets the current record's "id_proyecto" value
 * @method RH_NP_CON_NOM setIdTipCon()       Sets the current record's "id_tip_con" value
 * @method RH_NP_CON_NOM setEstado()         Sets the current record's "estado" value
 * @method RH_NP_CON_NOM setAfectPresup()    Sets the current record's "afect_presup" value
 * @method RH_NP_CON_NOM setIdObjGasto()     Sets the current record's "id_obj_gasto" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseRH_NP_CON_NOM extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_NP_CON_NOM');
        $this->hasColumn('id_con_nom', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('codigo', 'string', 4, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('descripcion', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('desc_corta', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('operador', 'string', 1, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('id_con_nom_aju', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_con_nom_rei', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_mae_ter', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_rubro', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_proyecto', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tip_con', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('afect_presup', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('id_obj_gasto', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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