修改一版

Test.EIImageViewer
he 2022-05-30 11:20:16 +08:00
parent 9c15c14e1a
commit 144f53e809
4 changed files with 94 additions and 1 deletions

View File

@ -36,4 +36,21 @@ namespace IRaCIS.Core.Domain.Share.Reading
/// </summary>
Oncology = 4,
}
/// <summary>
/// 受试者范围
/// </summary>
public enum SubjectScopeEnum
{
/// <summary>
/// 全部
/// </summary>
All=0,
/// <summary>
/// 根据Site
/// </summary>
Site=1,
}
}

View File

@ -9,7 +9,7 @@ using IRaCIS.Core.Domain.Share.Reading;
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///ReadModule
///读片模块
///</summary>
[Table("ReadModule")]
public class ReadModule : Entity, IAuditAdd

View File

@ -0,0 +1,67 @@
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using IRaCIS.Core.Domain.Share.Reading;
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///阅片期设置
///</summary>
[Table("ReadingPeriodSet")]
public class ReadingPeriodSet : Entity, IAuditAdd
{
/// <summary>
/// 项目ID
/// </summary>
public Guid? TrialId { get; set; }
/// <summary>
/// 阅片期名称
/// </summary>
public string ReadingPeriodName { get; set; }
/// <summary>
/// 受试者范围
/// </summary>
public SubjectScopeEnum? SubjectScope { get; set; }
/// <summary>
/// 范围ID
/// </summary>
public Guid? ScopeId { get; set; }
/// <summary>
/// 截止日期
/// </summary>
public DateTime ExpirationDate { get; set; }
/// <summary>
/// 截止访视
/// </summary>
public decimal ExpirationVisit { get; set; }
/// <summary>
/// 状态
/// </summary>
public int? Status { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreateTime { get; set; }
/// <summary>
/// 创建人
/// </summary>
public Guid CreateUserId { get; set; }
}
}

View File

@ -168,6 +168,15 @@ namespace IRaCIS.Core.Infra.EFCore
public virtual DbSet<EnrollDetail> EnrollDetails { get; set; }
#endregion
#region Reading
public virtual DbSet<ReadingPeriodSet> ReadingPeriodSet { get; set; }
public virtual DbSet<ReadModule> ReadModule { get; set; }
#endregion
#region Subject and Visit and study