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

/**
 * BaseNO_PERIODO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_periodo
 * @property integer $id_anhos
 * @property integer $id_meses
 * @property timestamp $fecha_ini
 * @property timestamp $fecha_fin
 * @property integer $id_tipo_periodo
 * @property integer $estado
 * @property timestamp $fecha_cierre
 * @property timestamp $fecha_cierre_nov
 * @property integer $activo
 * @property integer $max_ded_noley
 * @property timestamp $fecha_pago
 * @property string $num_doc_pago
 * @property string $nom_adicional
 * @property integer $definitivo
 * @property timestamp $fecha_definitivo
 * @property integer $id_mae_ter_definitivo
 * 
 * @method integer    getIdPeriodo()             Returns the current record's "id_periodo" value
 * @method integer    getIdAnhos()               Returns the current record's "id_anhos" value
 * @method integer    getIdMeses()               Returns the current record's "id_meses" value
 * @method timestamp  getFechaIni()              Returns the current record's "fecha_ini" value
 * @method timestamp  getFechaFin()              Returns the current record's "fecha_fin" value
 * @method integer    getIdTipoPeriodo()         Returns the current record's "id_tipo_periodo" value
 * @method integer    getEstado()                Returns the current record's "estado" value
 * @method timestamp  getFechaCierre()           Returns the current record's "fecha_cierre" value
 * @method timestamp  getFechaCierreNov()        Returns the current record's "fecha_cierre_nov" value
 * @method integer    getActivo()                Returns the current record's "activo" value
 * @method integer    getMaxDedNoley()           Returns the current record's "max_ded_noley" value
 * @method timestamp  getFechaPago()             Returns the current record's "fecha_pago" value
 * @method string     getNumDocPago()            Returns the current record's "num_doc_pago" value
 * @method string     getNomAdicional()          Returns the current record's "nom_adicional" value
 * @method integer    getDefinitivo()            Returns the current record's "definitivo" value
 * @method timestamp  getFechaDefinitivo()       Returns the current record's "fecha_definitivo" value
 * @method integer    getIdMaeTerDefinitivo()    Returns the current record's "id_mae_ter_definitivo" value
 * @method NO_PERIODO setIdPeriodo()             Sets the current record's "id_periodo" value
 * @method NO_PERIODO setIdAnhos()               Sets the current record's "id_anhos" value
 * @method NO_PERIODO setIdMeses()               Sets the current record's "id_meses" value
 * @method NO_PERIODO setFechaIni()              Sets the current record's "fecha_ini" value
 * @method NO_PERIODO setFechaFin()              Sets the current record's "fecha_fin" value
 * @method NO_PERIODO setIdTipoPeriodo()         Sets the current record's "id_tipo_periodo" value
 * @method NO_PERIODO setEstado()                Sets the current record's "estado" value
 * @method NO_PERIODO setFechaCierre()           Sets the current record's "fecha_cierre" value
 * @method NO_PERIODO setFechaCierreNov()        Sets the current record's "fecha_cierre_nov" value
 * @method NO_PERIODO setActivo()                Sets the current record's "activo" value
 * @method NO_PERIODO setMaxDedNoley()           Sets the current record's "max_ded_noley" value
 * @method NO_PERIODO setFechaPago()             Sets the current record's "fecha_pago" value
 * @method NO_PERIODO setNumDocPago()            Sets the current record's "num_doc_pago" value
 * @method NO_PERIODO setNomAdicional()          Sets the current record's "nom_adicional" value
 * @method NO_PERIODO setDefinitivo()            Sets the current record's "definitivo" value
 * @method NO_PERIODO setFechaDefinitivo()       Sets the current record's "fecha_definitivo" value
 * @method NO_PERIODO setIdMaeTerDefinitivo()    Sets the current record's "id_mae_ter_definitivo" 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_PERIODO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_PERIODO');
        $this->hasColumn('id_periodo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_anhos', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_meses', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_ini', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_fin', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_tipo_periodo', '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('fecha_cierre', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_cierre_nov', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('activo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1',
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('max_ded_noley', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_pago', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('num_doc_pago', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('nom_adicional', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('definitivo', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('fecha_definitivo', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_mae_ter_definitivo', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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