package com.huimv.employment.service.notification.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;

@Schema(description = "消息已读结果")
public class NotificationReadResponse {

    @Schema(description = "已读后的消息详情")
    private NotificationItemResponse item;

    @JsonProperty("unread_count")
    @Schema(description = "当前用户未读消息数")
    private Long unreadCount;

    public NotificationItemResponse getItem() {
        return item;
    }

    public void setItem(NotificationItemResponse item) {
        this.item = item;
    }

    public Long getUnreadCount() {
        return unreadCount;
    }

    public void setUnreadCount(Long unreadCount) {
        this.unreadCount = unreadCount;
    }
}
