添加项目文件。
This commit is contained in:
47
Epost.Model/Base.cs
Normal file
47
Epost.Model/Base.cs
Normal file
@ -0,0 +1,47 @@
|
||||
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
|
||||
}
|
Reference in New Issue
Block a user