整理数据库实体备注
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-09-20 18:20:37 +08:00
parent d3e3ed79ba
commit 40c8a51a31
174 changed files with 5006 additions and 6652 deletions
@@ -1,54 +1,40 @@
using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models
namespace IRaCIS.Core.Domain.Models;
[Comment("阅片全局任务信息")]
[Table("ReadingGlobalTaskInfo")]
public class ReadingGlobalTaskInfo : BaseAddAuditEntity
{
///<summary>
/// 阅片全局任务信息
///</summary>
[Table("ReadingGlobalTaskInfo")]
public class ReadingGlobalTaskInfo : BaseAddAuditEntity
{
#region
[JsonIgnore]
[ForeignKey("TaskId")]
public VisitTask VisitTask { get; set; }
#region
[JsonIgnore]
[ForeignKey("TaskId")]
public VisitTask VisitTask { get; set; }
[JsonIgnore]
[ForeignKey("GlobalTaskId")]
public VisitTask GlobalVisitTask { get; set; }
[JsonIgnore]
[ForeignKey("QuestionId")]
public ReadingQuestionTrial TrialReadingQuestion { get; set; }
#endregion
[JsonIgnore]
[ForeignKey("GlobalTaskId")]
public VisitTask GlobalVisitTask { get; set; }
[JsonIgnore]
[ForeignKey("QuestionId")]
public ReadingQuestionTrial TrialReadingQuestion { get; set; }
#endregion
/// <summary>
/// 全局任务Id
/// </summary>
public Guid GlobalTaskId { get; set; }
[Comment("全局任务Id")]
public Guid GlobalTaskId { get; set; }
/// <summary>
/// 原任务ID
/// </summary>
[Comment("原任务ID")]
public Guid TaskId { get; set; }
public Guid TaskId { get; set; }
/// <summary>
/// 问题ID
/// </summary>
public Guid? QuestionId { get; set; }
[Comment("问题ID")]
public Guid? QuestionId { get; set; }
/// <summary>
/// 问题答案
/// </summary>
[Comment("问题答案")]
public string Answer { get; set; } = string.Empty;
public Guid TrialId { get; set; }
public string Answer { get; set; } = string.Empty;
public Guid TrialId { get; set; }
/// <summary>
/// 全局答案类型
/// </summary>
public GlobalAnswerType GlobalAnswerType { get; set; }
[Comment("全局答案类型")]
public GlobalAnswerType GlobalAnswerType { get; set; }
public Guid SubjectId { get; set; }
public Guid SubjectId { get; set; }
}
}