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.
|
|
|
|
namespace ProductionSystem_Model.ViewModel.Request
|
|
|
|
|
{
|
|
|
|
|
public class BaseQuery
|
|
|
|
|
{
|
|
|
|
|
public BaseQuery()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 设置翻页值
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="pageIndex"></param>
|
|
|
|
|
/// <param name="pageSize"></param>
|
|
|
|
|
public BaseQuery(int pageIndex, int pageSize)
|
|
|
|
|
{
|
|
|
|
|
PageIndex = pageIndex;
|
|
|
|
|
PageSize = pageSize;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 当前页码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int PageIndex { get; set; } = 1;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 每页条数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int PageSize { get; set; } = 30;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 总记录条数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int TotalCount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否激活
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string IsActive { get; set; } = "true";
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否需要分页
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool IsNeedPage { get; set; } = true;
|
|
|
|
|
}
|
|
|
|
|
}
|