UserInfoResponse.cs
815 Bytes
using Newtonsoft.Json;
namespace WeixinApi.Models
{
public class UserInfoResponse : BaseResponse
{
[JsonProperty("openid")]
public string OpenId { get; set; }
[JsonProperty("nickname")]
public string NickName { get; set; }
[JsonProperty("sex")]
public int Sex { get; set; }
[JsonProperty("province")]
public string Province { get; set; }
[JsonProperty("city")]
public string City { get; set; }
[JsonProperty("country")]
public string Country { get; set; }
[JsonProperty("headimgurl")]
public string HeadImgUrl { get; set; }
[JsonProperty("privilege")]
public string Privilege { get; set; }
[JsonProperty("unionid")]
public string UnionId { get; set; }
}
}