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

/**
 * BaseNO_NOVEDAD_PERSONAL
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_novedad_personal
 * @property integer $id_tipo_doc
 * @property string $num_doc
 * @property integer $id_novedad
 * @property timestamp $fecha_inicial
 * @property timestamp $fecha_terminacion
 * @property string $doc_soporte
 * @property timestamp $fecha_soporte
 * @property integer $id_dp_ini
 * @property integer $id_dp_fin
 * @property integer $id_periodo
 * @property integer $estado
 * @property integer $id_novedad_ajuste
 * 
 * @method integer             getIdNovedadPersonal()   Returns the current record's "id_novedad_personal" 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             getIdNovedad()           Returns the current record's "id_novedad" value
 * @method timestamp           getFechaInicial()        Returns the current record's "fecha_inicial" value
 * @method timestamp           getFechaTerminacion()    Returns the current record's "fecha_terminacion" value
 * @method string              getDocSoporte()          Returns the current record's "doc_soporte" value
 * @method timestamp           getFechaSoporte()        Returns the current record's "fecha_soporte" value
 * @method integer             getIdDpIni()             Returns the current record's "id_dp_ini" value
 * @method integer             getIdDpFin()             Returns the current record's "id_dp_fin" value
 * @method integer             getIdPeriodo()           Returns the current record's "id_periodo" value
 * @method integer             getEstado()              Returns the current record's "estado" value
 * @method integer             getIdNovedadAjuste()     Returns the current record's "id_novedad_ajuste" value
 * @method NO_NOVEDAD_PERSONAL setIdNovedadPersonal()   Sets the current record's "id_novedad_personal" value
 * @method NO_NOVEDAD_PERSONAL setIdTipoDoc()           Sets the current record's "id_tipo_doc" value
 * @method NO_NOVEDAD_PERSONAL setNumDoc()              Sets the current record's "num_doc" value
 * @method NO_NOVEDAD_PERSONAL setIdNovedad()           Sets the current record's "id_novedad" value
 * @method NO_NOVEDAD_PERSONAL setFechaInicial()        Sets the current record's "fecha_inicial" value
 * @method NO_NOVEDAD_PERSONAL setFechaTerminacion()    Sets the current record's "fecha_terminacion" value
 * @method NO_NOVEDAD_PERSONAL setDocSoporte()          Sets the current record's "doc_soporte" value
 * @method NO_NOVEDAD_PERSONAL setFechaSoporte()        Sets the current record's "fecha_soporte" value
 * @method NO_NOVEDAD_PERSONAL setIdDpIni()             Sets the current record's "id_dp_ini" value
 * @method NO_NOVEDAD_PERSONAL setIdDpFin()             Sets the current record's "id_dp_fin" value
 * @method NO_NOVEDAD_PERSONAL setIdPeriodo()           Sets the current record's "id_periodo" value
 * @method NO_NOVEDAD_PERSONAL setEstado()              Sets the current record's "estado" value
 * @method NO_NOVEDAD_PERSONAL setIdNovedadAjuste()     Sets the current record's "id_novedad_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_NOVEDAD_PERSONAL extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_NOVEDAD_PERSONAL');
        $this->hasColumn('id_novedad_personal', '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_novedad', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_inicial', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_terminacion', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('doc_soporte', 'string', 50, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 50,
             ));
        $this->hasColumn('fecha_soporte', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_dp_ini', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_dp_fin', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_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,
             'default' => '1',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('id_novedad_ajuste', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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