using Siger.Middlelayer.Repository.Data.Acc;
using Siger.Middlelayer.Share.ModuleEnum;
using System;
using System.Collections.Generic;
using System.Text;

namespace Siger.Middlelayer.KpiRespository.Respose
{
    public class ResponseInputTasklist
    {
        /// <summary>
        /// tasklist.id
        /// </summary>
        public int TaskId { get; set; }
        public int ItemId { get; set; }
        /// <summary>
        /// cycle desc
        /// </summary>
        public string Title { get; set; }
        public string TargetVal { get; set; }
        public string ActVal { get; set; }
        public string Remark { get; set; }
        public int Condition { get; set; }
        public string ConditionDesc { get; set; }
        /// <summary>
        /// enable 1可以编辑
        /// </summary>
        public int Enable { get; set; } = 1;
        public DateTime Busidate { get; set; }
        public KpiCycleEnum KpiCycle { get; set; }
        public string AddVal { get; set; }
    }

    public class ResponseKpiActionInfo
    {
        public int Id { get; set; }
        public int TaskId { get; set; }
       
        /// <summary>
        /// 计划时间
        /// </summary>
        public DateTime Plantime { get; set; }
        /// <summary>
        /// 处理结果时间
        /// </summary>
        public DateTime Resultime { get; set; }

        /// <summary>
        ///  处理超时
        /// </summary>
        public int Expire { get; set; }
    }
}
