com.taotao.cloud.data.mongodb.helper.bean.SlowQuery Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of taotao-cloud-starter-data-mongodb Show documentation
Show all versions of taotao-cloud-starter-data-mongodb Show documentation
taotao-cloud-starter-data-mongodb
/*
* Copyright (c) 2020-2030, Shuigedeng ([email protected] & https://blog.taotaocloud.top/).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.taotao.cloud.data.mongodb.helper.bean;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
/**
* SlowQuery
*
* @author shuigedeng
* @version 2022.04
* @since 2022-04-10 22:35:23
*/
@Document(collection = "_slowQuery")
public class SlowQuery {
@Id
String id;
String query;
String time;
Long queryTime;
String system;
String stack;
public String getStack() {
return stack;
}
public void setStack(String stack) {
this.stack = stack;
}
public String getSystem() {
return system;
}
public void setSystem(String system) {
this.system = system;
}
public Long getQueryTime() {
return queryTime;
}
public void setQueryTime(Long queryTime) {
this.queryTime = queryTime;
}
public String getQuery() {
return query;
}
public void setQuery(String query) {
this.query = query;
}
public String getTime() {
return time;
}
public void setTime(String time) {
this.time = time;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
}