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.
34 lines
759 B
C#
34 lines
759 B
C#
using Newtonsoft.Json;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace TeaV2.Entity
|
|
{
|
|
[Serializable]
|
|
[JsonObject(MemberSerialization.OptIn)]
|
|
public class ListResponse<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 = "list")]
|
|
public List<T> List { get; set; }
|
|
}
|
|
}
|