namespace QYZH.InteractiveMagazine.Models.Dto.UserAnswerTaskService;

/// <summary>
/// 领取任务积分输出
/// </summary>
public class ClaimTaskPointsOutput
{
    /// <summary>
    /// 积分流水记录Id
    /// </summary>
    public long RecordId { get; set; }

    /// <summary>
    /// 操作前积分余额
    /// </summary>
    public int PreviousBalance { get; set; }

    /// <summary>
    /// 操作后积分余额
    /// </summary>
    public int NewBalance { get; set; }

    /// <summary>
    /// 实际增加数量
    /// </summary>
    public int AddedAmount { get; set; }

    /// <summary>
    /// 任务名称
    /// </summary>
    public string TaskName { get; set; }

    /// <summary>
    /// 任务编号（从 JournalPageTask.No 字段按 - 分割取索引2）
    /// </summary>
    public string TaskNo { get; set; }

    /// <summary>
    /// 题目得分（从 JournalPageTaskUserAnswer 表获取，JournalPageTaskId == GroupId 的 Score）
    /// </summary>
    public float Score { get; set; }
}
