This commit is contained in:
18942506660
2023-10-26 15:32:07 +08:00
parent 30346388ca
commit bf665e81df
8 changed files with 137 additions and 9 deletions

View File

@@ -0,0 +1,28 @@
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;
}
}