using System;
using System.Collections.Generic;
using System.Text;

namespace EquipmentApi.Model.Dto
{
    /// <summary>
    /// 人员满意度统计报表（列表、统计） - 报表
    /// </summary>
    public class Sys_User_AccountDto
    {
        /// <summary>
        /// id
        /// </summary>
        public string id { get; set; }
        /// <summary>
        /// 用户工号
        /// </summary>
        public string usercode { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string username { get; set; }
        /// <summary>
        /// 项目id
        /// </summary>
        public string projectid { get; set; }
        /// <summary>
        /// 项目
        /// </summary>
        public string projectname { get; set; }
        /// <summary>
        /// 省份
        /// </summary>
        public string provincename { get; set; }
        /// <summary>
        /// 市区
        /// </summary>
        public string cityname { get; set; }
        /// <summary>
        /// 项目属性
        /// </summary>
        public string protypename { get; set; }
        /// <summary>
        /// 满意
        /// </summary>
        public int satisfied { get; set; }
        /// <summary>
        /// 不满意
        /// </summary>
        public int nosatisfied { get; set; }
        /// <summary>
        /// 满意率
        /// </summary>
        public string satisfiedrate { get; set; }
        /// <summary>
        /// 不满意率
        /// </summary>
        public string nosatisfiedrate { get; set; }
    }

    /// <summary>
    /// 人员维修及时率统计报表（列表、统计） - 报表
    /// </summary>
    public class Sys_User_AccountRepairDto
    {
        /// <summary>
        /// id
        /// </summary>
        public string id { get; set; }
        /// <summary>
        /// 用户工号
        /// </summary>
        public string usercode { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string username { get; set; }
        /// <summary>
        /// 项目id
        /// </summary>
        public string projectid { get; set; }
        /// <summary>
        /// 项目
        /// </summary>
        public string projectname { get; set; }
        /// <summary>
        /// 省份
        /// </summary>
        public string provincename { get; set; }
        /// <summary>
        /// 市区
        /// </summary>
        public string cityname { get; set; }
        /// <summary>
        /// 项目属性
        /// </summary>
        public string protypename { get; set; }
        /// <summary>
        /// 维修工单统计
        /// </summary>
        public int repaircount { get; set; } = 0;
        /// <summary>
        /// 2小时内
        /// </summary>
        public int istwohour { get; set; } = 0;
        /// <summary>
        /// 4小时内
        /// </summary>
        public int isfourhour { get; set; } = 0;
        /// <summary>
        /// 8小时内
        /// </summary>
        public int iseighthour { get; set; } = 0;
        /// <summary>
        /// 24小时内
        /// </summary>
        public int istfourhour { get; set; } = 0;
        /// <summary>
        /// 24小时以上
        /// </summary>
        public int istfouruphour { get; set; } = 0;
    }

    /// <summary>
    /// 人员个人工作量统计报表（列表、统计） - 报表
    /// </summary>
    public class Sys_User_AccountWorkDto
    {
        /// <summary>
        /// id
        /// </summary>
        public string id { get; set; }
        /// <summary>
        /// 用户工号
        /// </summary>
        public string usercode { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string username { get; set; }
        /// <summary>
        /// 项目id
        /// </summary>
        public string projectid { get; set; }
        /// <summary>
        /// 项目
        /// </summary>
        public string projectname { get; set; }
        /// <summary>
        /// 省份
        /// </summary>
        public string provincename { get; set; }
        /// <summary>
        /// 市区
        /// </summary>
        public string cityname { get; set; }
        /// <summary>
        /// 项目属性
        /// </summary>
        public string protypename { get; set; }
        /// <summary>
        /// 维修工单统计
        /// </summary>
        public int repaircount { get; set; } = 0;
        /// <summary>
        /// 保养统计
        /// </summary>
        public int maintaincount { get; set; } = 0;
        /// <summary>
        /// 巡检统计
        /// </summary>
        public int equipmentrunningcount { get; set; } = 0;
    }

}
