/// <summary>
        /// Converts this instance of <see cref="GESTION_INDICADORES_DETALLEDTO"/> to an instance of <see cref="GESTION_INDICADORES_DETALLE"/>.
        /// </summary>
        /// <param name="dto"><see cref="GESTION_INDICADORES_DETALLEDTO"/> to convert.</param>
        public static GESTION_INDICADORES_DETALLE ToEntity(this GESTION_INDICADORES_DETALLEDTO dto)
        {
            if (dto == null) return null;

            var entity = new GESTION_INDICADORES_DETALLE();

            entity.ID = dto.ID;
            entity.GESTION = dto.GESTION;
            entity.SUBGESTION = dto.SUBGESTION;
            entity.TIPO = dto.TIPO;
            entity.ANHO = dto.ANHO;
            entity.MES = dto.MES;
            entity.DIA = dto.DIA;
            entity.HORA = dto.HORA;
            entity.FECHA = dto.FECHA;
            entity.TXT_01 = dto.TXT_01;
            entity.TXT_02 = dto.TXT_02;
            entity.TXT_03 = dto.TXT_03;
            entity.TXT_04 = dto.TXT_04;
            entity.TXT_05 = dto.TXT_05;
            entity.TXT_06 = dto.TXT_06;
            entity.TXT_07 = dto.TXT_07;
            entity.TXT_08 = dto.TXT_08;
            entity.TXT_09 = dto.TXT_09;
            entity.TXT_10 = dto.TXT_10;
            entity.TXT_11 = dto.TXT_11;
            entity.TXT_12 = dto.TXT_12;
            entity.IDORIGEN = dto.IDORIGEN;
            entity.DESCRIPCION_ORIGEN = dto.DESCRIPCION_ORIGEN;
            entity.CANTIDAD = dto.CANTIDAD;
            entity.TIEMPO = dto.TIEMPO;

            dto.OnEntity(entity);

            return entity;
        }
        /// <summary>
        /// Invoked when <see cref="ToEntity"/> operation is about to return.
        /// </summary>
        /// <param name="entity"><see cref="GESTION_INDICADORES_DETALLE"/> converted from <see cref="GESTION_INDICADORES_DETALLEDTO"/>.</param>
partial         static void OnEntity(this GESTION_INDICADORES_DETALLEDTO dto, GESTION_INDICADORES_DETALLE entity);