29 lines
749 B
C#
29 lines
749 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Text;
|
|
|
|
namespace WMS.Web.Core.Dto
|
|
{
|
|
public class PaginationRequestDto: PaginationBaseRequestDto
|
|
{
|
|
/// <summary>
|
|
/// 组织Id(所有列表页都需要 全局)
|
|
/// </summary>
|
|
[Required(ErrorMessage = "组织不能为空")]
|
|
public virtual int OrgId { get; set; }
|
|
}
|
|
|
|
public class PaginationBaseRequestDto
|
|
{
|
|
/// <summary>
|
|
/// 页数 不传默认为1
|
|
/// </summary>
|
|
public int PageNo { get; set; } = 1;
|
|
/// <summary>
|
|
/// 每页条数 不传默认每页10 条
|
|
/// </summary>
|
|
public int PageSize { get; set; } = 10;
|
|
}
|
|
}
|