@@ -1,68 +1,63 @@
|
||||
|
||||
//--------------------------------------------------------------------
|
||||
// 此代码由T4模板自动生成 byzhouhang 20210918
|
||||
// 生成时间 2022-08-22 09:26:04
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
||||
using System;
|
||||
using IRaCIS.Core.Domain.Share;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
namespace IRaCIS.Core.Domain.Models;
|
||||
|
||||
[Comment("项目阅片 - 表格问题行记录子项答案")]
|
||||
[Table("ReadingTableQuestionAnswer")]
|
||||
public class ReadingTableQuestionAnswer : BaseFullDeleteAuditEntity
|
||||
namespace IRaCIS.Core.Domain.Models
|
||||
{
|
||||
#region 导航属性
|
||||
[JsonIgnore]
|
||||
[ForeignKey("RowId")]
|
||||
///<summary>
|
||||
///ReadingTableQuestionAnswer
|
||||
///</summary>
|
||||
[Table("ReadingTableQuestionAnswer")]
|
||||
public class ReadingTableQuestionAnswer : BaseFullDeleteAuditEntity
|
||||
{
|
||||
#region 导航属性
|
||||
[JsonIgnore]
|
||||
[ForeignKey("RowId")]
|
||||
|
||||
public ReadingTableAnswerRowInfo Lesion { get; set; }
|
||||
public ReadingTableAnswerRowInfo Lesion { get; set; }
|
||||
|
||||
|
||||
[JsonIgnore]
|
||||
[ForeignKey("QuestionId")]
|
||||
[JsonIgnore]
|
||||
[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
|
||||
[JsonIgnore]
|
||||
[ForeignKey("VisitTaskId")]
|
||||
public VisitTask VisitTask { get; set; }
|
||||
#endregion
|
||||
|
||||
|
||||
[Comment(" 答案")]
|
||||
[MaxLength]
|
||||
public string Answer { get; set; } = null!;
|
||||
public Guid QuestionId { get; set; }
|
||||
|
||||
[Comment(" 问题Id")]
|
||||
public Guid QuestionId { get; set; }
|
||||
/// <summary>
|
||||
/// 表格问题Id
|
||||
/// </summary>
|
||||
public Guid TableQuestionId { get; set; }
|
||||
|
||||
public Guid RowId { get; set; }
|
||||
public Guid VisitTaskId { get; set; }
|
||||
|
||||
[Comment(" 行号")]
|
||||
[DecimalPrecision(18, 2)]
|
||||
public decimal RowIndex { get; set; }
|
||||
public Guid TrialId { get; set; }
|
||||
|
||||
public Guid TableQuestionId { get; set; }
|
||||
|
||||
[Comment(" 项目Id")]
|
||||
public Guid TrialId { get; set; }
|
||||
public decimal RowIndex { get; set; }
|
||||
|
||||
[Comment(" 任务Id")]
|
||||
public Guid VisitTaskId { get; set; }
|
||||
public string Answer { get; set; } = string.Empty;
|
||||
|
||||
|
||||
public Guid RowId { get; set; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user