package com.zksy.common.domain.response;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class BaseResponse2 extends PublicData{
    @JsonProperty("status")
    private int status;
    @JsonProperty("meta")
    private Meta meta;
    @JsonProperty("msg")
    private String msg;

    @lombok.Data
    private static class Meta{
        @JsonProperty("it")
        private Long it;
        @JsonProperty("ot")
        private Long ot;
        @JsonProperty("traceId")
        private String traceId;
    }
}