using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace CallCenterApi.Interface.Models.Dto
{
    /// <summary>
    /// 处理数量统计
    /// </summary>
    public class DeptCountDto
    {
        /// <summary>
        /// 部门名称
        /// </summary>
        public string deptname { get; set; }
        /// <summary>
        /// 该部门处理工单数量
        /// </summary>
        public int count { get; set; }

    }

    public class DeptEfficiencyDto
    {
        /// <summary>
        /// 部门名称
        /// </summary>
        public string deptname { get; set; }
        /// <summary>
        /// 该部门处理工单数量
        /// </summary>
        public int count { get; set; }
        /// <summary>
        /// 处理及时量
        /// </summary>
        public int intimecount { get; set; }
        /// <summary>
        /// 处理超时量
        /// </summary>
        public int outtimecount { get; set; }
        /// <summary>
        /// 处理及时率
        /// </summary>
        public string efficrate { get; set; }

    }

    public class DeptSatisfiedDto
    {
        /// <summary>
        /// 部门名称
        /// </summary>
        public string deptname { get; set; }
        /// <summary>
        /// 该部门处理工单数量
        /// </summary>
        public int count { get; set; }
        /// <summary>
        /// 处理满意量
        /// </summary>
        public int satisfiedcount { get; set; }
        /// <summary>
        /// 处理不满意量
        /// </summary>
        public int notsatisfiedcount { get; set; }
        /// <summary>
        /// 处理满意率
        /// </summary>
        public string satisfiedrate { get; set; }

    }

    public class DeptAssessmentDto
    {
        /// <summary>
        /// 部门名称
        /// </summary>
        public string deptname { get; set; }
        /// <summary>
        /// 该部门交办总量
        /// </summary>
        public int assignedcount { get; set; }
        /// <summary>
        /// 办理总量
        /// </summary>
        public int completedcount { get; set; }
        /// <summary>
        /// 及时量（及时率）
        /// </summary>
        public string intime { get; set; }
        /// <summary>
        /// 超时量
        /// </summary>
        public int outtimecount { get; set; }
        /// <summary>
        /// 超时平均时长(小时)
        /// </summary>
        public double avgouttime { get; set; }
        /// <summary>
        /// 延时量
        /// </summary>
        public int delayedcount { get; set; }
        /// <summary>
        /// 处理均长(小时)
        /// </summary>
        public double avghandletime { get; set; }
        /// <summary>
        /// 最大处理时长(小时)
        /// </summary>
        public double maxhandletime { get; set; }
        /// <summary>
        /// 回访量
        /// </summary>
        public int visitcount { get; set; }
        /// <summary>
        /// 满意率
        /// </summary>
        public string satisfiedrate { get; set; }
        /// <summary>
        /// 不满意率
        /// </summary>
        public string notsatisfiedrate { get; set; }
    }

    public class DeptWeaklyReportDto
    {
        /// <summary>
        /// 名称 type=1地区名称; type=2 部门名称; type=3 工单类型名称; type=4 工单来源名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 受理数量
        /// </summary>
        public int assignedcount { get; set; }
        /// <summary>
        /// 数量同比
        /// </summary>
        public string countrate { get; set; }
        /// <summary>
        /// 办结数量
        /// </summary>
        public int completedcount { get; set; }
        /// <summary>
        /// 办结率
        /// </summary>
        public string completedrate { get; set; }

    }



    public class UserAccountAssessmentDto
    {
        /// <summary>
        /// 部门名称
        /// </summary>
        public string detpname { get; set; }
        /// <summary>
        /// 坐席
        /// </summary>
        public string useraccount { get; set; }
        /// <summary>
        /// 手工制单数
        /// </summary>
        public int manualcount { get; set; }
        /// <summary>
        /// 通话成单数
        /// </summary>
        public int talkcount { get; set; }
        /// <summary>
        /// 当即办理数
        /// </summary>
        public int immecount { get; set; }
        /// <summary>
        /// 交办量
        /// </summary>
        public int assignedcount { get; set; }
        /// <summary>
        /// 办理量
        /// </summary>
        public int completedcount { get; set; }
        /// <summary>
        /// 回访量
        /// </summary>
        public int visitcount { get; set; }
        /// <summary>
        /// 满意率
        /// </summary>
        public string satisfiedrate { get; set; }
        /// <summary>
        /// 不满意率
        /// </summary>
        public string notsatisfiedrate { get; set; }
    }

    public class OutTimeNotReplyDto
    {
        /// <summary>
        /// 承办单位
        /// </summary>
        public string deptname { get; set; }
        /// <summary>
        /// 诉求内容
        /// </summary>
        public string content { get; set; }
        /// <summary>
        /// 转交时间
        /// </summary>
        public string time { get; set; }
        /// <summary>
        /// 回复时限
        /// </summary>
        public string limit { get; set; }
        /// <summary>
        /// 回复时间
        /// </summary>
        public string reply { get; set; }
    }

    public class OutNotSatisfiedDto
    {
        /// <summary>
        /// 诉求编号
        /// </summary>
        public string workorder { get; set; }
        /// <summary>
        /// 承办单位
        /// </summary>
        public string deptname { get; set; }
        /// <summary>
        /// 诉求标题
        /// </summary>
        public string title { get; set; }
        /// <summary>
        /// 诉求时间
        /// </summary>
        public string creattime { get; set; }
        /// <summary>
        /// 受理人
        /// </summary>
        public string useraccount { get; set; }
    }

    public class DelayDto
    {
        /// <summary>
        /// 承办单位
        /// </summary>
        public string deptname { get; set; }
        /// <summary>
        /// 该部门处理工单数量
        /// </summary>
        public int count { get; set; }
        /// <summary>
        /// 申请延时量
        /// </summary>
        public int delaycount { get; set; }
        /// <summary>
        /// 延时率
        /// </summary>
        public string delayrate { get; set; }
    }

    public class NoticeDto
    {
        /// <summary>
        /// 承办单位
        /// </summary>
        public string deptname { get; set; }
        /// <summary>
        /// 该部门处理工单数量
        /// </summary>
        public int count { get; set; }
        /// <summary>
        /// 通报数量
        /// </summary>
        public int noticecount { get; set; }
        /// <summary>
        /// 通报率
        /// </summary>
        public string noticerate { get; set; }

    }

    public class AppealDto
    {
        /// <summary>
        /// 坐席名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 坐席处理工单数量
        /// </summary>
        public int count { get; set; }
        /// <summary>
        /// 上月环比
        /// </summary>
        public string mom { get; set; }
        /// <summary>
        /// 去年同期同比
        /// </summary>
        public string yoy { get; set; }

    }

    /// <summary>
    /// 调度工作量统计
    /// </summary>
    public class UserAccountWorkLoad
    {
        /// <summary>
        /// 部门名称
        /// </summary>
        public string detpname { get; set; }
        /// <summary>
        /// 坐席
        /// </summary>
        public string useraccount { get; set; }
        /// <summary>
        /// 转派次数
        /// </summary>
        public int fordeliverycount { get; set; }
        /// <summary>
        /// 退回坐席次数
        /// </summary>
        public int returnedcount { get; set; }
        /// <summary>
        /// 调度工作量
        /// </summary>
        public int workcount { get; set; }
    }
}