手机号登录
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
package cn.iocoder.yudao.module.farm.controller.admin.messagecenter.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 消息统计响应 VO
|
||||
*
|
||||
* @author 芋道源码
|
||||
*/
|
||||
@Schema(description = "管理后台 - 消息统计 Response VO")
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
public class MessageStatisticsRespVO {
|
||||
|
||||
@Schema(description = "总消息数")
|
||||
private Long totalCount;
|
||||
|
||||
@Schema(description = "未读消息数")
|
||||
private Long unreadCount;
|
||||
|
||||
@Schema(description = "已读消息数")
|
||||
private Long readCount;
|
||||
|
||||
@Schema(description = "按消息类型统计")
|
||||
private List<MessageTypeStatistics> messageTypeStats;
|
||||
|
||||
/**
|
||||
* 消息类型统计
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
public static class MessageTypeStatistics {
|
||||
@Schema(description = "消息类型", example = "1")
|
||||
private Integer messageType;
|
||||
|
||||
@Schema(description = "消息类型名称", example = "报警")
|
||||
private String messageTypeName;
|
||||
|
||||
@Schema(description = "数量")
|
||||
private Long count;
|
||||
|
||||
@Schema(description = "未读数量")
|
||||
private Long unreadCount;
|
||||
|
||||
@Schema(description = "已读数量")
|
||||
private Long readCount;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user