namespace Yi.Framework.AiHub.Application.Contracts.Dtos.CardFlip; /// /// 翻牌任务状态输出 /// public class CardFlipStatusOutput { /// /// 本周总翻牌次数 /// public int TotalFlips { get; set; } /// /// 剩余免费次数 /// public int RemainingFreeFlips { get; set; } /// /// 剩余赠送次数 /// public int RemainingBonusFlips { get; set; } /// /// 剩余邀请解锁次数 /// public int RemainingInviteFlips { get; set; } /// /// 是否可以翻牌 /// public bool CanFlip { get; set; } /// /// 用户的邀请码 /// public string? MyInviteCode { get; set; } /// /// 本周邀请人数 /// public int InvitedCount { get; set; } /// /// 翻牌记录 /// public List FlipRecords { get; set; } = new(); /// /// 下次可翻牌提示 /// public string? NextFlipTip { get; set; } /// /// 当前用户是否已经填写过邀请码 /// public bool IsFilledInviteCode { get; set; } } /// /// 翻牌记录 /// public class CardFlipRecord { /// /// 翻牌序号(1-10) /// public int FlipNumber { get; set; } /// /// 是否已翻 /// public bool IsFlipped { get; set; } /// /// 是否中奖 /// public bool IsWin { get; set; } /// /// 奖励金额(token数) /// public long? RewardAmount { get; set; } /// /// 翻牌类型描述 /// public string? FlipTypeDesc { get; set; } /// /// 在翻牌顺序中的位置(1-10,表示第几个翻) /// public int FlipOrderIndex { get; set; } }