package cn.sikey.websocket.message;

import cn.sikey.websocket.enums.MessageStatus;
import lombok.*;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @Author: nelson
 * @Date: 2025/5/29
 * @Description: 消息接受记录
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class MessageReceivedLog {

    /**
     * 消息读取人
     */
    private String receiverId;

    /**
     * ack id
     */
    private Long ackId;

    /**
     * 消息状态
     */
    private MessageStatus status;

    /**
     * 读取消息时间
     */
    private LocalDateTime receivedTime;
}
