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

/**
 * BaseCONT_NOVEDAD_KARDEX
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_novedad_kardex
 * @property integer $id_tipo_doc
 * @property string $num_doc
 * @property integer $id_tip_nov_ka
 * @property timestamp $fecha_ini
 * @property timestamp $fecha_fin
 * @property integer $num_dias
 * @property string $numero_doc
 * @property timestamp $fecha_doc
 * @property string $observaciones
 * @property integer $prorroga
 * @property integer $num_dias_ant
 * @property string $num_incapacidad
 * @property timestamp $fecha_inc
 * @property integer $id_periodo
 * @property integer $estado
 * @property integer $id_periodo_base
 * 
 * @method integer             getId()                Returns the current record's "id" value
 * @method integer             getIdNovedadKardex()   Returns the current record's "id_novedad_kardex" 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             getIdTipNovKa()        Returns the current record's "id_tip_nov_ka" 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             getNumDias()           Returns the current record's "num_dias" value
 * @method string              getNumeroDoc()         Returns the current record's "numero_doc" value
 * @method timestamp           getFechaDoc()          Returns the current record's "fecha_doc" value
 * @method string              getObservaciones()     Returns the current record's "observaciones" value
 * @method integer             getProrroga()          Returns the current record's "prorroga" value
 * @method integer             getNumDiasAnt()        Returns the current record's "num_dias_ant" value
 * @method string              getNumIncapacidad()    Returns the current record's "num_incapacidad" value
 * @method timestamp           getFechaInc()          Returns the current record's "fecha_inc" value
 * @method integer             getIdPeriodo()         Returns the current record's "id_periodo" value
 * @method integer             getEstado()            Returns the current record's "estado" value
 * @method integer             getIdPeriodoBase()     Returns the current record's "id_periodo_base" value
 * @method CONT_NOVEDAD_KARDEX setId()                Sets the current record's "id" value
 * @method CONT_NOVEDAD_KARDEX setIdNovedadKardex()   Sets the current record's "id_novedad_kardex" value
 * @method CONT_NOVEDAD_KARDEX setIdTipoDoc()         Sets the current record's "id_tipo_doc" value
 * @method CONT_NOVEDAD_KARDEX setNumDoc()            Sets the current record's "num_doc" value
 * @method CONT_NOVEDAD_KARDEX setIdTipNovKa()        Sets the current record's "id_tip_nov_ka" value
 * @method CONT_NOVEDAD_KARDEX setFechaIni()          Sets the current record's "fecha_ini" value
 * @method CONT_NOVEDAD_KARDEX setFechaFin()          Sets the current record's "fecha_fin" value
 * @method CONT_NOVEDAD_KARDEX setNumDias()           Sets the current record's "num_dias" value
 * @method CONT_NOVEDAD_KARDEX setNumeroDoc()         Sets the current record's "numero_doc" value
 * @method CONT_NOVEDAD_KARDEX setFechaDoc()          Sets the current record's "fecha_doc" value
 * @method CONT_NOVEDAD_KARDEX setObservaciones()     Sets the current record's "observaciones" value
 * @method CONT_NOVEDAD_KARDEX setProrroga()          Sets the current record's "prorroga" value
 * @method CONT_NOVEDAD_KARDEX setNumDiasAnt()        Sets the current record's "num_dias_ant" value
 * @method CONT_NOVEDAD_KARDEX setNumIncapacidad()    Sets the current record's "num_incapacidad" value
 * @method CONT_NOVEDAD_KARDEX setFechaInc()          Sets the current record's "fecha_inc" value
 * @method CONT_NOVEDAD_KARDEX setIdPeriodo()         Sets the current record's "id_periodo" value
 * @method CONT_NOVEDAD_KARDEX setEstado()            Sets the current record's "estado" value
 * @method CONT_NOVEDAD_KARDEX setIdPeriodoBase()     Sets the current record's "id_periodo_base" value
 * 
 * @package    controlComisiones
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCONT_NOVEDAD_KARDEX extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CONT_NOVEDAD_KARDEX');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_novedad_kardex', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_tipo_doc', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('num_doc', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tip_nov_ka', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $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' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('num_dias', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('numero_doc', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_doc', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('observaciones', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('prorroga', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('num_dias_ant', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('num_incapacidad', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_inc', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_periodo', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('estado', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1',
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_periodo_base', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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