package com.fs.im.dto;

import com.fs.his.dto.PayloadDTO;
import lombok.Data;

@Data
public class OpenImMsgDTO {

    private String sendID;
    private String recvID;
    private String groupID;
    private String senderNickname;
    private String senderFaceURL;
    private int senderPlatformID;
    private Content content;
    private int contentType;
    private int sessionType;
    private boolean isOnlineOnly;
    private boolean notOfflinePush;
    private long sendTime;
    private OfflinePushInfo offlinePushInfo;
    private String ex;


    @Data
    public static class Content {
        private String content;
        private String data;
        private String description;
        private String extension;
    }
    @Data
    public static class ImData{
        private PayloadDTO payload;
    }
    @Data
    public static class OfflinePushInfo {
        private String title;
        private String desc;
        private String ex;
        private String iOSPushSound;
        private boolean iOSBadgeCount;

    }
}
