using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hotline.Share.Dtos.CallCenter
{
    public class BiCallDto
    {
        /// <summary>
        /// 小时跨度
        /// </summary>
        public string HourRange { get; set; }

        public int Hour { get; set; }

        public int Total { get; set; }

        /// <summary>
        /// 应答量
        /// </summary>
        public int Answered { get; set; }

        /// <summary>
        /// 挂断量
        /// </summary>
        public int Hanguped { get; set; }

		/// <summary>
		/// 接通率 接通数量/呼入数量%（保留小数点后两位）
		/// </summary>
		//public string AnsweredRate => GetAnsweredRate();

		//public string GetAnsweredRate()
  //      {
	 //       return Math.Round((Answered / (double)Total) * 100,2) + "%";
  //      }
	}
}
