Product_Wms/WcsMain/ApiServe/Dto/WcsDto/ApiAccept/GetApiAcceptWithPageRequest.cs

41 lines
869 B
C#
Raw Normal View History

2024-10-07 09:51:55 +08:00
using System.Text.Json.Serialization;
namespace WcsMain.ApiServe.Dto.WcsDto.ApiAccept;
2024-10-07 09:51:55 +08:00
public class GetApiAcceptWithPageRequest
{
/// <summary>
/// 模糊查询字符串
/// </summary>
[JsonPropertyName("searchStr")]
public string? SearchStr { get; set; }
/// <summary>
/// 查询时间范围
/// </summary>
[JsonPropertyName("timeRange")]
public List<DateTime>? TimeRange { get; set; }
/// <summary>
/// 分页信息
/// </summary>
[JsonPropertyName("page")]
public ApiAcceptPage? Page { get; set; }
}
public class ApiAcceptPage
{
/// <summary>
/// 每页大小
/// </summary>
[JsonPropertyName("pageSize")]
public int PageSize { get; set; }
/// <summary>
/// 当前页数
/// </summary>
[JsonPropertyName("pageIndex")]
public int PageIndex { get; set; }
}