Files
profile-rest-service/src/main/java/ru/resprojects/restsrv/exception/ErrorMessage.java
2023-06-11 00:23:46 +03:00

25 lines
572 B
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package ru.resprojects.restsrv.exception;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
import java.io.Serializable;
@Getter
@Setter
@AllArgsConstructor
public class ErrorMessage implements Serializable {
private static final long serialVersionUID = -814379271893846783L;
@Schema(description = "Сообщение о ошибке")
@JsonProperty("msg")
private String message;
public ErrorMessage() {
}
}