using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CrazyStudio.Core.Common.Eitities.Page
{
    /// <summary>
    /// 分页参数类
    /// </summary>
    public class PageData
    {
        /// <summary>
        /// 当前多少页，从1开始
        /// </summary>
        public int Page { get; set; } = 1;

        /// <summary>
        /// 每页多少条，默认20
        /// </summary>
        public int PageSize { get; set; } = 20;

        /// <summary>
        /// 搜索的关键字
        /// </summary>
        public string SearchText { get; set; } = "";
    }
}
