@@ -13,49 +13,9 @@ namespace IRaCIS.Core.Domain.Models
|
||||
///ReadingTableQuestionAnswer
|
||||
///</summary>
|
||||
[Table("ReadingTableQuestionAnswer")]
|
||||
public class ReadingTableQuestionAnswer : BaseFullAuditDeleteEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// 问题Id
|
||||
/// </summary>
|
||||
|
||||
public Guid QuestionId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 表格问题Id
|
||||
/// </summary>
|
||||
public Guid TableQuestionId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务Id
|
||||
/// </summary>
|
||||
public Guid VisitTaskId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 项目Id
|
||||
/// </summary>
|
||||
public Guid TrialId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 行号
|
||||
/// </summary>
|
||||
public decimal RowIndex { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 答案
|
||||
/// </summary>
|
||||
public string Answer { get; set; }
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// RowId
|
||||
/// </summary>
|
||||
public Guid RowId { get; set; }
|
||||
|
||||
|
||||
|
||||
|
||||
public class ReadingTableQuestionAnswer : BaseFullDeleteAuditEntity
|
||||
{
|
||||
#region 导航属性
|
||||
[JsonIgnore]
|
||||
[ForeignKey("RowId")]
|
||||
|
||||
@@ -63,21 +23,44 @@ namespace IRaCIS.Core.Domain.Models
|
||||
|
||||
|
||||
[JsonIgnore]
|
||||
[ForeignKey("QuestionId")]
|
||||
[ForeignKey("QuestionId")]
|
||||
|
||||
public ReadingQuestionTrial ReadingQuestionTrial { get; set; }
|
||||
public ReadingQuestionTrial ReadingQuestionTrial { get; set; }
|
||||
|
||||
|
||||
[JsonIgnore]
|
||||
[ForeignKey("TableQuestionId")]
|
||||
[JsonIgnore]
|
||||
[ForeignKey("TableQuestionId")]
|
||||
|
||||
public ReadingTableQuestionTrial ReadingTableQuestionTrial { 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; }
|
||||
|
||||
public Guid VisitTaskId { get; set; }
|
||||
|
||||
public Guid TrialId { get; set; }
|
||||
|
||||
|
||||
public decimal RowIndex { get; set; }
|
||||
|
||||
public string Answer { get; set; }
|
||||
|
||||
|
||||
public Guid RowId { get; set; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user