@@ -5,68 +5,45 @@ using IRaCIS.Core.Domain.Share;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Collections.Generic;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace IRaCIS.Core.Domain.Models
|
||||
namespace IRaCIS.Core.Domain.Models;
|
||||
|
||||
[Comment("项目阅片 - 问题答案")]
|
||||
[Table("ReadingTaskQuestionAnswer")]
|
||||
public class ReadingTaskQuestionAnswer : BaseAddAuditEntity
|
||||
{
|
||||
///<summary>
|
||||
/// 阅片任务答案
|
||||
///</summary>
|
||||
[Table("ReadingTaskQuestionAnswer")]
|
||||
public class ReadingTaskQuestionAnswer : BaseAddAuditEntity
|
||||
{
|
||||
#region 导航属性
|
||||
#region 导航属性
|
||||
|
||||
[JsonIgnore]
|
||||
[ForeignKey("VisitTaskId")]
|
||||
public VisitTask VisitTask { get; set; }
|
||||
[JsonIgnore]
|
||||
[ForeignKey("VisitTaskId")]
|
||||
public VisitTask VisitTask { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
[ForeignKey("ReadingQuestionTrialId")]
|
||||
public ReadingQuestionTrial ReadingQuestionTrial { get; set; }
|
||||
#endregion
|
||||
/// <summary>
|
||||
/// 项目问题Id
|
||||
/// </summary>
|
||||
public Guid ReadingQuestionTrialId { get; set; }
|
||||
[JsonIgnore]
|
||||
[ForeignKey("ReadingQuestionTrialId")]
|
||||
public ReadingQuestionTrial ReadingQuestionTrial { get; set; }
|
||||
#endregion
|
||||
[MaxLength]
|
||||
public string Answer { get; set; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// 项目问题标准Id
|
||||
/// </summary>
|
||||
public Guid ReadingQuestionCriterionTrialId { get; set; }
|
||||
[Comment("全局阅片修改的答案")]
|
||||
[StringLength(400)]
|
||||
public string GlobalChangeAnswer { get; set; } = null!;
|
||||
|
||||
public Guid TrialId { get; set; }
|
||||
[Comment("全局阅片是否修改")]
|
||||
public bool IsGlobalChange { get; set; }
|
||||
|
||||
public Guid SubjectId { get; set; }
|
||||
public Guid ReadingQuestionCriterionTrialId { get; set; }
|
||||
|
||||
public Guid VisitTaskId { get; set; }
|
||||
public Guid ReadingQuestionTrialId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 答案
|
||||
/// </summary>
|
||||
public string Answer { get; set; } = string.Empty;
|
||||
public Guid SubjectId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 全局阅片修改的答案
|
||||
/// </summary>
|
||||
public string GlobalChangeAnswer { get; set; } = string.Empty;
|
||||
public Guid TrialId { get; set; }
|
||||
|
||||
public Guid VisitTaskId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 全局阅片是否修改
|
||||
/// </summary>
|
||||
public bool IsGlobalChange { get; set; } = false;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user