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

/**
 * BaseNO_AJUSTE_NOMINA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_ajuste_nomina
 * @property integer $id_tipo_doc
 * @property string $num_doc
 * @property integer $id_concep_nomina
 * @property integer $num_dias
 * @property decimal $valor_ajuste
 * @property integer $id_periodo
 * @property integer $id_periodo_ajuste
 * 
 * @method integer          getIdAjusteNomina()    Returns the current record's "id_ajuste_nomina" value
 * @method integer          getIdTipoDoc()         Returns the current record's "id_tipo_doc" value
 * @method string           getNumDoc()            Returns the current record's "num_doc" value
 * @method integer          getIdConcepNomina()    Returns the current record's "id_concep_nomina" value
 * @method integer          getNumDias()           Returns the current record's "num_dias" value
 * @method decimal          getValorAjuste()       Returns the current record's "valor_ajuste" value
 * @method integer          getIdPeriodo()         Returns the current record's "id_periodo" value
 * @method integer          getIdPeriodoAjuste()   Returns the current record's "id_periodo_ajuste" value
 * @method NO_AJUSTE_NOMINA setIdAjusteNomina()    Sets the current record's "id_ajuste_nomina" value
 * @method NO_AJUSTE_NOMINA setIdTipoDoc()         Sets the current record's "id_tipo_doc" value
 * @method NO_AJUSTE_NOMINA setNumDoc()            Sets the current record's "num_doc" value
 * @method NO_AJUSTE_NOMINA setIdConcepNomina()    Sets the current record's "id_concep_nomina" value
 * @method NO_AJUSTE_NOMINA setNumDias()           Sets the current record's "num_dias" value
 * @method NO_AJUSTE_NOMINA setValorAjuste()       Sets the current record's "valor_ajuste" value
 * @method NO_AJUSTE_NOMINA setIdPeriodo()         Sets the current record's "id_periodo" value
 * @method NO_AJUSTE_NOMINA setIdPeriodoAjuste()   Sets the current record's "id_periodo_ajuste" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseNO_AJUSTE_NOMINA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_AJUSTE_NOMINA');
        $this->hasColumn('id_ajuste_nomina', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_tipo_doc', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_doc', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_concep_nomina', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_dias', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_ajuste', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_periodo', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_periodo_ajuste', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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