using System.ComponentModel.DataAnnotations;

namespace Siger.Middlelayer.CncRepository.Request
{
    public class RequestEfficiencyAnalysisInfo
    {
        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; } = 0;
    }

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

        public string startTime { get; set; }

        public int page { get; set; } = 1;
        public int pagesize { get; set; } = 10;
        public int toexcel { get; set; } = 0;
        
    }
}
