package com.ruoyi.excel.wecom.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 客户联系统计数据VO
 * 用于EasyExcel导出客户联系统计数据
 */
@Data
public class CustomerContactDataVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ExcelProperty("统计日期")
    @DateTimeFormat("yyyy-MM-dd")
    @ColumnWidth(20)
    private Date statDate;

    @ExcelProperty("成员ID")
    @ColumnWidth(20)
    private String userid;

    @ExcelProperty("聊天次数")
    @ColumnWidth(15)
    private Integer chatCnt;

    @ExcelProperty("消息次数")
    @ColumnWidth(15)
    private Integer messageCnt;

    @ExcelProperty("回复率(%)")
    @ColumnWidth(15)
    private Double replyPercentage;

    @ExcelProperty("平均回复时间(秒)")
    @ColumnWidth(20)
    private Integer avgReplyTime;

    @ExcelProperty("负面反馈次数")
    @ColumnWidth(20)
    private Integer negativeFeedbackCnt;

    @ExcelProperty("新申请次数")
    @ColumnWidth(15)
    private Integer newApplyCnt;

    @ExcelProperty("新联系次数")
    @ColumnWidth(15)
    private Integer newContactCnt;
}
