namespace Yi.Framework.AiHub.Application.Contracts.Dtos.CardFlip;

/// <summary>
/// 邀请码信息输出
/// </summary>
public class InviteCodeOutput
{
    /// <summary>
    /// 我的邀请码
    /// </summary>
    public string? MyInviteCode { get; set; }

    /// <summary>
    /// 本周邀请人数
    /// </summary>
    public int InvitedCount { get; set; }

    /// <summary>
    /// 是否已被邀请
    /// </summary>
    public bool IsInvited { get; set; }

    /// <summary>
    /// 邀请历史记录
    /// </summary>
    public List<InvitationHistoryItem> InvitationHistory { get; set; } = new();
}

/// <summary>
/// 邀请历史记录项
/// </summary>
public class InvitationHistoryItem
{
    /// <summary>
    /// 被邀请人昵称（脱敏）
    /// </summary>
    public string InvitedUserName { get; set; } = string.Empty;

    /// <summary>
    /// 邀请时间
    /// </summary>
    public DateTime InvitationTime { get; set; }

    /// <summary>
    /// 本周所在
    /// </summary>
    public string WeekDescription { get; set; } = string.Empty;
}
