content: package br.com.alevhvm.adotai.common.exceptions;
  
  import java.io.Serializable;
  import java.util.Date;
  import java.util.List;
  
  import com.fasterxml.jackson.annotation.JsonFormat;
  
  public class ExceptionResponse implements Serializable {
      private static final long serialVersionUID = 1L;
  
      @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "dd/MM/yyyy HH:mm:ss", timezone = "America/Sao_Paulo")
      private Date timestamp;
      private List<String> message;
      private String details;
  
      public ExceptionResponse(Date timestamp, List<String> message, String details) {
          this.timestamp = timestamp;
          this.message = message;
          this.details = details;
      }
  
      public Date getTimestamp() {
          return timestamp;
      }
  
      public void setTimestamp(Date timestamp) {
          this.timestamp = timestamp;
      }
  
      public List<String> getMessage() {
          return message;
      }
  
      public void setMessage(List<String> message) {
          this.message = message;
      }
  
      public String getDetails() {
          return details;
      }
  
      public void setDetails(String details) {
          this.details = details;
      }
  }
  