You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace POSV.Proxy.Common
|
|
|
|
|
{
|
|
|
|
|
public class PageObject
|
|
|
|
|
{
|
|
|
|
|
//==========================私有===========================
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 总页数
|
|
|
|
|
/// </summary>
|
|
|
|
|
private int m_PageCount = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 当前页码
|
|
|
|
|
/// </summary>
|
|
|
|
|
private int m_PageNumber = 1;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 总条数
|
|
|
|
|
/// </summary>
|
|
|
|
|
private int m_TotalCount = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 每页显示
|
|
|
|
|
/// </summary>
|
|
|
|
|
private int m_PageSize = 999;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//==========================共有===========================
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 总页数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int PageCount { get => m_PageCount; set => m_PageCount = value; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 当前页码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int PageNumber { get => m_PageNumber; set => m_PageNumber = value; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 总条数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int TotalCount { get => m_TotalCount; set => m_TotalCount = value; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 每页显示(默认10条)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int PageSize { get => m_PageSize; set => m_PageSize = value; }
|
|
|
|
|
}
|
|
|
|
|
}
|