using Siger.Middlelayer.Share.ModuleEnum;
using System;
using System.Collections.Generic;
using System.Text;

namespace Siger.Middlelayer.KpiRespository.Request
{
    public class RequestPushSetting
    {
        public int Id { get; set; }
        /// <summary>
        /// 部门
        /// </summary>
        public int Depart { get; set; }
        /// <summary>
        /// kpiitem
        /// </summary>
        public int KpiItem { get; set; }
        public int Refresh { get; set; }
        public PushErroTypeLevel Level1 { get; set; }
        public PushErroTypeLevel Level2 { get; set; }
        public PushErroTypeLevel Level3 { get; set; }
        public PushErroTypeLevel Level4 { get; set; }

    }

    public class PushErroTypeLevel
    {
        public PushErroTypeLevel()
        {
            Sections = new List<int>();
        }
        /// <summary>
        /// 类型1: 未指定负责人
        /// </summary>
        public RequestPushErroType Type1 { get; set; }
        /// <summary>
        /// 类型2:未处理完成
        /// </summary>
        public RequestPushErroType Type2 { get; set; }
        /// <summary>
        /// 类型3: 异常解除
        /// </summary>
        public RequestPushErroType Type3 { get; set; }
        
        /// <summary>
        /// 职位
        /// </summary>
        public List<int> Sections { get; set; }

    }
    public class RequestPushErroType
    {
        ///// <summary>
        ///// 等级上报时间
        ///// </summary>
        public int Min { get; set; }
        /////// <summary>
        /////// 上报分类
        /////// </summary>
        //public KpiPushSettingType Type { get; set; }
    }
}
