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

/// <summary>
/// 每日任务状态输出
/// </summary>
public class DailyTaskStatusOutput
{
    /// <summary>
    /// 今日消耗的尊享包Token数
    /// </summary>
    public long TodayConsumedTokens { get; set; }

    /// <summary>
    /// 任务列表
    /// </summary>
    public List<DailyTaskItem> Tasks { get; set; } = new();
}

/// <summary>
/// 每日任务项
/// </summary>
public class DailyTaskItem
{
    /// <summary>
    /// 任务等级（1=1000w任务，2=3000w任务）
    /// </summary>
    public int Level { get; set; }

    /// <summary>
    /// 任务名称
    /// </summary>
    public string Name { get; set; } = string.Empty;

    /// <summary>
    /// 任务描述
    /// </summary>
    public string Description { get; set; } = string.Empty;

    /// <summary>
    /// 任务要求的Token消耗量
    /// </summary>
    public long RequiredTokens { get; set; }

    /// <summary>
    /// 奖励的Token数量
    /// </summary>
    public long RewardTokens { get; set; }

    /// <summary>
    /// 任务状态：0=未完成，1=可领取，2=已领取
    /// </summary>
    public int Status { get; set; }

    /// <summary>
    /// 任务进度百分比（0-100）
    /// </summary>
    public decimal Progress { get; set; }
}
