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