package com.xhpc.card.domain;

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

import java.util.List;

/**
 * 查询用户信息的返回封装数据类
 *
 * @author WH
 * @date 2022/1/13 10:23
 * @since version-1.0
 */
@NoArgsConstructor
@Data
public class QueryUserMassageResponse {

    @JsonProperty("nextQueryTime")
    private String nextQueryTime;
    @JsonProperty("data")
    private List<DataDTO> data;

    @NoArgsConstructor
    @Data
    public static class DataDTO {

        @JsonProperty("senderType")
        private Integer senderType;
        @JsonProperty("senderAccount")
        private String senderAccount;
        @JsonProperty("sendMessageTime")
        private String sendMessageTime;
        @JsonProperty("messageContent")
        private String messageContent;
        @JsonProperty("tenantType")
        private Integer tenantType;
        @JsonProperty("tenantId")
        private String tenantId;
        @JsonProperty("have_new_info")
        private Integer haveNewInfo;
        @JsonProperty("sender")
        private Integer sender;

    }

}
