using System;
using System.Collections.Generic;

namespace NPP.SmartSchedue.Api.Contracts.Domain.Personnel
{
    /// <summary>
    /// 人员资质统计信息
    /// </summary>
    public class PersonnelQualificationStatistics
    {
        /// <summary>
        /// 资质ID
        /// </summary>
        public long QualificationId { get; set; }

        /// <summary>
        /// 资质名称
        /// </summary>
        public string QualificationName { get; set; }

        /// <summary>
        /// 持有该资质的人员数量
        /// </summary>
        public int PersonnelCount { get; set; }
    }

    /// <summary>
    /// 人员资质统计结果
    /// </summary>
    public class PersonnelQualificationStatisticsResult
    {
        /// <summary>
        /// 统计数据列表
        /// 横坐标为资质，纵坐标为人员数量
        /// </summary>
        public List<PersonnelQualificationStatistics> Statistics { get; set; } = new List<PersonnelQualificationStatistics>();

        /// <summary>
        /// 统计时间
        /// </summary>
        public DateTime GeneratedTime { get; set; } = DateTime.Now;
    }
}