同步数据模型和数据库对应关系1
continuous-integration/drone/push Build is passing

This commit is contained in:
hang
2024-09-19 21:56:36 +08:00
parent d789c48004
commit 19f4385055
71 changed files with 3016 additions and 3469 deletions
@@ -7,68 +7,79 @@ 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;
///<summary>
///
///</summary>
[Table("ReadingTaskQuestionMark")]
public class ReadingTaskQuestionMark : BaseAddAuditEntity
{
///<summary>
///
///</summary>
[Table("ReadingTaskQuestionMark")]
public class ReadingTaskQuestionMark : BaseAddAuditEntity
{
#region
[JsonIgnore]
[ForeignKey("QuestionId")]
public ReadingQuestionTrial ReadingQuestionTrial { get; set; }
#region
[JsonIgnore]
[ForeignKey("QuestionId")]
public ReadingQuestionTrial ReadingQuestionTrial { get; set; }
[JsonIgnore]
[ForeignKey("VisitTaskId")]
public VisitTask VisitTask { get; set; }
#endregion
[JsonIgnore]
[ForeignKey("VisitTaskId")]
public VisitTask VisitTask { get; set; }
#endregion
public Guid VisitTaskId { get; set; }
public Guid? FirstAddTaskId { get; set; }
public Guid QuestionId { get; set; }
public Guid? InstanceId { get; set; }
public Guid? InstanceId { get; set; }
public Guid? SeriesId { get; set; }
public Guid? StudyId { get; set; }
public string MarkTool { get; set; } = string.Empty;
public string PicturePath { get; set; } = string.Empty;
public int? NumberOfFrames { get; set; }
public string MeasureData { get; set; } = string.Empty;
[StringLength(1000)]
public string MarkTool { get; set; } = null!;
public Guid? FirstAddTaskId { get; set; }
[MaxLength]
public string MeasureData { get; set; } = null!;
public QuestionType? QuestionType { get; set; }
public int? NumberOfFrames { get; set; }
public string OrderMarkName { get; set; } = null!;
public Guid? OtherInstanceId { get; set; }
public string OrderMarkName { get; set; } = string.Empty;
public Guid? OtherInstanceId { get; set; }
public Guid? OtherSeriesId { get; set; }
public Guid? OtherStudyId { get; set; }
public string OtherMarkTool { get; set; } = string.Empty;
public string OtherPicturePath { get; set; } = string.Empty;
public int? OtherNumberOfFrames { get; set; }
public string OtherMeasureData { get; set; } = string.Empty;
[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; }
}
}
}