using System.Text.Json.Serialization;
namespace HoneyBox.Model.Models.Auth;
///
/// 用户信息DTO
///
public class UserInfoDto
{
///
/// 用户ID
///
[JsonPropertyName("id")]
public int Id { get; set; }
///
/// 用户唯一标识
///
[JsonPropertyName("uid")]
public string? Uid { get; set; }
///
/// 昵称
///
public string? Nickname { get; set; }
///
/// 头像URL
///
public string? Headimg { get; set; }
///
/// 脱敏后的手机号(格式:138****8000)
///
public string? Mobile { get; set; }
///
/// 是否绑定手机号:0否 1是
///
public int MobileIs { get; set; }
///
/// 账户余额
///
public decimal Money { get; set; }
///
/// 余额2/积分2
///
public decimal Money2 { get; set; }
///
/// 积分
///
public decimal Integral { get; set; }
///
/// 评分
///
public decimal Score { get; set; }
///
/// VIP等级
///
public int Vip { get; set; }
///
/// VIP等级图片URL
///
public string? VipImgurl { get; set; }
///
/// 优惠券数量
///
public int Coupon { get; set; }
///
/// 注册天数
///
public int Day { get; set; }
///
/// 权益等级信息
///
public QuanYiLevelDto? QuanYiLevel { get; set; }
}
///
/// 权益等级DTO
///
public class QuanYiLevelDto
{
///
/// 当前等级
///
public int Level { get; set; }
///
/// 距离下一级还差多少欧气值,-1表示已满级
///
public int Cha { get; set; }
///
/// 当前等级进度百分比 (0-100)
///
public int Jindu { get; set; }
}