@@ -1,41 +1,35 @@
|
||||
namespace IRaCIS.Core.Domain.Models
|
||||
namespace IRaCIS.Core.Domain.Models;
|
||||
|
||||
[Table("ReadingTableQuestionAnswer")]
|
||||
public class ReadingTableQuestionAnswer : BaseFullDeleteAuditEntity
|
||||
{
|
||||
///<summary>
|
||||
///ReadingTableQuestionAnswer
|
||||
///</summary>
|
||||
[Table("ReadingTableQuestionAnswer")]
|
||||
public class ReadingTableQuestionAnswer : BaseFullDeleteAuditEntity
|
||||
{
|
||||
#region 导航属性
|
||||
[JsonIgnore]
|
||||
[ForeignKey("RowId")]
|
||||
#region 导航属性
|
||||
[JsonIgnore]
|
||||
[ForeignKey("RowId")]
|
||||
|
||||
public ReadingTableAnswerRowInfo Lesion { get; set; }
|
||||
[JsonIgnore]
|
||||
[ForeignKey("QuestionId")]
|
||||
public ReadingTableAnswerRowInfo Lesion { get; set; }
|
||||
[JsonIgnore]
|
||||
[ForeignKey("QuestionId")]
|
||||
|
||||
public ReadingQuestionTrial ReadingQuestionTrial { get; set; }
|
||||
[JsonIgnore]
|
||||
[ForeignKey("TableQuestionId")]
|
||||
public ReadingQuestionTrial ReadingQuestionTrial { get; set; }
|
||||
[JsonIgnore]
|
||||
[ForeignKey("TableQuestionId")]
|
||||
|
||||
public ReadingTableQuestionTrial ReadingTableQuestionTrial { get; set; }
|
||||
[JsonIgnore]
|
||||
[ForeignKey("VisitTaskId")]
|
||||
public VisitTask VisitTask { get; set; }
|
||||
#endregion
|
||||
public Guid QuestionId { get; set; }
|
||||
public ReadingTableQuestionTrial ReadingTableQuestionTrial { get; set; }
|
||||
[JsonIgnore]
|
||||
[ForeignKey("VisitTaskId")]
|
||||
public VisitTask VisitTask { get; set; }
|
||||
#endregion
|
||||
public Guid QuestionId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 表格问题Id
|
||||
/// </summary>
|
||||
public Guid TableQuestionId { get; set; }
|
||||
[Comment("表格问题Id")]
|
||||
public Guid TableQuestionId { get; set; }
|
||||
|
||||
public Guid VisitTaskId { get; set; }
|
||||
public Guid VisitTaskId { get; set; }
|
||||
|
||||
public Guid TrialId { get; set; }
|
||||
public decimal RowIndex { get; set; }
|
||||
public Guid TrialId { get; set; }
|
||||
public decimal RowIndex { get; set; }
|
||||
|
||||
public string Answer { get; set; } = string.Empty;
|
||||
public Guid RowId { get; set; }
|
||||
}
|
||||
public string Answer { get; set; } = string.Empty;
|
||||
public Guid RowId { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user