@@ -7,37 +7,38 @@ using System;
|
||||
using IRaCIS.Core.Domain.Share;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
namespace IRaCIS.Core.Domain.Models
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
namespace IRaCIS.Core.Domain.Models;
|
||||
|
||||
[Comment("受试者 - 临床表单表格问题答案")]
|
||||
[Table("ClinicalTableAnswer")]
|
||||
public partial class ClinicalTableAnswer : BaseAddAuditEntity
|
||||
{
|
||||
///<summary>
|
||||
///ClinicalTableAnswer
|
||||
///</summary>
|
||||
[Table("ClinicalTableAnswer")]
|
||||
public class ClinicalTableAnswer : BaseAddAuditEntity
|
||||
{
|
||||
#region 导航属性
|
||||
[JsonIgnore]
|
||||
[ForeignKey("RowId")]
|
||||
public ClinicalAnswerRowInfo ClinicalAnswerRowInfo{get; set;}
|
||||
#endregion
|
||||
#region 导航属性
|
||||
[JsonIgnore]
|
||||
[ForeignKey("RowId")]
|
||||
public ClinicalAnswerRowInfo ClinicalAnswerRowInfo { get; set; }
|
||||
#endregion
|
||||
|
||||
public Guid SubjectId { get; set; }
|
||||
|
||||
[Comment(" 答案")]
|
||||
[StringLength(4000)]
|
||||
public string Answer { get; set; } = null!;
|
||||
|
||||
public Guid ClinicalFormId { get; set; }
|
||||
[Comment(" 表单Id")]
|
||||
public Guid ClinicalFormId { get; set; }
|
||||
|
||||
public Guid QuestionId { get; set; }
|
||||
[Comment(" 问题Id")]
|
||||
public Guid QuestionId { get; set; }
|
||||
|
||||
public Guid RowId { get; set; }
|
||||
[Comment(" 答案行的Id")]
|
||||
public Guid RowId { get; set; }
|
||||
|
||||
public string Answer { get; set; }=string.Empty;
|
||||
[Comment(" 受试者Id")]
|
||||
public Guid SubjectId { get; set; }
|
||||
|
||||
public Guid TableQuestionId { get; set; }
|
||||
public Guid TableQuestionId { get; set; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user