pcut_uwp/PCUT/PCUT.Entities/ApiResponse/PaginationResponse.cs

20 lines
420 B
C#
Raw Permalink Normal View History

2024-08-21 16:02:56 +00:00
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace PCUT.Entities.ApiResponse
{
public class DataResponse<TData>
{
[JsonProperty("data")]
public TData Data { get; set; }
}
public class PaginationResponse<TData> : DataResponse<TData>
{
[JsonProperty("pagination")]
public Pagination Pagination { get; set; }
}
}