package org.xyzh.api.message.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.xyzh.common.dto.BaseDTO;

import io.swagger.v3.oas.annotations.media.Schema;

import java.time.ZonedDateTime;

/**
 * @description    用户消息接收记录DTO
 * @filename    TbMessageReceiverDTO.java
 * @author    yslg
 * @copyright yslg
 * @since 2025-11-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "用户消息接收记录DTO")
public class TbMessageReceiverDTO extends BaseDTO {
    private static final long serialVersionUID = 1L;

    @Schema(description = "消息ID")
    private String messageId;

    @Schema(description = "用户ID")
    private String userId;

    @Schema(description = "接收渠道：app/sms/email/wechat/dingtalk等")
    private String channel;

    @Schema(description = "消息状态：unread-未读/read-已读/handled-已处理/deleted-已删除")
    private String status;

    @Schema(description = "阅读时间")
    private ZonedDateTime readTime;

    @Schema(description = "处理时间")
    private ZonedDateTime handleTime;
}
