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

/**
 * BasePR_PAC_NOVEDAD
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_novedad_pac
 * @property string $vigencia
 * @property integer $debito_anticipo
 * @property integer $debito_aplaza
 * @property integer $credito_anticipo
 * @property integer $credito_aplaza
 * @property integer $adicion
 * @property integer $reduccion
 * @property string $mes
 * @property timestamp $fecha_sys
 * @property string $usuario
 * @property timestamp $fecha_proceso
 * @property integer $tipo_novedad
 * @property string $justificacion
 * @property integer $vigencia_pac
 * @property integer $id_catalogo
 * @property integer $id_nivel_agrup
 * 
 * @method integer        getIdNovedadPac()     Returns the current record's "id_novedad_pac" value
 * @method string         getVigencia()         Returns the current record's "vigencia" value
 * @method integer        getDebitoAnticipo()   Returns the current record's "debito_anticipo" value
 * @method integer        getDebitoAplaza()     Returns the current record's "debito_aplaza" value
 * @method integer        getCreditoAnticipo()  Returns the current record's "credito_anticipo" value
 * @method integer        getCreditoAplaza()    Returns the current record's "credito_aplaza" value
 * @method integer        getAdicion()          Returns the current record's "adicion" value
 * @method integer        getReduccion()        Returns the current record's "reduccion" value
 * @method string         getMes()              Returns the current record's "mes" value
 * @method timestamp      getFechaSys()         Returns the current record's "fecha_sys" value
 * @method string         getUsuario()          Returns the current record's "usuario" value
 * @method timestamp      getFechaProceso()     Returns the current record's "fecha_proceso" value
 * @method integer        getTipoNovedad()      Returns the current record's "tipo_novedad" value
 * @method string         getJustificacion()    Returns the current record's "justificacion" value
 * @method integer        getVigenciaPac()      Returns the current record's "vigencia_pac" value
 * @method integer        getIdCatalogo()       Returns the current record's "id_catalogo" value
 * @method integer        getIdNivelAgrup()     Returns the current record's "id_nivel_agrup" value
 * @method PR_PAC_NOVEDAD setIdNovedadPac()     Sets the current record's "id_novedad_pac" value
 * @method PR_PAC_NOVEDAD setVigencia()         Sets the current record's "vigencia" value
 * @method PR_PAC_NOVEDAD setDebitoAnticipo()   Sets the current record's "debito_anticipo" value
 * @method PR_PAC_NOVEDAD setDebitoAplaza()     Sets the current record's "debito_aplaza" value
 * @method PR_PAC_NOVEDAD setCreditoAnticipo()  Sets the current record's "credito_anticipo" value
 * @method PR_PAC_NOVEDAD setCreditoAplaza()    Sets the current record's "credito_aplaza" value
 * @method PR_PAC_NOVEDAD setAdicion()          Sets the current record's "adicion" value
 * @method PR_PAC_NOVEDAD setReduccion()        Sets the current record's "reduccion" value
 * @method PR_PAC_NOVEDAD setMes()              Sets the current record's "mes" value
 * @method PR_PAC_NOVEDAD setFechaSys()         Sets the current record's "fecha_sys" value
 * @method PR_PAC_NOVEDAD setUsuario()          Sets the current record's "usuario" value
 * @method PR_PAC_NOVEDAD setFechaProceso()     Sets the current record's "fecha_proceso" value
 * @method PR_PAC_NOVEDAD setTipoNovedad()      Sets the current record's "tipo_novedad" value
 * @method PR_PAC_NOVEDAD setJustificacion()    Sets the current record's "justificacion" value
 * @method PR_PAC_NOVEDAD setVigenciaPac()      Sets the current record's "vigencia_pac" value
 * @method PR_PAC_NOVEDAD setIdCatalogo()       Sets the current record's "id_catalogo" value
 * @method PR_PAC_NOVEDAD setIdNivelAgrup()     Sets the current record's "id_nivel_agrup" value
 * 
 * @package    contratacion
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BasePR_PAC_NOVEDAD extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('PR_PAC_NOVEDAD');
        $this->hasColumn('id_novedad_pac', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('vigencia', 'string', 4, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('debito_anticipo', 'integer', 38, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('debito_aplaza', 'integer', 38, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('credito_anticipo', 'integer', 38, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('credito_aplaza', 'integer', 38, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('adicion', 'integer', 38, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('reduccion', 'integer', 38, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('mes', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_sys', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('usuario', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_proceso', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('tipo_novedad', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('justificacion', 'string', 1000, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('vigencia_pac', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_catalogo', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_nivel_agrup', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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