Files
QYZH.InteractiveMagazine/QYZH.InteractiveMagazine.Models/Entity/JournalPageTask.cs
glz e493c85d08 refactor,feat: 批量代码重构与新增业务模块
1. 重命名枚举项与实体字段,修正类型引用
2. 新增IsNull扩展方法与多项字符串处理扩展
3. 新增大量业务DTO、服务接口与枚举定义
4. 重构RabbitMQ服务实现,替换旧版消息队列组件
5. 优化签到服务的宠物喂养事务逻辑
6. 移除冗余的项目引用与旧版消息队列代码
7. 新增Excel导出、导入模板相关工具方法
2026-06-11 17:01:24 +08:00

157 lines
4.1 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.

using QYZH.InteractiveMagazine.Models.Enum;
using SqlSugar;
using System;
using System.Linq;
using System.Text;
namespace QYZH.InteractiveMagazine.Models.Entity
{
///<summary>
///杂志任务;
///</summary>
[SugarTable("JournalPageTask")]
public partial class JournalPageTask : SqlSugarBaseEntity
{
public JournalPageTask(){
}
/// <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: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:
/// Nullable:True
/// </summary>
public string Answer {get;set;}
/// <summary>
/// Desc:解析
/// Default:
/// Nullable:True
/// </summary>
public string Analysis {get;set;}
/// <summary>
/// Desc:分组
/// Default:
/// Nullable:False
/// </summary>
public long GroupId {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:任务分数
/// Default:0
/// Nullable:False
/// </summary>
public float Score {get;set;}
/// <summary>
/// Desc:选项
/// Default:
/// Nullable:True
/// </summary>
public string Options {get;set;}
/// <summary>
/// Desc:回答时间(秒)
/// Default:0
/// Nullable:False
/// </summary>
public int AnswerTime {get;set;}
/// <summary>
/// Desc:关键解析json
/// Default:
/// Nullable:True
/// </summary>
public string KeywordAnalysis {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:是否需要AI处理
/// Default:true
/// Nullable:False
/// </summary>
public bool NeedAiProcess {get;set;}
/// <summary>
/// Desc:基础Prompt配置ID为空则使用IsDefault=1的模板
/// Default:
/// Nullable:True
/// </summary>
public long? BasePromptId {get;set;}
/// <summary>
/// Desc:个性化Prompt追加到基础Prompt后面可为空
/// Default:
/// Nullable:True
/// </summary>
public string CustomPrompt {get;set;}
}
}