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

/**
 * BaseNO_NOVEDADES
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_novedad
 * @property integer $id_tipo_novedad
 * @property string $codigo
 * @property string $descripcion
 * @property integer $id_nat_emp_ini
 * @property integer $id_nat_emp_fin
 * @property integer $afecta_pago
 * @property integer $tiempo_maximo
 * @property NO_TIPO_NOVEDAD $NO_TIPO_NOVEDAD
 * @property Doctrine_Collection $NO_NOVEDAD_PERSONAL
 * 
 * @method integer             getIdNovedad()           Returns the current record's "id_novedad" value
 * @method integer             getIdTipoNovedad()       Returns the current record's "id_tipo_novedad" value
 * @method string              getCodigo()              Returns the current record's "codigo" value
 * @method string              getDescripcion()         Returns the current record's "descripcion" value
 * @method integer             getIdNatEmpIni()         Returns the current record's "id_nat_emp_ini" value
 * @method integer             getIdNatEmpFin()         Returns the current record's "id_nat_emp_fin" value
 * @method integer             getAfectaPago()          Returns the current record's "afecta_pago" value
 * @method integer             getTiempoMaximo()        Returns the current record's "tiempo_maximo" value
 * @method NO_TIPO_NOVEDAD     getNOTIPONOVEDAD()       Returns the current record's "NO_TIPO_NOVEDAD" value
 * @method Doctrine_Collection getNONOVEDADPERSONAL()   Returns the current record's "NO_NOVEDAD_PERSONAL" collection
 * @method NO_NOVEDADES        setIdNovedad()           Sets the current record's "id_novedad" value
 * @method NO_NOVEDADES        setIdTipoNovedad()       Sets the current record's "id_tipo_novedad" value
 * @method NO_NOVEDADES        setCodigo()              Sets the current record's "codigo" value
 * @method NO_NOVEDADES        setDescripcion()         Sets the current record's "descripcion" value
 * @method NO_NOVEDADES        setIdNatEmpIni()         Sets the current record's "id_nat_emp_ini" value
 * @method NO_NOVEDADES        setIdNatEmpFin()         Sets the current record's "id_nat_emp_fin" value
 * @method NO_NOVEDADES        setAfectaPago()          Sets the current record's "afecta_pago" value
 * @method NO_NOVEDADES        setTiempoMaximo()        Sets the current record's "tiempo_maximo" value
 * @method NO_NOVEDADES        setNOTIPONOVEDAD()       Sets the current record's "NO_TIPO_NOVEDAD" value
 * @method NO_NOVEDADES        setNONOVEDADPERSONAL()   Sets the current record's "NO_NOVEDAD_PERSONAL" collection
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseNO_MANUAL_FUNC extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_MANUAL_FUNC');
        $this->hasColumn('id_manual_func', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_manual_coordina', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tipo_doc', 'integer', 20, array(
             'notnull' => true,
             '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('fecha_ini', 'timestamp', 7, array(
             'notnull' => true,
             '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,
             ));
        
    }

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