using System.ComponentModel.DataAnnotations;

namespace Siger.Middlelayer.AccRepository.Request
{
    public class RequestUpdownlimit
    {
        public RequestUpdownlimit()
        {
            Offset = 1;
            Limit = 10;
        }

        [Required(ErrorMessage = "SectionId 不能为空")]
        public int SectionId { get; set; }
        /// <summary>
        /// 偏移量 
        /// </summary>
        public int Offset { get; set; }
        /// <summary>
        /// 限制量
        /// </summary>
        public int Limit { get; set; }
        public string ProductID { get; set; }
        public string Pn { get; set; }
        public string Item { get; set; }

    }
}
