using System;

namespace XHD.Core.ViewModels
{
    /// <summary>
    /// 通用的分页查询模板
    /// </summary>
    public interface IPageModel
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int Page { get; set; }

        /// <summary>
        /// 单页条数
        /// </summary>
        public int Limit { get; set; }

        ///// <summary>
        ///// 默认分页
        ///// </summary>
        //public IPageModel()
        //{
        //    Page = 1;
        //    Limit = 15;
        //}
    }
}
