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.

38 lines
925 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
namespace POSV.Card
{
/// <summary>
/// 会员卡开放平台返回单一对象的应答
/// </summary>
/// <typeparam name="T"></typeparam>
[Serializable]
[JsonObject(MemberSerialization.OptIn)]
public class CardEntityResponse<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; }
/// <summary>
/// 返回数据
/// </summary>
[JsonProperty(PropertyName = "data")]
public T Data { get; set; }
}
}