Remove obsolete annotations
This commit is contained in:
		@@ -3,7 +3,6 @@ package at.compax.tools.sql.model;
 | 
			
		||||
import java.util.List;
 | 
			
		||||
 | 
			
		||||
import com.fasterxml.jackson.annotation.JsonInclude;
 | 
			
		||||
import com.fasterxml.jackson.annotation.JsonProperty;
 | 
			
		||||
 | 
			
		||||
import lombok.Builder;
 | 
			
		||||
import lombok.Getter;
 | 
			
		||||
@@ -14,8 +13,6 @@ import lombok.ToString;
 | 
			
		||||
@ToString
 | 
			
		||||
@JsonInclude(JsonInclude.Include.NON_NULL)
 | 
			
		||||
public class QueryParameter {
 | 
			
		||||
  @JsonProperty("sql")
 | 
			
		||||
  private String sql;
 | 
			
		||||
  @JsonProperty("parameters")
 | 
			
		||||
  private List<Object> parameters;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -3,7 +3,6 @@ package at.compax.tools.sql.model;
 | 
			
		||||
import java.util.List;
 | 
			
		||||
 | 
			
		||||
import com.fasterxml.jackson.annotation.JsonInclude;
 | 
			
		||||
import com.fasterxml.jackson.annotation.JsonProperty;
 | 
			
		||||
 | 
			
		||||
import lombok.Builder;
 | 
			
		||||
import lombok.Getter;
 | 
			
		||||
@@ -19,11 +18,8 @@ public class QueryResult {
 | 
			
		||||
  @ToString
 | 
			
		||||
  @JsonInclude(JsonInclude.Include.NON_NULL)
 | 
			
		||||
  public static class ColumnDefinition {
 | 
			
		||||
    @JsonProperty("index")
 | 
			
		||||
    private int index;
 | 
			
		||||
    @JsonProperty("name")
 | 
			
		||||
    private String name;
 | 
			
		||||
    @JsonProperty("type")
 | 
			
		||||
    private String type;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
@@ -37,21 +33,15 @@ public class QueryResult {
 | 
			
		||||
    @ToString
 | 
			
		||||
    @JsonInclude(JsonInclude.Include.NON_NULL)
 | 
			
		||||
    public static class Column {
 | 
			
		||||
      @JsonProperty("value")
 | 
			
		||||
      private Object value;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @JsonProperty("columns")
 | 
			
		||||
    private List<Column> columns;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  private List<ColumnDefinition> columnDefinitions;
 | 
			
		||||
  @JsonProperty("rows")
 | 
			
		||||
  private List<Row> rows;
 | 
			
		||||
  @JsonProperty("userErrors")
 | 
			
		||||
  private List<UserError> userErrors;
 | 
			
		||||
  @JsonProperty("exception")
 | 
			
		||||
  private String exception;
 | 
			
		||||
  @JsonProperty("exceptionMessage")
 | 
			
		||||
  private String exceptionMessage;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -3,7 +3,6 @@ package at.compax.tools.sql.model;
 | 
			
		||||
import java.util.List;
 | 
			
		||||
 | 
			
		||||
import com.fasterxml.jackson.annotation.JsonInclude;
 | 
			
		||||
import com.fasterxml.jackson.annotation.JsonProperty;
 | 
			
		||||
 | 
			
		||||
import lombok.Builder;
 | 
			
		||||
import lombok.Getter;
 | 
			
		||||
@@ -20,22 +19,15 @@ public class UserError {
 | 
			
		||||
  @JsonInclude(JsonInclude.Include.NON_NULL)
 | 
			
		||||
  public static class MessageLine {
 | 
			
		||||
    private Long sequence;
 | 
			
		||||
    @JsonProperty("line")
 | 
			
		||||
    private Long line;
 | 
			
		||||
    @JsonProperty("position")
 | 
			
		||||
    private Long position;
 | 
			
		||||
    @JsonProperty("text")
 | 
			
		||||
    private String text;
 | 
			
		||||
    @JsonProperty("attribute")
 | 
			
		||||
    private String attribute;
 | 
			
		||||
    private Long messageNumber;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @JsonProperty("name")
 | 
			
		||||
  private String name;
 | 
			
		||||
  @JsonProperty("type")
 | 
			
		||||
  private String type;
 | 
			
		||||
  @JsonProperty("lines")
 | 
			
		||||
  private List<MessageLine> lines;
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user