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.
25 lines
525 B
C#
25 lines
525 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace POSV.HttpResponse
|
|
{
|
|
/// <summary>
|
|
/// 开放平台返回单一对象的应答
|
|
/// </summary>
|
|
/// <typeparam name="T"></typeparam>
|
|
[Serializable]
|
|
[JsonObject(MemberSerialization.OptIn)]
|
|
public class EntityResponse<T> : BaseResponse
|
|
{
|
|
/**
|
|
* 返回数据
|
|
*/
|
|
[JsonProperty(PropertyName = "data")]
|
|
public T Data { get; set; }
|
|
|
|
}
|
|
}
|