using System.ComponentModel.DataAnnotations;

namespace Siger.Middlelayer.CncRepository.Request
{
    public class RequestListExceptionTimesByDay
    {
        public string xID { get; set; }

        public string yID { get; set; }

        public string errType { get; set; }

        public string patchID { get; set; }

        public string sectionID { get; set; }

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

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

        public int toexcel { get; set; } = 0;
    }
    public class RequestListExceptionTimesByDaycl
    {
        public string sectionID { get; set; }

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

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