整理表

This commit is contained in:
2022-10-14 11:31:53 +08:00
parent 16110daaad
commit 5f6ac0bc99
27 changed files with 0 additions and 0 deletions
@@ -0,0 +1,80 @@
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models
{
///<summary>
/// 阅片全局任务信息
///</summary>
[Table("ReadingGlobalTaskInfo")]
public class ReadingGlobalTaskInfo : Entity, IAuditAdd
{
/// <summary>
/// 全局任务Id
/// </summary>
public Guid GlobalTaskId { get; set; }
/// <summary>
/// 原任务ID
/// </summary>
public Guid TaskId { get; set; }
[JsonIgnore]
[ForeignKey("TaskId")]
public VisitTask VisitTask { get; set; }
[JsonIgnore]
[ForeignKey("GlobalTaskId")]
public VisitTask GlobalVisitTask { get; set; }
/// <summary>
/// 问题ID
/// </summary>
public Guid? QuestionId { get; set; }
[JsonIgnore]
[ForeignKey("QuestionId")]
public ReadingQuestionTrial TrialReadingQuestion { get; set; }
/// <summary>
/// 问题答案
/// </summary>
public string Answer { get; set; }
/// <summary>
/// CreateTime
/// </summary>
public DateTime CreateTime { get; set; }
/// <summary>
/// CreateUserId
/// </summary>
public Guid CreateUserId { get; set; }
/// <summary>
/// TrialId
/// </summary>
public Guid TrialId { get; set; }
/// <summary>
/// 全局答案类型
/// </summary>
public GlobalAnswerType GlobalAnswerType { get; set; }
/// <summary>
/// SubjectId
/// </summary>
public Guid SubjectId { get; set; }
}
}