22 lines
498 B
Java
22 lines
498 B
Java
package ru.soune.nocopy.dto;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
import lombok.Data;
|
|
|
|
@Data
|
|
@JsonFormat(with = JsonFormat.Feature.ACCEPT_CASE_INSENSITIVE_PROPERTIES)
|
|
public class BaseRequest {
|
|
@JsonProperty("version")
|
|
Integer version;
|
|
|
|
@JsonProperty("msg_id")
|
|
Integer msgId;
|
|
|
|
@JsonProperty("message_body")
|
|
Object messageBody;
|
|
|
|
@JsonProperty(value = "admin_id", required = false)
|
|
Long adminId;
|
|
}
|