You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.1 KiB
C#

9 months ago
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
namespace POSV.HttpResponse
{
[Serializable]
[JsonObject(MemberSerialization.OptIn)]
public class ListPagerResponse<T>
{
[JsonProperty(PropertyName = "status")]
public int Status { get; set; }
[JsonProperty(PropertyName = "message")]
public string Message { get; set; }
[JsonProperty(PropertyName = "errCode")]
public string ErrCode { get; set; }
[JsonProperty(PropertyName = "errMessage")]
public string ErrMessage { get; set; }
[JsonProperty(PropertyName = "totalCount")]
public int TotalCount { get; set; }
[JsonProperty(PropertyName = "pageCount")]
public int PageCount { get; set; }
[JsonProperty(PropertyName = "pageNumber")]
public int PageNumber { get; set; }
[JsonProperty(PropertyName = "pageSize")]
public int PageSize { get; set; }
/**
*
*/
[JsonProperty(PropertyName = "list")]
public List<T> List { get; set; }
}
}