添加表和字段
This commit is contained in:
@@ -316,6 +316,11 @@ public class VisitTask : BaseFullAuditEntity
|
||||
/// </summary>
|
||||
public bool IsCopyLesionAnswer { get; set; } = false;
|
||||
|
||||
/// <summary>
|
||||
/// 是否计算过裁判
|
||||
/// </summary>
|
||||
public bool IsCalculatedJudge { get; set; } = false;
|
||||
|
||||
#region 完全随机增加字段
|
||||
|
||||
[Comment("完全随机阅片号")]
|
||||
|
||||
@@ -196,6 +196,73 @@ public class ReadingQuestionCriterionTrial : BaseAddAuditEntity
|
||||
/// 定圆工具默认半径
|
||||
/// </summary>
|
||||
public decimal CircleRadius { get; set; } = 10;
|
||||
|
||||
/// <summary>
|
||||
/// 仲裁模式
|
||||
/// </summary>
|
||||
public JudgeMode JudgeModeEnum { get; set; } = JudgeMode.SelectOne;
|
||||
|
||||
/// <summary>
|
||||
/// 裁判规则
|
||||
/// </summary>
|
||||
public JudgeRule JudgeRuleEnum { get; set; } = JudgeRule.Consistent;
|
||||
|
||||
/// <summary>
|
||||
/// 裁判任务生成
|
||||
/// </summary>
|
||||
public JudgeGenerate JudgeGenerateEnum { get; set; } = JudgeGenerate.Instant;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 裁判任务生成时间
|
||||
/// </summary>
|
||||
public enum JudgeGenerate
|
||||
{
|
||||
/// <summary>
|
||||
/// 及时
|
||||
/// </summary>
|
||||
Instant = 0,
|
||||
|
||||
/// <summary>
|
||||
/// 阶段性
|
||||
/// </summary>
|
||||
Phased = 1,
|
||||
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 仲裁模式
|
||||
/// </summary>
|
||||
public enum JudgeMode
|
||||
{
|
||||
/// <summary>
|
||||
/// 整体结果择一判定
|
||||
/// </summary>
|
||||
SelectOne = 0,
|
||||
|
||||
/// <summary>
|
||||
/// 指标组合判定
|
||||
/// </summary>
|
||||
Combined = 1,
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 裁判规则
|
||||
/// </summary>
|
||||
public enum JudgeRule
|
||||
{
|
||||
/// <summary>
|
||||
/// 跨访视一致规则
|
||||
/// </summary>
|
||||
Consistent = 0,
|
||||
|
||||
/// <summary>
|
||||
/// 访视间差异规则
|
||||
/// </summary>
|
||||
Difference = 1,
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
using IRaCIS.Core.Domain.Share;
|
||||
using System.Linq;
|
||||
|
||||
namespace IRaCIS.Core.Domain.Models;
|
||||
|
||||
[Comment("项目阅片访视裁判规则")]
|
||||
[Table("ReadingQuestionVisitJudgeRule")]
|
||||
public class ReadingQuestionVisitJudgeRule : BaseAddAuditEntity
|
||||
{
|
||||
#region 导航属性
|
||||
[Comment("分页标准")]
|
||||
[ForeignKey("ReadingQuestionId")]
|
||||
[JsonIgnore]
|
||||
public ReadingQuestionTrial ReadingQuestionTrial { get; set; }
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// 问题Id
|
||||
/// </summary>
|
||||
[Comment("问题Id")]
|
||||
public Guid ReadingQuestionId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 访视Num
|
||||
/// </summary>
|
||||
public decimal VisitNum { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 答案分组
|
||||
/// </summary>
|
||||
[MaxLength]
|
||||
[Comment("答案分组")]
|
||||
public List<string> AnswerGroup { get; set; } = new List<string>();
|
||||
|
||||
/// <summary>
|
||||
/// 答案组合
|
||||
/// </summary>
|
||||
[Comment("答案组合")]
|
||||
[MaxLength]
|
||||
public List<string> AnswerCombination { get; set; } = new List<string>();
|
||||
|
||||
/// <summary>
|
||||
/// 裁判类型
|
||||
/// </summary>
|
||||
[Comment("裁判类型")]
|
||||
public JudgeTypeEnum JudgeType { get; set; } = JudgeTypeEnum.AnswerDisaffinity;
|
||||
|
||||
/// <summary>
|
||||
/// 裁判百分比或绝对值的相差值
|
||||
/// </summary>
|
||||
[Comment("裁判百分比或绝对值的相差值")]
|
||||
public decimal? JudgeDifferenceValue { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// 裁判百分比或绝对值的相差值匹配规则
|
||||
/// </summary>
|
||||
[Comment("裁判百分比或绝对值的相差值匹配规则")]
|
||||
public JudgeDifferenceType JudgeDifferenceType { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user