using System.ComponentModel.DataAnnotations;

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

        [Required(ErrorMessage = "SectionId 不能为空")]
        public int SectionId { get; set; }

        public int Offset { get; set; }
        /// <summary>
        /// 限制量
        /// </summary>
        public int Limit { get; set; }
    }
}
