Files
QYZH.InteractiveMagazine/QYZH.InteractiveMagazine.Models/Dto/UserAnswerTaskService/BatchClaimPointsOutput.cs

60 lines
1.2 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace QYZH.InteractiveMagazine.Models.Dto.UserAnswerTaskService;
/// <summary>
/// 批量领取任务积分输入
/// </summary>
public class BatchClaimPointsInput
{
/// <summary>
/// 任务分组Id列表JournalPageTaskGroupId
/// </summary>
public List<long> GroupIds { get; set; } = new();
}
/// <summary>
/// 批量领取任务积分输出
/// </summary>
public class BatchClaimPointsOutput
{
/// <summary>
/// 成功领取数量
/// </summary>
public int SuccessCount { get; set; }
/// <summary>
/// 失败数量
/// </summary>
public int FailCount { get; set; }
/// <summary>
/// 累计获得积分
/// </summary>
public int TotalPoints { get; set; }
/// <summary>
/// 领取后积分余额
/// </summary>
public int BalanceAfter { get; set; }
/// <summary>
/// 失败详情
/// </summary>
public List<BatchClaimFailItem> FailItems { get; set; } = new();
}
/// <summary>
/// 批量领取失败项
/// </summary>
public class BatchClaimFailItem
{
/// <summary>
/// 任务分组Id
/// </summary>
public long GroupId { get; set; }
/// <summary>
/// 失败原因
/// </summary>
public string Message { get; set; }
}