using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace ReZero.SuperAPI
{
    /// <summary>
    /// Represents a common page with page number, page size, and total count.
    /// </summary>
    public class DataModelPageParameter
    {
        /// <summary>
        /// Gets or sets the page number.
        /// </summary>
        public int PageNumber { get; set; }

        /// <summary>
        /// Gets or sets the page size.
        /// </summary>
        public int PageSize { get; set; }

        /// <summary>
        /// Gets or sets the total count.
        /// </summary>
        public int Total { get; set; }
        public RefAsync<int>? TotalCount { get;  set; }
        public int TotalPage { get; internal set; }
    }
}