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

/**
 * BaseNO_CERTIF_OTRA_ENTIDAD
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_certif_otra_entidad
 * @property integer $id_tipo_doc
 * @property string $num_doc
 * @property string $num_doc_sop
 * @property timestamp $fecha_soporte
 * @property string $observaciones
 * @property timestamp $fecha_desde
 * @property timestamp $fecha_hasta
 * @property integer $num_dias
 * @property integer $aplica_liquidacion
 * 
 * @method integer                getIdCertifOtraEntidad()    Returns the current record's "id_certif_otra_entidad" 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 string                 getNumDocSop()              Returns the current record's "num_doc_sop" value
 * @method timestamp              getFechaSoporte()           Returns the current record's "fecha_soporte" value
 * @method string                 getObservaciones()          Returns the current record's "observaciones" value
 * @method timestamp              getFechaDesde()             Returns the current record's "fecha_desde" value
 * @method timestamp              getFechaHasta()             Returns the current record's "fecha_hasta" value
 * @method integer                getNumDias()                Returns the current record's "num_dias" value
 * @method integer                getAplicaLiquidacion()      Returns the current record's "aplica_liquidacion" value
 * @method NO_CERTIF_OTRA_ENTIDAD setIdCertifOtraEntidad()    Sets the current record's "id_certif_otra_entidad" value
 * @method NO_CERTIF_OTRA_ENTIDAD setIdTipoDoc()              Sets the current record's "id_tipo_doc" value
 * @method NO_CERTIF_OTRA_ENTIDAD setNumDoc()                 Sets the current record's "num_doc" value
 * @method NO_CERTIF_OTRA_ENTIDAD setNumDocSop()              Sets the current record's "num_doc_sop" value
 * @method NO_CERTIF_OTRA_ENTIDAD setFechaSoporte()           Sets the current record's "fecha_soporte" value
 * @method NO_CERTIF_OTRA_ENTIDAD setObservaciones()          Sets the current record's "observaciones" value
 * @method NO_CERTIF_OTRA_ENTIDAD setFechaDesde()             Sets the current record's "fecha_desde" value
 * @method NO_CERTIF_OTRA_ENTIDAD setFechaHasta()             Sets the current record's "fecha_hasta" value
 * @method NO_CERTIF_OTRA_ENTIDAD setNumDias()                Sets the current record's "num_dias" value
 * @method NO_CERTIF_OTRA_ENTIDAD setAplicaLiquidacion()      Sets the current record's "aplica_liquidacion" value
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseNO_CERTIF_OTRA_ENTIDAD extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_CERTIF_OTRA_ENTIDAD');
        $this->hasColumn('id_certif_otra_entidad', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_tipo_doc', 'integer', 8, array(
             'notnull' => true,
             '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('num_doc_sop', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_soporte', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('observaciones', 'string', 512, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 512,
             ));
        $this->hasColumn('fecha_desde', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_hasta', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('num_dias', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('aplica_liquidacion', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 1,
             ));
    }

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