48 lines
867 B
C#
48 lines
867 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Epost.Model
|
|
{
|
|
#region 视图模型基类
|
|
/// <summary>
|
|
/// 视图模型基类
|
|
/// </summary>
|
|
public class Base
|
|
{
|
|
//public int PageIndex { get; set; }
|
|
//public int PageSize { get; set; }
|
|
private int _PageIndex = 0;
|
|
private int _PageSize = 0;
|
|
|
|
public int PageIndex
|
|
{
|
|
get
|
|
{
|
|
return _PageIndex;
|
|
}
|
|
|
|
set
|
|
{
|
|
_PageIndex = value;
|
|
}
|
|
}
|
|
|
|
public int PageSize
|
|
{
|
|
get
|
|
{
|
|
return _PageSize;
|
|
}
|
|
|
|
set
|
|
{
|
|
_PageSize = value;
|
|
}
|
|
}
|
|
}
|
|
#endregion
|
|
}
|