using System.ComponentModel.DataAnnotations;

namespace Siger.Middlelayer.CncRepository.Request
{
    public class RequestListMachineYieldBySign
    {
        public int sectionID { get; set; }

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

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

        public int toexcel { get; set; }
    }

    public class RequestListMachineYields
    {
        public int sectionID { get; set; }

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

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

        public int toexcel { get; set; }

        public string type { get; set; }

        public string typeValue { get; set; }
    }
    public class RequestListMachineYieldsTwo
    {
        public int sectionID { get; set; }

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

        public int frequency { get; set; }
        public int toexcel { get; set; }

        public string type { get; set; }

        public string typeValue { get; set; }
    }
}
