//-------------------------------------------------------------------- // 此代码由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; namespace IRaCIS.Core.Domain.Models { ///<summary> /// ///</summary> [Table("ReadingTaskQuestionMark")] public class ReadingTaskQuestionMark : Entity, IAuditAdd { /// <summary> /// 任务Id /// </summary> [Required] public Guid VisitTaskId { get; set; } /// <summary> /// 问题Id /// </summary> [Required] public Guid QuestionId { get; set; } /// <summary> /// InstanceId /// </summary> public Guid? InstanceId { get; set; } /// <summary> /// SeriesId /// </summary> public Guid? SeriesId { get; set; } /// <summary> /// StudyId /// </summary> public Guid? StudyId { get; set; } /// <summary> /// MarkTool /// </summary> public string MarkTool { get; set; } = string.Empty; /// <summary> /// PicturePath /// </summary> public string PicturePath { get; set; } = string.Empty; /// <summary> /// NumberOfFrames /// </summary> public int? NumberOfFrames { get; set; } /// <summary> /// MeasureData /// </summary> [Required] public string MeasureData { get; set; } = string.Empty; /// <summary> /// CreateTime /// </summary> public DateTime CreateTime { get; set; } /// <summary> /// CreateUserId /// </summary> public Guid CreateUserId { get; set; } public Guid? FirstAddTaskId { get; set; } public QuestionType? QuestionType { get; set; } public string? OrderMarkName { get; set; } = string.Empty; /// <summary> /// InstanceId /// </summary> public Guid? OtherInstanceId { get; set; } /// <summary> /// SeriesId /// </summary> public Guid? OtherSeriesId { get; set; } /// <summary> /// StudyId /// </summary> public Guid? OtherStudyId { get; set; } public string? OtherMarkTool { get; set; } public string? OtherPicturePath { get; set; } public int? OtherNumberOfFrames { get; set; } public string? OtherMeasureData { get; set; } = string.Empty; [JsonIgnore] [ForeignKey("QuestionId")] public ReadingQuestionTrial ReadingQuestionTrial { get; set; } [JsonIgnore] [ForeignKey("VisitTaskId")] public VisitTask VisitTask { get; set; } } }