using QYZH.InteractiveMagazine.Models.Enum;
using SqlSugar;

namespace QYZH.InteractiveMagazine.Models.Entity
{
    ///<summary>
    ///杂志任务;
    ///</summary>
    [SugarTable("JournalPageTask")]
    public class JournalPageTask : SqlSugarBaseEntity
    {       
        /// <summary>
        /// Desc:书id
        /// Default:
        /// Nullable:False
        /// </summary>           
        public long JournalId { get; set; }

        /// <summary>
        /// Desc:书页id
        /// Default:
        /// Nullable:False
        /// </summary>           
        public long JournalPageId { get; set; }
        /// <summary>
        /// Desc:分组
        /// Default:
        /// Nullable:False
        /// </summary>           
        public long GroupId { get; set; }
        /// <summary>
        /// Desc:题号
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string No { get; set; }

        /// <summary>
        /// Desc:题型
        /// Default:
        /// Nullable:False
        /// </summary>           
        public TaskBankTypeEnum Type { get; set; }

        /// <summary>
        /// Desc:任务
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string Task { get; set; }


        /// <summary>
        /// Desc:成长值设置
        /// Default:0
        /// Nullable:True
        /// </summary>           
        public int GrowthPoint { get; set; }

        /// <summary>
        /// Desc:积分设置
        /// Default:0
        /// Nullable:True
        /// </summary>           
        public int Points { get; set; }
        /// <summary>
        /// Desc:理解力评分
        /// Default:0
        /// Nullable:False
        /// </summary>           
        public float Comprehension { get; set; }

        /// <summary>
        /// Desc:判断力评分
        /// Default:0
        /// Nullable:False
        /// </summary>           
        public float Judgment { get; set; }

        /// <summary>
        /// Desc:表达力评分
        /// Default:0
        /// Nullable:False
        /// </summary>           
        public float Expression { get; set; }

        /// <summary>
        /// Desc:说服力评分
        /// Default:0
        /// Nullable:False
        /// </summary>           
        public float Persuasiveness { get; set; }
        /// <summary>
        /// Desc:乐观锁
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int Revision { get; set; }

        /// <summary>
        /// Desc:任务图片地址
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string TaskUrl { get; set; }


        /// <summary>
        /// Desc:是否需要AI处理
        /// Default:true
        /// Nullable:False
        /// </summary>           
        public bool NeedAiProcess { get; set; }

        /// <summary>
        /// Desc:Prompt配置
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string Prompt { get; set; }

        /// <summary>
        /// Desc:作答参考时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int AnswerTime { get; set; }

    }
}
