修改稽查

This commit is contained in:
2022-12-06 18:08:05 +08:00
parent b15a7304b9
commit 4e21dc8432
3 changed files with 58 additions and 6 deletions
@@ -16,7 +16,7 @@ namespace IRaCIS.Core.Domain.Models
public class ReadingTableAnswerRowInfo : Entity, IAuditAdd
{
/// <summary>
/// QuestionId
/// 第一层的Question
/// </summary>
public Guid QuestionId { get; set; }
@@ -101,15 +101,20 @@ namespace IRaCIS.Core.Domain.Models
/// </summary>
public Guid CreateUserId { get; set; }
[JsonIgnore]
[ForeignKey("SplitRowId")]
public ReadingTableAnswerRowInfo SplitRow { get; set; }
[JsonIgnore]
[ForeignKey("MergeRowId")]
public ReadingTableAnswerRowInfo MergeRow { get; set; }
[JsonIgnore]
[ForeignKey("QuestionId")]
public ReadingQuestionTrial ReadingQuestionTrial { get; set; }
}
@@ -63,10 +63,13 @@ namespace IRaCIS.Core.Domain.Models
public Guid RowId { get; set; }
[JsonIgnore]
[ForeignKey("QuestionId")]
public ReadingQuestionTrial ReadingQuestionTrial { get; set; }
[JsonIgnore]
[ForeignKey("TableQuestionId")]
public ReadingTableQuestionTrial ReadingTableQuestionTrial { get; set; }