using System;
using System.ComponentModel.DataAnnotations;
using Siger.Middlelayer.Common.ModuleEnum;
using Siger.Middlelayer.Repository.Request;

namespace Siger.Middlelayer.AccRepository.Request
{
    public class RequestACCRpt : RequestBase
    {
        [Required(ErrorMessage = "Category是必须的")]
        public AccEnum Category { get; set; }
        [Required(ErrorMessage = "Rpt是必须的")]
        public AccEnum Rpt { get; set; }
        public string Number { get; set; }
        public DateTime DtStart { get; set; }
        public DateTime DtEnd { get; set; }
        public string ProductId { get; set; }
        public int Line { get; set; }
        public int Station { get; set; }
        public string PN { get; set; }

    }
    public class RequestACCGeneralRpt 
    {
        public int Page { get; set; } = 1;
        public int PageSize { get; set; } = 10;

        public string Productid { get; set; }
        public searchType Type { get; set; }
        public string Code { get; set; }
        public int Line { get; set; }
        public int Station { get; set; }

        public string Time { get; set; }

        public string Pn { get; set; }
        /// <summary>
        /// OK ,NG
        /// </summary>
        public string Result { get; set; }
    }
}
