irc-netcore-api/IRaCIS.Core.Domain/Reading/ReadingFormAnswer/ReadingTaskQuestionMark.cs

86 lines
2.0 KiB
C#

//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2023-09-21 16:08:07
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace IRaCIS.Core.Domain.Models;
///<summary>
///
///</summary>
[Table("ReadingTaskQuestionMark")]
public class ReadingTaskQuestionMark : BaseAddAuditEntity
{
#region 导航属性
[JsonIgnore]
[ForeignKey("QuestionId")]
public ReadingQuestionTrial ReadingQuestionTrial { get; set; }
[JsonIgnore]
[ForeignKey("VisitTaskId")]
public VisitTask VisitTask { get; set; }
#endregion
public Guid? FirstAddTaskId { get; set; }
public Guid? InstanceId { get; set; }
[StringLength(1000)]
public string MarkTool { get; set; } = null!;
[MaxLength]
public string MeasureData { get; set; } = null!;
public int? NumberOfFrames { get; set; }
public string OrderMarkName { get; set; } = null!;
public Guid? OtherInstanceId { get; set; }
[MaxLength]
public string OtherMarkTool { get; set; } = null!;
[MaxLength]
public string OtherMeasureData { get; set; } = null!;
public int? OtherNumberOfFrames { get; set; }
[MaxLength]
public string OtherPicturePath { get; set; } = null!;
public Guid? OtherSeriesId { get; set; }
public Guid? OtherStudyId { get; set; }
[MaxLength]
public string PicturePath { get; set; } = null!;
[Comment(" 问题Id")]
public Guid QuestionId { get; set; }
public QuestionType? QuestionType { get; set; }
public Guid? SeriesId { get; set; }
public Guid? StudyId { get; set; }
[Comment(" 任务Id")]
public Guid VisitTaskId { get; set; }
}