package com.inspect.analysis.domain;

import lombok.Getter;
import lombok.Setter;

import java.util.Objects;

@Setter
@Getter
public class AnalyseLog {
   private String content;
   private String type;
   private String taskPatrolId;
   private String filter;
   private String requestId;
   private String objectId;
   private String requestUrl;

   public AnalyseLog(String content, String type, String taskPatrolId, String filter, String requestId, String objectId, String requestUrl) {
      this.content = content;
      this.type = type;
      this.taskPatrolId = taskPatrolId;
      this.filter = filter;
      this.requestId = requestId;
      this.objectId = objectId;
      this.requestUrl = requestUrl;
   }

   @Override
   public String toString() {
      return "AnalyseLog{" +
              "content='" + content + '\'' +
              ", type='" + type + '\'' +
              ", taskPatrolId='" + taskPatrolId + '\'' +
              ", filter='" + filter + '\'' +
              ", requestId='" + requestId + '\'' +
              ", objectId='" + objectId + '\'' +
              ", requestUrl='" + requestUrl + '\'' +
              '}';
   }
}
