package com.fs.wxcid.dto.callback;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fs.wxcid.dto.common.IntegerWrapper;
import com.fs.wxcid.dto.common.StringWrapper;
import lombok.Data;

@Data
public class WxCallbackVo {
    private String key;
    private Message message;
    private String type;
    @Data
    public static class Message{
        @JsonProperty("msg_id")
        private Long msgId;
        @JsonProperty("from_user_name")
        private StringWrapper fromUserName;
        @JsonProperty("to_user_name")
        private StringWrapper toUserName;
        @JsonProperty("msg_type")
        private Integer msgType;
        private StringWrapper content;
        private Integer status;
        @JsonProperty("img_status")
        private Integer imgStatus;
        @JsonProperty("img_buf")
        private IntegerWrapper imgBuf;
        @JsonProperty("create_time")
        private Integer createTime;
        @JsonProperty("msg_source")
        private String msgSource;
        @JsonProperty("push_content")
        private String pushContent;
        @JsonProperty("new_msg_id")
        private Long newMsgId;
    }
}
