using QYZH.InteractiveMagazine.Models.Enum;
using QYZH.InteractiveMagazine.Models.Enum;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QYZH.InteractiveMagazine.Models.Dto.Journal
{
    public class JournalPageTaskUpdateInput
    {
        public long Id { get; set; }

        /// <summary>
        /// 杂志Id
        /// </summary>
        public long JournalId { get; set; }

        /// <summary>
        /// 书页id
        /// </summary>
        public long JournalPageId { get; set; }

        /// <summary>
        /// 题号
        /// </summary>
        public string No { get; set; }

        /// <summary>
        /// 题型
        /// </summary>
        public TaskBankTypeEnum Type { get; set; }

        /// <summary>
        /// 问题
        /// </summary>
        public string Task { get; set; }

        /// <summary>
        /// 积分
        /// </summary>
        public int Points { get; set; }
        /// <summary>
        /// 成长值
        /// </summary>
        public int GrowthPoint { get; set; }
        /// <summary>
        /// 理解力评分
        /// </summary>
        public float Comprehension { get; set; }
        /// <summary>
        /// 判断力评分
        /// </summary>
        public float Judgment { get; set; }
        /// <summary>
        /// 表达力评分
        /// </summary>
        public float Expression { get; set; }
        /// <summary>
        /// 说服力评分
        /// </summary>
        public float Persuasiveness { get; set; }

        /// <summary>
        /// 回答时间秒
        /// </summary>
        public int AnswerTime { get; set; }
        /// <summary>
        /// Prompt配置
        /// </summary>
        public string Prompt { get; set; }

        /// <summary>
        /// 是否需要AI批改，false时由人工批改
        /// </summary>
        public bool NeedAiProcess { get; set; } = true;

    }

    public class JournalPageTaskComplementInput
    {
        public long Id { get; set; }

        /// <summary>
        /// 任务id
        /// </summary>
        public long AssignTaskId { get; set; }

        /// <summary>
        /// 音频地址
        /// </summary>
        public string AudioUrl { get; set; }

        /// <summary>
        /// 音频开始时间
        /// </summary>
        public long AudioStartTime { get; set; }

        /// <summary>
        /// 音频结束时间
        /// </summary>
        public long AudioEndTime { get; set; }

        /// <summary>
        /// 点位数据地址
        /// </summary>
        public string PointsUrl { get; set; }
    }
}
