影像配置数据库字段添加
continuous-integration/drone/push Build is passing Details

Uat_IRC_Net8
he 2025-02-27 11:16:53 +08:00
parent 21626cda9d
commit a9c7c79fb5
4 changed files with 52 additions and 0 deletions

View File

@ -43,6 +43,11 @@ public class DicomStudy : BaseFullDeleteAuditEntity, IEntitySeqId
public int Code { get; set; }
/// <summary>
/// 检查名称
/// </summary>
public string StudyName { get; set; } = string.Empty;
public string Description { get; set; } = null!;
public int InstanceCount { get; set; }

View File

@ -19,6 +19,11 @@ public class NoneDicomStudy : BaseFullAuditEntity
#endregion
public string StudyCode { get; set; } = string.Empty;
/// <summary>
/// 检查名称
/// </summary>
public string StudyName { get; set; } = string.Empty;
public int FileCount { get; set; }
public int Code { get; set; }

View File

@ -240,6 +240,25 @@ public partial class Trial : BaseFullDeleteAuditEntity
public string VitrualSiteCode { get; set; } = string.Empty;
#region 检查相关新加字段
/// <summary>
/// 是否显示检查名称
/// </summary>
public bool IsShowStudyName { get; set; } = false;
/// <summary>
/// 检查名称列表
/// </summary>
public List<StudyName> StudyNameList { get; set; } = new List<StudyName>();
/// <summary>
/// 图像格式
/// </summary>
[StringLength(2000)]
public List<string> ImageFormatList { get; set; } = new List<string>();
#endregion
#region 邮件配置
[Comment("发件箱账号")]
public string EmailFromEmail { get; set; } = string.Empty;
@ -290,6 +309,24 @@ public enum CollectImagesType
NoneDicom = 2
}
/// <summary>
/// 检查名称
/// </summary>
[ComplexType]
public class StudyName
{
/// <summary>
/// 是否选中
/// </summary>
public bool IsChoose { get; set; }
/// <summary>
/// 名称
/// </summary>
public string Name { get; set; }
}
[ComplexType]
public class TrialObjectNameConfig
{

View File

@ -84,6 +84,11 @@ public class IRaCISDBContext : DbContext
{
ownedNavigationBuilder.ToJson();
});
entity.OwnsMany(x => x.StudyNameList, ownedNavigationBuilder =>
{
ownedNavigationBuilder.ToJson();
});
});
#region pgsql codefirst 配置 暂时屏蔽