package ru.soune.nocopy.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

@Data
@AllArgsConstructor
@Builder
@JsonFormat(with = JsonFormat.Feature.ACCEPT_CASE_INSENSITIVE_PROPERTIES)
public class BaseResponse {
    @JsonProperty("msg_id")
    private Integer msgId;

    @JsonProperty("message_code")
    private Integer messageCode;

    @JsonProperty("message_desc")
    private String messageDesc;

    @JsonProperty("message_body")
    private Object messageBody;
}
