69 lines
1.6 KiB
C#
69 lines
1.6 KiB
C#
|
|
//--------------------------------------------------------------------
|
|
// 此代码由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
|
|
{
|
|
#region 导航属性
|
|
[JsonIgnore]
|
|
[ForeignKey("RowId")]
|
|
|
|
public ReadingTableAnswerRowInfo Lesion { get; set; }
|
|
|
|
|
|
[JsonIgnore]
|
|
[ForeignKey("QuestionId")]
|
|
|
|
public ReadingQuestionTrial ReadingQuestionTrial { get; set; }
|
|
|
|
|
|
[JsonIgnore]
|
|
[ForeignKey("TableQuestionId")]
|
|
|
|
public ReadingTableQuestionTrial ReadingTableQuestionTrial { get; set; }
|
|
|
|
|
|
|
|
[JsonIgnore]
|
|
[ForeignKey("VisitTaskId")]
|
|
public VisitTask VisitTask { get; set; }
|
|
#endregion
|
|
|
|
|
|
[Comment(" 答案")]
|
|
[MaxLength]
|
|
public string Answer { get; set; } = null!;
|
|
|
|
[Comment(" 问题Id")]
|
|
public Guid QuestionId { get; set; }
|
|
|
|
public Guid RowId { get; set; }
|
|
|
|
[Comment(" 行号")]
|
|
[DecimalPrecision(18, 2)]
|
|
public decimal RowIndex { get; set; }
|
|
|
|
public Guid TableQuestionId { get; set; }
|
|
|
|
[Comment(" 项目Id")]
|
|
public Guid TrialId { get; set; }
|
|
|
|
[Comment(" 任务Id")]
|
|
public Guid VisitTaskId { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
|