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
727 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
namespace POSV.Dianping
{
[Serializable]
[JsonObject(MemberSerialization.OptIn)]
public class BasicResponseModel<T>
{
/// <summary>
/// 返回码
/// </summary>
[JsonProperty(PropertyName = "code")]
public int Code { get; set; }
/// <summary>
/// 返回信息
/// </summary>
[JsonProperty(PropertyName = "msg")]
public string Message { get; set; }
/// <summary>
/// 返回结果
/// </summary>
[JsonProperty(PropertyName = "content")]
public T Content { get; set; }
}
}