using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CloudGaming.DtoModel.Account.User;

/// <summary>
/// 用户信息
/// </summary>
public class UserInfo
{
    /// <summary>
    /// 用户昵称
    /// </summary>
    public string NickName { get; set; }

    /// <summary>
    /// 用户id
    /// </summary>
    public int UserId { get; set; }
    /// <summary>
    /// 用户手机号
    /// </summary>
    public string PhoneNum { get; set; }

    /// <summary>
    /// 用户邮箱
    /// </summary>
    public string Email { get; set; }

    /// <summary>
    /// 用户头像
    /// </summary>
    public string UserIcon { get; set; }

    /// <summary>
    /// 用户钻石
    /// </summary>
    public int Diamond { get; set; }

    /// <summary>
    /// 总游玩时间（分钟）
    /// </summary>
    public int TotalGamingTime { get; set; }

    /// <summary>
    /// 用户是否实名认证
    /// </summary>
    public bool IsRealName { get; set; }

    /// <summary>
    /// 是否未成年
    /// </summary>
    public bool IsJuveniles { get; set; }

    /// <summary>
    /// 实名认证名称
    /// </summary>
    public string UserName { get; set; }

    /// <summary>
    /// 身份证号
    /// </summary>
    public string IdCard { get; set; }
    /// <summary>
    /// 包夜卡数据
    /// </summary>

    public UserInfoNightCard NightCard { get; set; } = new UserInfoNightCard();

    /// <summary>
    /// 用户游玩时间，分钟
    /// </summary>
    public int UserPlayGameTime { get; set; }
}


/// <summary>
/// 包夜卡
/// </summary>
public class UserInfoNightCard
{
    public UserInfoNightCard() { }
    /// <summary>
    /// 是否是包夜卡用户
    /// </summary>
    public bool IsNightCard { get; set; }

    /// <summary>
    /// 包夜卡过期时间
    /// </summary>
    public string NightCardExpireDateTime { get; set; }
}