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

/**
 * BasePR_NOVEDAD_AFORO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_novedad_aforo
 * @property integer $id_numeral
 * @property string $vigencia
 * @property integer $adicion
 * @property integer $reduccion
 * @property integer $id_tipo_nov_aforo
 * @property timestamp $fecha_proceso
 * @property timestamp $fecha_sys
 * @property string $usuario
 * 
 * @method integer          getIdNovedadAforo()    Returns the current record's "id_novedad_aforo" value
 * @method integer          getIdNumeral()         Returns the current record's "id_numeral" value
 * @method string           getVigencia()          Returns the current record's "vigencia" value
 * @method integer          getAdicion()           Returns the current record's "adicion" value
 * @method integer          getReduccion()         Returns the current record's "reduccion" value
 * @method integer          getIdTipoNovAforo()    Returns the current record's "id_tipo_nov_aforo" value
 * @method timestamp        getFechaProceso()      Returns the current record's "fecha_proceso" value
 * @method timestamp        getFechaSys()          Returns the current record's "fecha_sys" value
 * @method string           getUsuario()           Returns the current record's "usuario" value
 * @method PR_NOVEDAD_AFORO setIdNovedadAforo()    Sets the current record's "id_novedad_aforo" value
 * @method PR_NOVEDAD_AFORO setIdNumeral()         Sets the current record's "id_numeral" value
 * @method PR_NOVEDAD_AFORO setVigencia()          Sets the current record's "vigencia" value
 * @method PR_NOVEDAD_AFORO setAdicion()           Sets the current record's "adicion" value
 * @method PR_NOVEDAD_AFORO setReduccion()         Sets the current record's "reduccion" value
 * @method PR_NOVEDAD_AFORO setIdTipoNovAforo()    Sets the current record's "id_tipo_nov_aforo" value
 * @method PR_NOVEDAD_AFORO setFechaProceso()      Sets the current record's "fecha_proceso" value
 * @method PR_NOVEDAD_AFORO setFechaSys()          Sets the current record's "fecha_sys" value
 * @method PR_NOVEDAD_AFORO setUsuario()           Sets the current record's "usuario" value
 * 
 * @package    cobro_coactivo
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BasePR_NOVEDAD_AFORO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('PR_NOVEDAD_AFORO');
        $this->hasColumn('id_novedad_aforo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_numeral', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('vigencia', 'string', 4, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('adicion', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('reduccion', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tipo_nov_aforo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_proceso', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_sys', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('usuario', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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