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

This commit is contained in:
hang
2024-09-19 23:45:43 +08:00
parent 19f4385055
commit 42e4fe59ec
73 changed files with 1760 additions and 1934 deletions
+25 -32
View File
@@ -3,45 +3,38 @@
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2022-03-03 15:26:35
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models
namespace IRaCIS.Core.Domain.Models;
[Comment("系统 - 匿名化配置(需要同步)")]
[Table("SystemAnonymization")]
public class SystemAnonymization : BaseFullAuditEntity
{
///<summary>
///SystemAnonymization
///</summary>
[Table("SystemAnonymization")]
public class SystemAnonymization : BaseFullAuditEntity
{
#region
#region
#endregion
public string Group { get; set; } = String.Empty;
#endregion
public string Element { get; set; } = null!;
public string Element { get; set; } = String.Empty;
public string Group { get; set; } = null!;
public bool IsAdd { get; set; }
public bool IsEnable { get; set; }
public bool IsFixed { get; set; }
public string ReplaceValue { get; set; } = null!;
public string TagDescription { get; set; } = null!;
public string TagDescriptionCN { get; set; } = null!;
public string ValueRepresentation { get; set; } = null!;
public string TagDescription { get; set; } = String.Empty;
}
public string TagDescriptionCN { get; set; } = string.Empty;
public string ReplaceValue { get; set; } = String.Empty;
public string ValueRepresentation { get; set; } = String.Empty;
public bool IsAdd { get; set; }
public bool IsEnable { get; set; }
public bool IsFixed { get; set; }
}
}
+16 -19
View File
@@ -7,38 +7,35 @@ 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;
[Comment("项目 - 项目DicomAE")]
[Table("TrialDicomAE")]
public class TrialDicomAE : BaseFullAuditEntity
{
///<summary>
///DicomAE
///</summary>
[Table("TrialDicomAE")]
public class TrialDicomAE : BaseFullAuditEntity
{
#region
#region
#endregion
public Guid TrialId { get; set; }
#endregion
public Guid TrialId { get; set; }
public string CalledAE { get; set; } = string.Empty;
public string CalledAE { get; set; } = string.Empty;
public string IP { get; set; } = string.Empty;
public string IP { get; set; } = string.Empty;
public int Port { get; set; }
public int Port { get; set; }
public string Modality { get; set; } = string.Empty;
public string Modality { get; set; } = string.Empty;
public string Description { get; set; } = string.Empty;
public string Description { get; set; } = string.Empty;
public DateTime? LatestTestTime { get; set; }
public DateTime? LatestTestTime { get; set; }
public bool? IsTestOK { get; set; }
}
public bool? IsTestOK { get; set; }
}
@@ -1,6 +1,8 @@
using IRaCIS.Core.Domain.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
@@ -8,6 +10,7 @@ using System.Threading.Tasks;
namespace IRaCIS.Core.Domain.Models
{
[Comment("项目 - 影像下载监控")]
[Table("TrialImageDownload")]
public class TrialImageDownload : BaseFullAuditEntity
{
@@ -26,6 +29,7 @@ namespace IRaCIS.Core.Domain.Models
public DateTime DownloadStartTime { get; set; }
public DateTime? DownloadEndTime { get; set; }
[StringLength(400)]
public string VisitName { get; set; }
public ImageType ImageType { get; set; }