using System.Text.Json.Serialization;
namespace Yi.Framework.AiHub.Domain.Managers.Fuwuhao;
///
/// 用户信息响应对象
///
public class UserInfoResponse
{
///
/// 用户OpenID
///
[JsonPropertyName("openid")]
public string OpenId { get; set; }
///
/// 用户昵称
///
[JsonPropertyName("nickname")]
public string Nickname { get; set; }
///
/// 用户性别,值为1时是男性,值为2时是女性,值为0时是未知
///
[JsonPropertyName("sex")]
public int Sex { get; set; }
///
/// 用户个人资料填写的省份
///
[JsonPropertyName("province")]
public string Province { get; set; }
///
/// 普通用户个人资料填写的城市
///
[JsonPropertyName("city")]
public string City { get; set; }
///
/// 国家,如中国为CN
///
[JsonPropertyName("country")]
public string Country { get; set; }
///
/// 用户头像,最后一个数值代表正方形头像大小(有0、46、64、96、132数值可选,0代表640*640正方形头像)
///
[JsonPropertyName("headimgurl")]
public string HeadImgUrl { get; set; }
}