package cn.iocoder.yudao.module.server.controller.admin.policycommunications.vo.analysis;

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

import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 超时未回复清单 Response VO")
@Data
public class PolicyCommunicationsOverdueListRespVO {
    
    @Schema(description = "超时清单")
    private List<OverdueItem> overdueList;
    
    @Schema(description = "超时总数", example = "45")
    private Long totalOverdueCount;
    
    @Schema(description = "平均超时天数", example = "35.5")
    private Double avgOverdueDays;
    
    @Schema(description = "最长超时天数", example = "120")
    private Integer maxOverdueDays;
    
    @Data
    @Schema(description = "超时项")
    public static class OverdueItem {
        @Schema(description = "沟通ID")
        private Long id;
        
        @Schema(description = "政策标题")
        private String policyTitle;
        
        @Schema(description = "沟通主题")
        private String title;
        
        @Schema(description = "提交时间")
        private LocalDateTime submitTime;
        
        @Schema(description = "处理部门")
        private String replyDept;
        
        @Schema(description = "沟通类型")
        private String submitType;
        
        @Schema(description = "超时天数")
        private Integer overdueDays;
        
        @Schema(description = "用户姓名")
        private String userName;
        
        @Schema(description = "联系电话")
        private String mobile;
    }
}