using System.ComponentModel.DataAnnotations;

namespace Siger.Middlelayer.CncRepository.Request
{
    public class RequestGetAbnormalList
    {
        public string big_small { get; set; }

        public string big_small_span { get; set; }

        public string errType { get; set; }

        public int sectionID { get; set; }

        [Required(ErrorMessage = "StartTimeIsEmpty")]
        public string startTime { get; set; }

        [Required(ErrorMessage = "EndTimeIsEmpty")]
        public string endTime { get; set; }

        public int page { get; set; }

        public int pagesize { get; set; }

        public int toexcel { get; set; } = 0;
    }

    public class RequestGetLock
    {
        public int MachineID { get; set; }

        public int Type { get; set; }

        public int Spindle { get; set; }

        public int Stime { get; set; }

        public int Etime { get; set; }

        public int Uplimit { get; set; }

        public int Downlimit { get; set; }
    }
}
