using System.Text.Json.Serialization; namespace WcsMain.ApiServe.Controllers.Dto.WcsDto.ApiRequest; public class GetApiRequestWithPageRequest { /// /// 模糊查询字符串 /// [JsonPropertyName("searchStr")] public string? SearchStr { get; set; } /// /// 查询时间范围 /// [JsonPropertyName("timeRange")] public List? TimeRange { get; set; } /// /// 分页信息 /// [JsonPropertyName("page")] public ApiRequestPage? Page { get; set; } } public class ApiRequestPage { /// /// 每页大小 /// [JsonPropertyName("pageSize")] public int PageSize { get; set; } /// /// 当前页数 /// [JsonPropertyName("pageIndex")] public int PageIndex { get; set; } }