using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Siger.Middlelayer.Repository.Request;

namespace Siger.Middlelayer.CncRepository.Request
{
    public class RequestGetSignRecord : RequestPageBase
    {
        public string sectionid { get; set; }

        public string starttime { get; set; }

        public string endtime { get; set; }

        public string departid { get; set; }

        public string groupid { get; set; }

        public string userid { get; set; }

        public string toexcel { get; set; }
    }

    public class RequestUserWorkTimeCount : RequestPageBase
    {
        public string starttime { get; set; }

        public string endtime { get; set; }

        public string departid { get; set; }

        public string groupid { get; set; }

        public string userid { get; set; }

        public string toexcel { get; set; }
    }

    public class RequestSelectMachines
    {
        public List<int> machines { get; set; } = new List<int>();
    }

    public class RequestPerformanceAnalysis
    {
        public string starttime { get; set; }

        public string endtime { get; set; }

        public string departid { get; set; }

        public string groupid { get; set; }

        public string userid { get; set; }

        public string toexcel { get; set; }

        /// <summary>
        /// 0作业效率 1作业工时 2损失工时 3有效产出工时 4实际生产工时
        /// </summary>
        public string ytype { get; set; }

        /// <summary>
        /// 0时间周期 1班组 2人员
        /// </summary>
        public string xtype { get; set; }

        /// <summary>
        /// 0天 1周 2月
        /// </summary>
        public string datetype { get; set; }
    }
}
