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

/**
 * BaseNO_NOV_NOMBRA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_nov_nombra
 * @property integer $id_tipo_doc
 * @property string $num_doc
 * @property integer $id_concep_nomina
 * @property decimal $valor
 * @property string $observaciones
 * @property timestamp $fecha
 * @property integer $id_periodo
 * 
 * @method integer       getIdNovNombra()      Returns the current record's "id_nov_nombra" 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 decimal       getValor()            Returns the current record's "valor" value
 * @method string        getObservaciones()    Returns the current record's "observaciones" value
 * @method timestamp     getFecha()            Returns the current record's "fecha" value
 * @method integer       getIdPeriodo()        Returns the current record's "id_periodo" value
 * @method NO_NOV_NOMBRA setIdNovNombra()      Sets the current record's "id_nov_nombra" value
 * @method NO_NOV_NOMBRA setIdTipoDoc()        Sets the current record's "id_tipo_doc" value
 * @method NO_NOV_NOMBRA setNumDoc()           Sets the current record's "num_doc" value
 * @method NO_NOV_NOMBRA setIdConcepNomina()   Sets the current record's "id_concep_nomina" value
 * @method NO_NOV_NOMBRA setValor()            Sets the current record's "valor" value
 * @method NO_NOV_NOMBRA setObservaciones()    Sets the current record's "observaciones" value
 * @method NO_NOV_NOMBRA setFecha()            Sets the current record's "fecha" value
 * @method NO_NOV_NOMBRA setIdPeriodo()        Sets the current record's "id_periodo" 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_NOV_NOMBRA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_NOV_NOMBRA');
        $this->hasColumn('id_nov_nombra', '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('valor', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('observaciones', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('fecha', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_periodo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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