同步数据模型和数据库对应关系1
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
d789c48004
commit
19f4385055
|
@ -8,7 +8,6 @@
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="AlibabaCloud.SDK.Sts20150401" Version="1.1.4" />
|
<PackageReference Include="AlibabaCloud.SDK.Sts20150401" Version="1.1.4" />
|
||||||
<PackageReference Include="Aliyun.OSS.SDK.NetCore" Version="2.14.1" />
|
|
||||||
<PackageReference Include="Autofac.Extensions.DependencyInjection" Version="10.0.0" />
|
<PackageReference Include="Autofac.Extensions.DependencyInjection" Version="10.0.0" />
|
||||||
<PackageReference Include="Aliyun.OSS.SDK.NetCore" Version="2.14.1" />
|
<PackageReference Include="Aliyun.OSS.SDK.NetCore" Version="2.14.1" />
|
||||||
<PackageReference Include="AWSSDK.S3" Version="3.7.402.7" />
|
<PackageReference Include="AWSSDK.S3" Version="3.7.402.7" />
|
||||||
|
|
|
@ -269,7 +269,7 @@ namespace IRaCIS.Application.Contracts
|
||||||
|
|
||||||
public Guid EnrollId { get; set; }
|
public Guid EnrollId { get; set; }
|
||||||
public DateTime? OutEnrollTime { get; set; }
|
public DateTime? OutEnrollTime { get; set; }
|
||||||
public Guid AgreementId { get; set; }
|
public Guid? AgreementId { get; set; }
|
||||||
|
|
||||||
public string AgreementPath { get; set; } = String.Empty;
|
public string AgreementPath { get; set; } = String.Empty;
|
||||||
|
|
||||||
|
|
|
@ -4,20 +4,19 @@
|
||||||
// 生成时间 2022-02-15 11:55:43
|
// 生成时间 2022-02-15 11:55:43
|
||||||
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
||||||
using IRaCIS.Core.Domain.Share;
|
using IRaCIS.Core.Domain.Share;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("后台 - 邮件配置表表(需要同步)")]
|
||||||
|
[Table("EmailNoticeConfig")]
|
||||||
|
public class EmailNoticeConfig : BaseFullDeleteAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
///EmailNoticeConfig
|
|
||||||
///</summary>
|
|
||||||
[Table("EmailNoticeConfig")]
|
|
||||||
public class EmailNoticeConfig : BaseFullDeleteAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public List<TrialEmailNoticeConfig> TrialEmailNoticeConfigList { get; set; }
|
public List<TrialEmailNoticeConfig> TrialEmailNoticeConfigList { get; set; }
|
||||||
|
@ -26,69 +25,71 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
public List<EmailNoticeUserType> EmailNoticeUserTypeList { get; set; } = new List<EmailNoticeUserType>();
|
public List<EmailNoticeUserType> EmailNoticeUserTypeList { get; set; } = new List<EmailNoticeUserType>();
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
public string Code { get; set; } = String.Empty;
|
public string AttachCNPath { get; set; } = null!;
|
||||||
|
|
||||||
public EmailBusinessScenario BusinessScenarioEnum { get; set; }
|
public string AttachName { get; set; } = null!;
|
||||||
|
|
||||||
/// <summary> 标准类型 /// </summary>
|
public string AttachNameCN { get; set; } = null!;
|
||||||
public CriterionType? CriterionTypeEnum { get; set; }
|
|
||||||
|
|
||||||
/// <summary> 业务模块 /// </summary>
|
public string AttachPath { get; set; } = null!;
|
||||||
public int BusinessModuleEnum { get; set; }
|
|
||||||
|
|
||||||
/// <summary> 业务层级 /// </summary>
|
[Comment(" 业务级别")]
|
||||||
public int BusinessLevelEnum { get; set; }
|
public int BusinessLevelEnum { get; set; }
|
||||||
|
|
||||||
/// <summary> 邮件加急类型 /// </summary>
|
[Comment(" 业务模块")]
|
||||||
|
public int BusinessModuleEnum { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 业务场景")]
|
||||||
|
public EmailBusinessScenario BusinessScenarioEnum { get; set; }
|
||||||
|
|
||||||
|
public string Code { get; set; } = null!;
|
||||||
|
|
||||||
|
[Comment(" 标准枚举")]
|
||||||
|
public CriterionType? CriterionTypeEnum { get; set; }
|
||||||
|
|
||||||
|
public string Description { get; set; } = null!;
|
||||||
|
|
||||||
|
[Comment(" 发送周期")]
|
||||||
|
public string EmailCron { get; set; } = null!;
|
||||||
|
|
||||||
|
|
||||||
|
[MaxLength]
|
||||||
|
public string EmailHtmlContent { get; set; } = null!;
|
||||||
|
|
||||||
|
|
||||||
|
[MaxLength]
|
||||||
|
public string EmailHtmlContentCN { get; set; } = null!;
|
||||||
|
|
||||||
|
public string EmailTopic { get; set; } = null!;
|
||||||
|
|
||||||
|
public string EmailTopicCN { get; set; } = null!;
|
||||||
|
|
||||||
|
[Comment(" 加急枚举")]
|
||||||
public int EmailUrgentEnum { get; set; }
|
public int EmailUrgentEnum { get; set; }
|
||||||
|
|
||||||
/// <summary> 定时周期 /// </summary>
|
[Comment(" 是否自动发送")]
|
||||||
public string EmailCron { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
/// <summary> 邮件主题 /// </summary>
|
|
||||||
public string EmailTopic { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public string EmailTopicCN { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
/// <summary> 附件 /// </summary>
|
|
||||||
public string AttachPath { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public string AttachCNPath { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public string EmailHtmlContent { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public string EmailHtmlContentCN { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public string Description { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
public string AttachName { get; set; } = string.Empty;
|
|
||||||
public string AttachNameCN { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
public SysEmailLevel SystemLevel { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否区分标准
|
|
||||||
/// </summary>
|
|
||||||
public bool IsDistinguishCriteria { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// 是否需要回执
|
|
||||||
public bool IsReturnRequired { get; set; }
|
|
||||||
|
|
||||||
public bool IsAutoSend { get; set; }
|
public bool IsAutoSend { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 是否区分标准")]
|
||||||
|
public bool IsDistinguishCriteria { get; set; }
|
||||||
|
|
||||||
public bool IsEnable { get; set; }
|
public bool IsEnable { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 是否需要回执")]
|
||||||
|
public bool IsReturnRequired { get; set; }
|
||||||
|
|
||||||
}
|
public SysEmailLevel SystemLevel { get; set; }
|
||||||
|
|
||||||
|
|
||||||
[Table("EmailNoticeUserType")]
|
|
||||||
|
|
||||||
public class EmailNoticeUserType : Entity
|
}
|
||||||
{
|
|
||||||
|
|
||||||
|
[Comment("后台 - 邮件配置用户类型表(需要同步)")]
|
||||||
|
[Table("EmailNoticeUserType")]
|
||||||
|
|
||||||
|
public class EmailNoticeUserType : Entity
|
||||||
|
{
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public EmailNoticeConfig EmailNoticeConfig { get; set; }
|
public EmailNoticeConfig EmailNoticeConfig { get; set; }
|
||||||
|
|
||||||
|
@ -98,11 +99,11 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
public UserTypeEnum UserType { get; set; }
|
public UserTypeEnum UserType { get; set; }
|
||||||
|
|
||||||
public EmailUserType EmailUserType { get; set; }
|
public EmailUserType EmailUserType { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public enum SysEmailLevel
|
public enum SysEmailLevel
|
||||||
{
|
{
|
||||||
not_sys=0,
|
not_sys=0,
|
||||||
|
|
||||||
//系统 不配置角色
|
//系统 不配置角色
|
||||||
|
@ -110,5 +111,4 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
|
|
||||||
//系统需要配置角色的
|
//系统需要配置角色的
|
||||||
sys_Config_role=2
|
sys_Config_role=2
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,30 +7,34 @@ using System;
|
||||||
using IRaCIS.Core.Domain.Share;
|
using IRaCIS.Core.Domain.Share;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
namespace IRaCIS.Core.Domain.Models
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("后台 - 浏览器推荐 (需要同步)")]
|
||||||
|
[Table("ExploreRecommend")]
|
||||||
|
public class ExploreRecommend : BaseFullDeleteAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
///ExploreRecommend
|
|
||||||
///</summary>
|
|
||||||
[Table("ExploreRecommend")]
|
|
||||||
public class ExploreRecommend : BaseFullDeleteAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
public string ExploreType { get; set; } = string.Empty;
|
[StringLength(1000)]
|
||||||
|
public string DownloadUrl { get; set; } = null!;
|
||||||
|
|
||||||
public string Version { get; set; }=string.Empty;
|
public string ExploreType { get; set; } = null!;
|
||||||
|
|
||||||
public string Title { get; set; } = string.Empty;
|
[StringLength(1000)]
|
||||||
|
public string FileName { get; set; } = null!;
|
||||||
|
|
||||||
public string DownloadUrl { get; set; } = string.Empty;
|
[StringLength(1000)]
|
||||||
|
public string Path { get; set; } = null!;
|
||||||
|
|
||||||
public string Path { get; set; } = string.Empty;
|
[StringLength(1000)]
|
||||||
|
public string Title { get; set; } = null!;
|
||||||
|
|
||||||
public string FileName { get; set; } = string.Empty;
|
[StringLength(2000)]
|
||||||
|
public string Version { get; set; } = null!;
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -8,168 +8,132 @@ using IRaCIS.Core.Domain.Share;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models;
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
///<summary>
|
[Comment("稽查 - 配置表 (需要同步)")]
|
||||||
///FrontAuditConfig
|
|
||||||
///</summary>
|
|
||||||
[Table("FrontAuditConfig")]
|
[Table("FrontAuditConfig")]
|
||||||
public class FrontAuditConfig : BaseFullAuditEntity
|
public class FrontAuditConfig : BaseFullAuditEntity
|
||||||
{
|
{
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
public string Value { get; set; } = String.Empty;
|
[StringLength(1000)]
|
||||||
|
public string ChildDataEnLabel { get; set; } = null!;
|
||||||
|
|
||||||
public string ValueCN { get; set; } = String.Empty;
|
[Comment(" 前端渲染数组 数组名 和数组值")]
|
||||||
|
[StringLength(400)]
|
||||||
|
public string ChildDataLabel { get; set; } = null!;
|
||||||
|
|
||||||
public string Description { get; set; } = String.Empty;
|
[Comment(" 子数据Value")]
|
||||||
|
[StringLength(400)]
|
||||||
|
public string ChildDataValue { get; set; } = null!;
|
||||||
|
|
||||||
public string DescriptionCN { get; set; } = String.Empty;
|
public Guid? ChildrenTypeId { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 翻译的字段名 这里有可能是一个数组名 那么具体的翻译字段名就不是这个了")]
|
||||||
|
public string Code { get; set; } = null!;
|
||||||
|
|
||||||
|
[StringLength(1000)]
|
||||||
|
public string CodeEn { get; set; } = null!;
|
||||||
|
|
||||||
/// <summary>
|
[Comment(" 前端使用 C M")]
|
||||||
/// 是否有签名
|
public string ConfigType { get; set; } = null!;
|
||||||
/// </summary>
|
|
||||||
public bool IsHaveSign { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
[Comment(" 前端展示类型 Router, Array,Table")]
|
||||||
/// 是否有原因
|
public string DataType { get; set; } = null!;
|
||||||
/// </summary>
|
|
||||||
public bool IsHaveReason { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
[Comment(" 日期格式")]
|
||||||
/// 是否完成
|
public string DateType { get; set; } = null!;
|
||||||
/// </summary>
|
|
||||||
public bool IsFinish { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
[StringLength(512)]
|
||||||
/// 是否加入计划
|
public string Description { get; set; } = null!;
|
||||||
/// </summary>
|
|
||||||
public bool IsJoinPlan { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
[StringLength(500)]
|
||||||
/// 标识
|
public string DescriptionCN { get; set; } = null!;
|
||||||
/// </summary>
|
|
||||||
public string Identification { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public Guid? ParentId { get; set; }
|
[Comment(" 翻译的字典名(单个字段翻译的时候)")]
|
||||||
|
public string DictionaryCode { get; set; } = null!;
|
||||||
|
|
||||||
|
[Comment(" 字典名称-待废弃核查")]
|
||||||
|
public string DictionaryKey { get; set; } = null!;
|
||||||
|
|
||||||
|
[Comment(" 枚举字典Type")]
|
||||||
|
public string DictionaryType { get; set; } = null!;
|
||||||
|
|
||||||
|
[Comment(" 后端翻译的类型 对应前端界面 "" Dictionary Date")]
|
||||||
|
public string EnumType { get; set; } = null!;
|
||||||
|
|
||||||
|
[StringLength(1000)]
|
||||||
|
public string ForeignKeyEnText { get; set; } = null!;
|
||||||
|
|
||||||
|
[Comment(" 外键表")]
|
||||||
|
public string ForeignKeyTableName { get; set; } = null!;
|
||||||
|
|
||||||
|
[Comment(" 外键Text")]
|
||||||
|
[StringLength(1000)]
|
||||||
|
public string ForeignKeyText { get; set; } = null!;
|
||||||
|
|
||||||
|
[Comment(" 外键Value")]
|
||||||
|
public string ForeignKeyValue { get; set; } = null!;
|
||||||
|
|
||||||
|
[Comment(" 标识")]
|
||||||
|
[StringLength(400)]
|
||||||
|
public string Identification { get; set; } = null!;
|
||||||
|
|
||||||
|
[Comment(" 接口名")]
|
||||||
|
public string InterfaceName { get; set; } = null!;
|
||||||
|
|
||||||
|
[Comment(" 未知是否有用-废弃核查")]
|
||||||
|
public bool IsConfig { get; set; }
|
||||||
|
|
||||||
public bool IsEnable { get; set; }
|
public bool IsEnable { get; set; }
|
||||||
|
|
||||||
public int Sort { get; set; }
|
[Comment(" 是否完成")]
|
||||||
|
public bool IsFinish { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 是否有原因")]
|
||||||
|
public bool IsHaveReason { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 是否有签名")]
|
||||||
|
public bool IsHaveSign { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 是否加入计划")]
|
||||||
|
public bool? IsJoinPlan { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 待废弃核查")]
|
||||||
|
public bool IsShowByTrialConfig { get; set; }
|
||||||
|
|
||||||
|
public int IsShowParent { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 是否为特殊类型")]
|
||||||
|
public bool? IsSpecialType { get; set; }
|
||||||
|
|
||||||
public Guid? ModuleTypeId { get; set; }
|
public Guid? ModuleTypeId { get; set; }
|
||||||
|
|
||||||
public Guid? ObjectTypeId { get; set; }
|
public Guid? ObjectTypeId { get; set; }
|
||||||
|
|
||||||
public Guid? OptTypeId { get; set; }
|
public Guid? OptTypeId { get; set; }
|
||||||
|
|
||||||
public Guid? ChildrenTypeId { get; set; }
|
public Guid? ParentId { get; set; }
|
||||||
|
|
||||||
public int IsShowParent { get; set; }
|
public int Sort { get; set; }
|
||||||
|
|
||||||
public string InterfaceName { get; set; } = String.Empty;
|
[MaxLength]
|
||||||
|
public string? TableConfigJsonStr { get; set; }
|
||||||
|
|
||||||
//前端使用 C M
|
[Comment(" 待废弃核查")]
|
||||||
public string ConfigType { get; set; } = String.Empty;
|
public string TrialConfigRelyFieldName { get; set; } = null!;
|
||||||
|
|
||||||
|
[MaxLength]
|
||||||
|
public string? UrlConfigJsonStr { get; set; }
|
||||||
|
|
||||||
//翻译的字段名 这里有可能是一个数组名 那么具体的翻译字段名就不是这个了
|
[StringLength(400)]
|
||||||
public string Code { get; set; } = String.Empty;
|
public string Value { get; set; } = null!;
|
||||||
|
|
||||||
|
[StringLength(400)]
|
||||||
/// <summary>
|
public string ValueCN { get; set; } = null!;
|
||||||
/// 字段的英文值
|
|
||||||
/// </summary>
|
|
||||||
public string CodeEn { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
//前端渲染数组 数组名 和数组值
|
|
||||||
public string ChildDataLabel { get; set; } = String.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 前端渲染数组 数组名 和数组值 英文名称
|
|
||||||
/// </summary>
|
|
||||||
public string ChildDataEnLabel { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public string ChildDataValue { get; set; } = String.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 翻译的字典名(单个字段翻译的时候)
|
|
||||||
/// </summary>
|
|
||||||
|
|
||||||
public string DictionaryCode { get; set; } = String.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 前端展示类型 Router, Array,Table
|
|
||||||
/// </summary>
|
|
||||||
|
|
||||||
public string DataType { get; set; } = String.Empty;
|
|
||||||
|
|
||||||
// 后端翻译的类型 对应前端界面 "" Dictionary Date
|
|
||||||
public string EnumType { get; set; } = String.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 翻译的类型 FrontAudit 的描述 可能是Id Code
|
|
||||||
/// </summary>
|
|
||||||
public string DictionaryType { get; set; } = String.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 后端翻译的 日期类型
|
|
||||||
/// </summary>
|
|
||||||
|
|
||||||
public string DateType { get; set; } = String.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary> 字典表 </summary>
|
|
||||||
public string ForeignKeyTableName { get; set; } = String.Empty;
|
|
||||||
|
|
||||||
/// <summary> 字典Value </summary>
|
|
||||||
public string ForeignKeyValue { get; set; } = String.Empty;
|
|
||||||
|
|
||||||
/// <summary> 字典 </summary>
|
|
||||||
public string ForeignKeyText { get; set; } = String.Empty;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 英文的翻译
|
|
||||||
/// </summary>
|
|
||||||
public string ForeignKeyEnText { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
public string TableConfigJsonStr { get; set; } = String.Empty;
|
|
||||||
|
|
||||||
public string UrlConfigJsonStr { get; set; } = String.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#region 废弃
|
|
||||||
//未知是否有用
|
|
||||||
public bool IsConfig { get; set; }
|
|
||||||
/// <summary>
|
|
||||||
/// 是否为特殊类型
|
|
||||||
/// </summary>
|
|
||||||
public bool IsSpecialType { get; set; }
|
|
||||||
public string DictionaryKey { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
public bool IsShowByTrialConfig { get; set; }
|
|
||||||
public string TrialConfigRelyFieldName { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -7,47 +7,49 @@ using System;
|
||||||
using IRaCIS.Core.Domain.Share;
|
using IRaCIS.Core.Domain.Share;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
namespace IRaCIS.Core.Domain.Models
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("后台 - 国际化配置表 (需要同步)")]
|
||||||
|
[Table("Internationalization")]
|
||||||
|
public class Internationalization : BaseFullAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
///Internationalization
|
|
||||||
///</summary>
|
|
||||||
[Table("Internationalization")]
|
|
||||||
public class Internationalization : BaseFullAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public PublishLog PublishLog { get; set; }
|
public PublishLog PublishLog { get; set; }
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
public int ShowOrder { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
[StringLength(400)]
|
||||||
/// 0 1 2 预翻译 已确认 废除
|
public string Code { get; set; } = null!;
|
||||||
/// </summary>
|
|
||||||
public int State { get; set; }
|
|
||||||
|
|
||||||
|
[StringLength(400)]
|
||||||
|
public string Description { get; set; } = null!;
|
||||||
|
|
||||||
public string Description { get; set; } = string.Empty;
|
[Comment(" 前端类型")]
|
||||||
|
[StringLength(1000)]
|
||||||
public string Code { get; set; } = string.Empty;
|
public string FrontType { get; set; } = null!;
|
||||||
|
|
||||||
public string Value { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public string ValueCN { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
|
[Comment(" 前端还是后端")]
|
||||||
public int InternationalizationType { get; set; }
|
public int InternationalizationType { get; set; }
|
||||||
|
|
||||||
public string FrontType { get; set; }=string.Empty;
|
[Comment(" 模块")]
|
||||||
|
public string Module { get; set; } = null!;
|
||||||
|
|
||||||
|
[Comment(" 版本")]
|
||||||
public string Module { get; set; } = string.Empty;
|
|
||||||
//关联版本历史记录表Id
|
|
||||||
public Guid? PublishLogId { get; set; }
|
public Guid? PublishLogId { get; set; }
|
||||||
|
|
||||||
|
public int ShowOrder { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 0 1 2 预翻译 已确认 废除")]
|
||||||
|
public int State { get; set; }
|
||||||
|
|
||||||
|
[StringLength(2000)]
|
||||||
|
public string Value { get; set; } = null!;
|
||||||
|
|
||||||
}
|
[StringLength(2000)]
|
||||||
|
public string ValueCN { get; set; } = null!;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -7,27 +7,27 @@ using System;
|
||||||
using IRaCIS.Core.Domain.Share;
|
using IRaCIS.Core.Domain.Share;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
namespace IRaCIS.Core.Domain.Models
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("后台 - 系统发布日志 (需要同步)")]
|
||||||
|
[Table("PublishLog")]
|
||||||
|
public class PublishLog : BaseFullAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
public bool IsCurrentVersion { get; set; }
|
||||||
///PublishLog
|
|
||||||
///</summary>
|
|
||||||
[Table("PublishLog")]
|
|
||||||
public class PublishLog : BaseFullAuditEntity
|
|
||||||
{
|
|
||||||
|
|
||||||
|
|
||||||
public string Version { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public DateTime? PublishTime { get; set; }
|
public DateTime? PublishTime { get; set; }
|
||||||
|
|
||||||
public string UpdateContent { get; set; } = string.Empty;
|
[Comment("0 开发中 1已发布")]
|
||||||
|
|
||||||
//0 开发中 ,已发布
|
|
||||||
public int State { get; set; }
|
public int State { get; set; }
|
||||||
|
|
||||||
public bool IsCurrentVersion { get; set; }
|
|
||||||
|
|
||||||
}
|
[MaxLength]
|
||||||
|
public string? UpdateContent { get; set; }
|
||||||
|
|
||||||
|
public string Version { get; set; } = null!;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -7,14 +7,13 @@ using System;
|
||||||
using IRaCIS.Core.Domain.Share;
|
using IRaCIS.Core.Domain.Share;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
namespace IRaCIS.Core.Domain.Models
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("医生 - 项目阅片标准参与一致性分析配置表")]
|
||||||
|
[Table("EnrollReadingCriterion")]
|
||||||
|
public class EnrollReadingCriterion : BaseAddAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
///EnrollReadingCriterion
|
|
||||||
///</summary>
|
|
||||||
[Table("EnrollReadingCriterion")]
|
|
||||||
public class EnrollReadingCriterion :BaseAddAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
|
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
|
@ -31,7 +30,7 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,62 +1,63 @@
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("Ò½Éú - ¼ÌÐø½ÌÓý¾Àú")]
|
||||||
|
[Table("Postgraduate")]
|
||||||
|
public class Postgraduate : BaseFullAuditEntity
|
||||||
{
|
{
|
||||||
[Table("Postgraduate")]
|
|
||||||
public partial class Postgraduate : BaseFullAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
public DateOnly? BeginDate { get; set; }
|
||||||
|
|
||||||
|
[StringLength(400)]
|
||||||
|
public string City { get; set; } = null!;
|
||||||
|
|
||||||
|
[StringLength(400)]
|
||||||
|
public string CityCN { get; set; } = null!;
|
||||||
|
|
||||||
|
[StringLength(400)]
|
||||||
|
public string Country { get; set; } = null!;
|
||||||
|
|
||||||
|
[StringLength(400)]
|
||||||
|
public string CountryCN { get; set; } = null!;
|
||||||
|
|
||||||
public Guid DoctorId { get; set; }
|
public Guid DoctorId { get; set; }
|
||||||
|
|
||||||
[Column(TypeName = "date")]
|
public DateOnly? EndDate { get; set; }
|
||||||
public DateTime? BeginDate { get; set; }
|
|
||||||
|
|
||||||
[Column(TypeName = "date")]
|
[StringLength(400)]
|
||||||
public DateTime? EndDate { get; set; }
|
public string Hospital { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(50)]
|
[StringLength(400)]
|
||||||
public string Training { get; set; } = string.Empty;
|
public string HospitalCN { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(100)]
|
[StringLength(400)]
|
||||||
public string Major { get; set; } = string.Empty;
|
public string Major { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(100)]
|
[StringLength(400)]
|
||||||
public string Hospital { get; set; } = string.Empty;
|
public string MajorCN { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(100)]
|
[StringLength(400)]
|
||||||
public string School { get; set; } = string.Empty;
|
public string Province { get; set; } = null!;
|
||||||
[StringLength(100)]
|
|
||||||
public string Country { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
[StringLength(100)]
|
[StringLength(400)]
|
||||||
public string Province { get; set; } = string.Empty;
|
public string ProvinceCN { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(100)]
|
[StringLength(400)]
|
||||||
public string City { get; set; } = string.Empty;
|
public string School { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(50)]
|
[StringLength(400)]
|
||||||
public string TrainingCN { get; set; } = string.Empty;
|
public string SchoolCN { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(100)]
|
[StringLength(400)]
|
||||||
public string MajorCN { get; set; } = string.Empty;
|
public string Training { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(100)]
|
[StringLength(400)]
|
||||||
public string HospitalCN { get; set; } = string.Empty;
|
public string TrainingCN { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(100)]
|
|
||||||
public string SchoolCN { get; set; } = string.Empty;
|
|
||||||
[StringLength(100)]
|
|
||||||
public string CountryCN { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
[StringLength(100)]
|
|
||||||
public string ProvinceCN { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
[StringLength(100)]
|
|
||||||
public string CityCN { get; set; } = string.Empty;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,23 +1,40 @@
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System;
|
using System;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("Ò½Éú - ¿ÆÑÐѧÊõ¼Ç¼")]
|
||||||
|
[Table("ResearchPublication")]
|
||||||
|
public partial class ResearchPublication : BaseFullAuditEntity
|
||||||
{
|
{
|
||||||
[Table("ResearchPublication")]
|
|
||||||
public partial class ResearchPublication : BaseFullAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
public Guid DoctorId { get; set; }
|
[MaxLength]
|
||||||
public string Research { get; set; } = string.Empty;
|
public string? AwardsHonors { get; set; }
|
||||||
public string Grants { get; set; } = string.Empty;
|
|
||||||
public string Publications { get; set; } = string.Empty;
|
|
||||||
public string AwardsHonors { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public string ResearchCN { get; set; } = string.Empty;
|
[MaxLength]
|
||||||
public string GrantsCN { get; set; } = string.Empty;
|
public string? AwardsHonorsCN { get; set; }
|
||||||
public string PublicationsCN { get; set; } = string.Empty;
|
|
||||||
public string AwardsHonorsCN { get; set; } = string.Empty;
|
public Guid DoctorId { get; set; }
|
||||||
}
|
|
||||||
|
[MaxLength]
|
||||||
|
public string? Grants { get; set; }
|
||||||
|
|
||||||
|
[MaxLength]
|
||||||
|
public string? GrantsCN { get; set; }
|
||||||
|
|
||||||
|
[MaxLength]
|
||||||
|
public string? Publications { get; set; }
|
||||||
|
|
||||||
|
[MaxLength]
|
||||||
|
public string? PublicationsCN { get; set; }
|
||||||
|
|
||||||
|
[MaxLength]
|
||||||
|
public string? Research { get; set; }
|
||||||
|
|
||||||
|
[MaxLength]
|
||||||
|
public string? ResearchCN { get; set; }
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,15 +1,16 @@
|
||||||
using System;
|
using System;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Table("ExchangeRate")]
|
||||||
|
public class ExchangeRate : BaseFullAuditEntity
|
||||||
{
|
{
|
||||||
[Table("ExchangeRate")]
|
[StringLength(400)]
|
||||||
public class ExchangeRate : BaseFullAuditEntity
|
|
||||||
{
|
|
||||||
public string YearMonth { get; set; } = string.Empty;
|
public string YearMonth { get; set; } = string.Empty;
|
||||||
|
|
||||||
[Column(TypeName = "decimal(18,2)")]
|
[DecimalPrecision(18, 2)]
|
||||||
public decimal Rate { get; set; }
|
public decimal Rate { get; set; }
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,41 +1,54 @@
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
|
||||||
|
[Comment("医生计费 - 每月支付记录表")]
|
||||||
|
[Table("Payment")]
|
||||||
|
public class Payment : BaseFullAuditEntity
|
||||||
{
|
{
|
||||||
|
[DecimalPrecision(18, 4)]
|
||||||
|
public decimal ActuallyPaidCNY { get; set; }
|
||||||
|
|
||||||
[Table("Payment")]
|
[DecimalPrecision(18, 4)]
|
||||||
public partial class Payment : BaseFullAuditEntity
|
|
||||||
{
|
|
||||||
public Guid DoctorId { get; set; }
|
|
||||||
public string YearMonth { get; set; } = string.Empty;
|
|
||||||
public bool IsLock { get; set; }
|
|
||||||
public DateTime YearMonthDate { get; set; }
|
|
||||||
|
|
||||||
[Column(TypeName = "decimal(18,2)")]
|
|
||||||
public decimal PaymentUSD { get; set; }
|
|
||||||
|
|
||||||
[Column(TypeName = "decimal(18,4)")]
|
|
||||||
public decimal PaymentCNY { get; set; }
|
|
||||||
|
|
||||||
[Column(TypeName = "decimal(18,2)")]
|
|
||||||
public decimal ExchangeRate { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
[Column(TypeName = "decimal(18,4)")]
|
|
||||||
public decimal AdjustmentCNY { get; set; }
|
public decimal AdjustmentCNY { get; set; }
|
||||||
|
|
||||||
[Column(TypeName = "decimal(18,2)")]
|
[DecimalPrecision(18, 2)]
|
||||||
public decimal AdjustmentUSD { get; set; }
|
public decimal AdjustmentUSD { get; set; }
|
||||||
|
|
||||||
|
[DecimalPrecision(18, 4)]
|
||||||
|
public decimal BankTransferCNY { get; set; }
|
||||||
|
|
||||||
public DateTime CalculateTime { get; set; } = DateTime.Now;
|
public DateTime CalculateTime { get; set; } = DateTime.Now;
|
||||||
|
|
||||||
[StringLength(100)]
|
[StringLength(400)]
|
||||||
public string CalculateUser { get; set; } = string.Empty;
|
public string CalculateUser { get; set; } = null!;
|
||||||
|
|
||||||
[StringLength(500)]
|
public Guid DoctorId { get; set; }
|
||||||
public string Note { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
|
[DecimalPrecision(18, 2)]
|
||||||
|
public decimal ExchangeRate { get; set; }
|
||||||
|
|
||||||
|
public bool IsLock { get; set; }
|
||||||
|
|
||||||
|
[StringLength(1000)]
|
||||||
|
public string Note { get; set; } = null!;
|
||||||
|
|
||||||
|
[DecimalPrecision(18, 4)]
|
||||||
|
public decimal PaymentCNY { get; set; }
|
||||||
|
|
||||||
|
[DecimalPrecision(18, 2)]
|
||||||
|
public decimal PaymentUSD { get; set; }
|
||||||
|
|
||||||
|
[DecimalPrecision(18, 4)]
|
||||||
|
public decimal TaxCNY { get; set; }
|
||||||
|
|
||||||
|
[StringLength(400)]
|
||||||
|
public string YearMonth { get; set; } = null!;
|
||||||
|
|
||||||
|
public DateTime YearMonthDate { get; set; }
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,29 +1,35 @@
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System;
|
using System;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("医生计费 - 项目每月调整记录表")]
|
||||||
|
[Table("PaymentAdjustment")]
|
||||||
|
public partial class PaymentAdjustment : BaseFullAuditEntity
|
||||||
{
|
{
|
||||||
[Table("PaymentAdjustment")]
|
[DecimalPrecision(18, 4)]
|
||||||
public partial class PaymentAdjustment : BaseFullAuditEntity
|
|
||||||
{
|
|
||||||
public Guid ReviewerId { get; set; }
|
|
||||||
|
|
||||||
public DateTime YearMonthDate { get; set; }
|
|
||||||
public string YearMonth { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
[Column(TypeName = "decimal(18,2)")]
|
|
||||||
public decimal AdjustmentUSD { get; set; }
|
|
||||||
|
|
||||||
[Column(TypeName = "decimal(18,4)")]
|
|
||||||
public decimal AdjustmentCNY { get; set; }
|
public decimal AdjustmentCNY { get; set; }
|
||||||
|
|
||||||
|
[DecimalPrecision(18, 2)]
|
||||||
|
public decimal AdjustmentUSD { get; set; }
|
||||||
|
|
||||||
public Guid TrialId { get; set; } = Guid.Empty;
|
[DecimalPrecision(18, 2)]
|
||||||
|
|
||||||
[Column(TypeName = "decimal(18,2)")]
|
|
||||||
public decimal ExchangeRate { get; set; }
|
public decimal ExchangeRate { get; set; }
|
||||||
public bool IsLock { get; set; } = false;
|
|
||||||
public string Note { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
}
|
public bool IsLock { get; set; }
|
||||||
|
|
||||||
|
[StringLength(1000)]
|
||||||
|
public string Note { get; set; } = null!;
|
||||||
|
|
||||||
|
public Guid ReviewerId { get; set; }
|
||||||
|
|
||||||
|
public Guid TrialId { get; set; }
|
||||||
|
|
||||||
|
[StringLength(400)]
|
||||||
|
public string YearMonth { get; set; } = null!;
|
||||||
|
|
||||||
|
public DateTime YearMonthDate { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,44 +1,51 @@
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("医生计费 - 每月支付详情表")]
|
||||||
|
[Table("PaymentDetail")]
|
||||||
|
public class PaymentDetail : BaseFullAuditEntity
|
||||||
{
|
{
|
||||||
[Table("PaymentDetail")]
|
[DecimalPrecision(18, 2)]
|
||||||
public partial class PaymentDetail : BaseFullAuditEntity
|
|
||||||
{
|
|
||||||
public Guid PaymentId { get; set; }
|
|
||||||
public Guid DoctorId { get; set; }
|
|
||||||
public string YearMonth { get; set; } = string.Empty;
|
|
||||||
public Guid TrialId { get; set; }
|
|
||||||
|
|
||||||
[StringLength(50)]
|
|
||||||
public string TrialCode { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
[StringLength(50)]
|
|
||||||
public string PaymentType { get; set; } = string.Empty;
|
|
||||||
public int Count { get; set; }
|
|
||||||
|
|
||||||
[Column(TypeName = "decimal(18,2)")]
|
|
||||||
public decimal BasePrice { get; set; }
|
public decimal BasePrice { get; set; }
|
||||||
|
|
||||||
[Column(TypeName = "decimal(18,2)")]
|
public int Count { get; set; }
|
||||||
public decimal PersonalAdditional { get; set; }
|
|
||||||
|
|
||||||
[Column(TypeName = "decimal(18,2)")]
|
public Guid DoctorId { get; set; }
|
||||||
public decimal TrialAdditional { get; set; }
|
|
||||||
|
|
||||||
[Column(TypeName = "decimal(18,2)")]
|
[DecimalPrecision(18, 2)]
|
||||||
public decimal ExchangeRate { get; set; }
|
public decimal ExchangeRate { get; set; }
|
||||||
|
|
||||||
[Column(TypeName = "decimal(18,2)")]
|
[DecimalPrecision(18, 4)]
|
||||||
public decimal PaymentUSD { get; set; }
|
|
||||||
|
|
||||||
[Column(TypeName = "decimal(18,4)")]
|
|
||||||
public decimal PaymentCNY { get; set; }
|
public decimal PaymentCNY { get; set; }
|
||||||
|
|
||||||
public int ShowTypeOrder { get; set; }
|
public Guid PaymentId { get; set; }
|
||||||
|
|
||||||
|
[StringLength(400)]
|
||||||
|
public string PaymentType { get; set; } = null!;
|
||||||
|
|
||||||
|
[DecimalPrecision(18, 2)]
|
||||||
|
public decimal PaymentUSD { get; set; }
|
||||||
|
|
||||||
|
[DecimalPrecision(18, 2)]
|
||||||
|
public decimal PersonalAdditional { get; set; }
|
||||||
|
|
||||||
public int ShowCodeOrder { get; set; }
|
public int ShowCodeOrder { get; set; }
|
||||||
|
|
||||||
}
|
public int ShowTypeOrder { get; set; }
|
||||||
|
|
||||||
|
[DecimalPrecision(18, 2)]
|
||||||
|
public decimal TrialAdditional { get; set; }
|
||||||
|
|
||||||
|
[StringLength(400)]
|
||||||
|
public string TrialCode { get; set; } = null!;
|
||||||
|
|
||||||
|
public Guid TrialId { get; set; }
|
||||||
|
|
||||||
|
[StringLength(400)]
|
||||||
|
public string YearMonth { get; set; } = null!;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,43 +2,42 @@ using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Table("RankPrice")]
|
||||||
|
public partial class RankPrice : BaseFullAuditEntity
|
||||||
{
|
{
|
||||||
[Table("RankPrice")]
|
[DecimalPrecision(18, 2)]
|
||||||
public partial class RankPrice : BaseFullAuditEntity
|
|
||||||
{
|
|
||||||
[StringLength(200)]
|
|
||||||
public string RankName { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
[Column(TypeName = "decimal(18,2)")]
|
|
||||||
public decimal Timepoint { get; set; }
|
|
||||||
|
|
||||||
[Column(TypeName = "decimal(18,2)")]
|
|
||||||
public decimal TimepointIn24H { get; set; }
|
|
||||||
|
|
||||||
[Column(TypeName = "decimal(18,2)")]
|
|
||||||
public decimal TimepointIn48H { get; set; }
|
|
||||||
|
|
||||||
[Column(TypeName = "decimal(18,2)")]
|
|
||||||
public decimal Adjudication { get; set; }
|
public decimal Adjudication { get; set; }
|
||||||
|
|
||||||
[Column(TypeName = "decimal(18,2)")]
|
[DecimalPrecision(18, 2)]
|
||||||
public decimal AdjudicationIn24H { get; set; }
|
public decimal AdjudicationIn24H { get; set; }
|
||||||
|
|
||||||
[Column(TypeName = "decimal(18,2)")]
|
[DecimalPrecision(18, 2)]
|
||||||
public decimal AdjudicationIn48H { get; set; }
|
public decimal AdjudicationIn48H { get; set; }
|
||||||
|
|
||||||
[Column(TypeName = "decimal(18,2)")]
|
[DecimalPrecision(18, 2)]
|
||||||
public decimal Global { get; set; }
|
|
||||||
|
|
||||||
[Column(TypeName = "decimal(18,2)")]
|
|
||||||
public decimal Training { get; set; }
|
|
||||||
|
|
||||||
[Column(TypeName = "decimal(18,2)")]
|
|
||||||
public decimal Downtime { get; set; }
|
public decimal Downtime { get; set; }
|
||||||
|
|
||||||
[Column(TypeName = "decimal(18,2)")]
|
[DecimalPrecision(18, 2)]
|
||||||
|
public decimal Global { get; set; }
|
||||||
|
|
||||||
|
public string RankName { get; set; } = null!;
|
||||||
|
|
||||||
|
[DecimalPrecision(18, 2)]
|
||||||
public decimal RefresherTraining { get; set; }
|
public decimal RefresherTraining { get; set; }
|
||||||
|
|
||||||
public int ShowOrder { get; set; }
|
public int ShowOrder { get; set; }
|
||||||
}
|
|
||||||
|
[DecimalPrecision(18, 2)]
|
||||||
|
public decimal Timepoint { get; set; }
|
||||||
|
|
||||||
|
[DecimalPrecision(18, 2)]
|
||||||
|
public decimal TimepointIn24H { get; set; }
|
||||||
|
|
||||||
|
[DecimalPrecision(18, 2)]
|
||||||
|
public decimal TimepointIn48H { get; set; }
|
||||||
|
|
||||||
|
[DecimalPrecision(18, 2)]
|
||||||
|
public decimal Training { get; set; }
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,17 +3,16 @@
|
||||||
// 此代码由T4模板自动生成 byzhouhang 20210918
|
// 此代码由T4模板自动生成 byzhouhang 20210918
|
||||||
// 生成时间 2022-01-25 13:26:03
|
// 生成时间 2022-01-25 13:26:03
|
||||||
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("项目 - 影像上传监控")]
|
||||||
|
[Table("StudyMonitor")]
|
||||||
|
public class StudyMonitor : BaseAddAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
///DicomStudyMonitor
|
|
||||||
///</summary>
|
|
||||||
[Table("StudyMonitor")]
|
|
||||||
public class StudyMonitor : BaseAddAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
[ForeignKey("StudyId")]
|
[ForeignKey("StudyId")]
|
||||||
|
@ -40,52 +39,41 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//可能是Dicom 也可能是非Dicom 该字段废弃
|
|
||||||
public Guid StudyId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
public DateTime UploadStartTime { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
public DateTime? UploadFinishedTime { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
public DateTime? ArchiveFinishedTime { get; set; }
|
public DateTime? ArchiveFinishedTime { get; set; }
|
||||||
|
|
||||||
public int FailedFileCount { get; set; }
|
public int FailedFileCount { get; set; }
|
||||||
|
|
||||||
|
public int FileCount { get; set; }
|
||||||
|
|
||||||
public long FileSize { get; set; }
|
public long FileSize { get; set; }
|
||||||
|
|
||||||
public string IP { get; set; }=string.Empty;
|
public string IP { get; set; } = null!;
|
||||||
|
|
||||||
|
|
||||||
public bool IsDicomReUpload { get; set; }
|
|
||||||
|
|
||||||
public bool IsDicom { get; set; }
|
public bool IsDicom { get; set; }
|
||||||
|
|
||||||
public int FileCount { get; set; }
|
public bool IsDicomReUpload { get; set; }
|
||||||
|
|
||||||
public string StudyCode { get; set; } = string.Empty;
|
public bool IsSuccess { get; set; }
|
||||||
|
|
||||||
|
public string Note { get; set; } = null!;
|
||||||
|
|
||||||
public Guid TrialId { get; set; }
|
[StringLength(1024)]
|
||||||
|
public string RecordPath { get; set; } = null!;
|
||||||
|
|
||||||
|
public string StudyCode { get; set; } = null!;
|
||||||
|
|
||||||
|
[Comment(" Dicom/非Dicom")]
|
||||||
|
public Guid StudyId { get; set; }
|
||||||
|
|
||||||
public Guid SubjectId { get; set; }
|
public Guid SubjectId { get; set; }
|
||||||
|
|
||||||
public Guid SubjectVisitId { get; set; }
|
public Guid SubjectVisitId { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
public Guid TrialId { get; set; }
|
||||||
|
|
||||||
public bool IsSuccess { get; set; }
|
public DateTime? UploadFinishedTime { get; set; }
|
||||||
|
|
||||||
public string Note { get; set; } = string.Empty;
|
public DateTime UploadStartTime { get; set; }
|
||||||
|
|
||||||
public string RecordPath { get; set; }=string.Empty;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,19 +1,24 @@
|
||||||
using System;
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
using System;
|
||||||
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("影像 - 影像分享记录表")]
|
||||||
|
[Table("ImageShare")]
|
||||||
|
public class ImageShare: Entity
|
||||||
{
|
{
|
||||||
public class ImageShare: Entity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
public Guid TrialId { get; set; }
|
|
||||||
public Guid SubjectId { get; set; }
|
|
||||||
public Guid StudyId { get; set; }
|
|
||||||
|
|
||||||
public DateTime ExpireTime { get; set; }
|
public DateTime ExpireTime { get; set; }
|
||||||
|
|
||||||
public string Password { get; set; } = string.Empty;
|
public string Password { get; set; } = null!;
|
||||||
|
|
||||||
|
public Guid StudyId { get; set; }
|
||||||
|
|
||||||
|
public Guid SubjectId { get; set; }
|
||||||
|
|
||||||
|
public Guid TrialId { get; set; }
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
|
@ -3,18 +3,17 @@
|
||||||
// 此代码由T4模板自动生成 byzhouhang 20210918
|
// 此代码由T4模板自动生成 byzhouhang 20210918
|
||||||
// 生成时间 2021-12-06 10:49:39
|
// 生成时间 2021-12-06 10:49:39
|
||||||
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("影像 - 非dicom检查")]
|
||||||
|
[Table("NoneDicomStudy")]
|
||||||
|
public class NoneDicomStudy : BaseFullAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
///NoneDicomStudy
|
|
||||||
///</summary>
|
|
||||||
[Table("NoneDicomStudy")]
|
|
||||||
public class NoneDicomStudy : BaseFullAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public List<NoneDicomStudyFile> NoneDicomFileList { get; set; }
|
public List<NoneDicomStudyFile> NoneDicomFileList { get; set; }
|
||||||
|
@ -30,42 +29,34 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
|
public string BodyPart { get; set; } = null!;
|
||||||
public string StudyCode { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public int FileCount { get; set; }
|
|
||||||
|
|
||||||
public int Code { get; set; }
|
public int Code { get; set; }
|
||||||
|
|
||||||
public Guid TrialId { get; set; }
|
public string Description { get; set; } = null!;
|
||||||
|
|
||||||
|
public int FileCount { get; set; }
|
||||||
public Guid SubjectId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
public Guid SubjectVisitId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public string BodyPart { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
public string Modality { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public DateTime ImageDate { get; set; }
|
public DateTime ImageDate { get; set; }
|
||||||
|
|
||||||
|
public string Modality { get; set; } = null!;
|
||||||
|
|
||||||
public string Description { get; set; } = string.Empty;
|
public string StudyCode { get; set; } = null!;
|
||||||
|
|
||||||
|
public Guid SubjectId { get; set; }
|
||||||
|
|
||||||
public string VideoName { get; set; } = string.Empty;
|
public Guid SubjectVisitId { get; set; }
|
||||||
|
|
||||||
public string VideoObjectName { get; set; } = string.Empty;
|
public Guid TrialId { get; set; }
|
||||||
|
|
||||||
public DateTime? UploadVideoTime { get; set; }
|
public DateTime? UploadVideoTime { get; set; }
|
||||||
|
|
||||||
public string VideoUrl { get; set; } = string.Empty;
|
public string VideoName { get; set; } = null!;
|
||||||
|
|
||||||
}
|
public string VideoObjectName { get; set; } = null!;
|
||||||
|
|
||||||
|
public string VideoUrl { get; set; } = null!;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -3,15 +3,17 @@
|
||||||
// 此代码由T4模板自动生成 byzhouhang 20210918
|
// 此代码由T4模板自动生成 byzhouhang 20210918
|
||||||
// 生成时间 2021-12-06 10:49:39
|
// 生成时间 2021-12-06 10:49:39
|
||||||
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
{
|
|
||||||
|
|
||||||
[Table("NoneDicomStudyFile")]
|
|
||||||
public class NoneDicomStudyFile : BaseAddAuditEntity
|
[Comment("影像 - 非dicom检查关联文件表")]
|
||||||
{
|
[Table("NoneDicomStudyFile")]
|
||||||
|
public class NoneDicomStudyFile : BaseAddAuditEntity
|
||||||
|
{
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
[ForeignKey("NoneDicomStudyId")]
|
[ForeignKey("NoneDicomStudyId")]
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
|
@ -27,31 +29,22 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
public Guid NoneDicomStudyId { get; set; }
|
public string FileName { get; set; } = null!;
|
||||||
|
|
||||||
|
|
||||||
public string Path { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
public string FileName { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public string FileType { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public long? FileSize { get; set; }
|
public long? FileSize { get; set; }
|
||||||
|
|
||||||
|
public string FileType { get; set; } = null!;
|
||||||
|
|
||||||
#region 跟任务绑定 同时区分检查
|
public Guid NoneDicomStudyId { get; set; }
|
||||||
|
|
||||||
|
[Comment("为了不影响原始检查,跟任务绑定的 NoneDicomStudyId 为guid空 这个字段记录跟原始检查绑")]
|
||||||
|
public Guid? OriginNoneDicomStudyId { get; set; }
|
||||||
|
|
||||||
|
[StringLength(512)]
|
||||||
|
public string Path { get; set; } = null!;
|
||||||
|
|
||||||
|
[Comment("任务Id,配合OriginNoneDicomStudyId 一起使用")]
|
||||||
public Guid? VisitTaskId { get; set; }
|
public Guid? VisitTaskId { get; set; }
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 为了不影响原始检查,跟任务绑定的 NoneDicomStudyId 为guid空 这个字段记录跟原始检查绑
|
|
||||||
/// </summary>
|
|
||||||
public Guid? OriginNoneDicomStudyId { get; set; }
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,14 +8,13 @@ using IRaCIS.Core.Domain.Share;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
namespace IRaCIS.Core.Domain.Models
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("项目中心 - 影像推送记录")]
|
||||||
|
[Table("SCPImageUpload")]
|
||||||
|
public class SCPImageUpload : BaseAddAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
///SCPImageUpload
|
|
||||||
///</summary>
|
|
||||||
[Table("SCPImageUpload")]
|
|
||||||
public class SCPImageUpload : BaseAddAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public Trial Trial { get; set; }
|
public Trial Trial { get; set; }
|
||||||
|
@ -25,42 +24,26 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
public string CallingAE { get; set; }=string.Empty;
|
public string CalledAE { get; set; } = null!;
|
||||||
|
|
||||||
|
public string CallingAE { get; set; } = null!;
|
||||||
|
|
||||||
public string CalledAE { get; set; } = string.Empty;
|
public string CallingAEIP { get; set; } = null!;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public string CallingAEIP { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public DateTime StartTime { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
public DateTime EndTime { get; set; }
|
public DateTime EndTime { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public int FileCount { get; set; }
|
public int FileCount { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public long FileSize { get; set; }
|
public long FileSize { get; set; }
|
||||||
|
|
||||||
|
public DateTime StartTime { get; set; }
|
||||||
|
|
||||||
public int StudyCount { get; set; }
|
public int StudyCount { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public Guid TrialId { get; set; }
|
public Guid TrialId { get; set; }
|
||||||
|
|
||||||
public Guid TrialSiteId { get; set; }
|
public Guid TrialSiteId { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
using System;
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
|
@ -17,36 +18,59 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
public SCPStudy SCPStudy { get; set; }
|
public SCPStudy SCPStudy { get; set; }
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public Guid SeqId { get; set; }
|
|
||||||
public Guid StudyId { get; set; }
|
|
||||||
public Guid SeriesId { get; set; }
|
|
||||||
public string StudyInstanceUid { get; set; } = string.Empty;
|
|
||||||
public string SeriesInstanceUid { get; set; } = string.Empty;
|
|
||||||
public string SopInstanceUid { get; set; } = string.Empty;
|
|
||||||
public int InstanceNumber { get; set; }
|
|
||||||
public DateTime? InstanceTime { get; set; }
|
|
||||||
public bool CPIStatus { get; set; }
|
|
||||||
public int ImageRows { get; set; }
|
|
||||||
public int ImageColumns { get; set; }
|
|
||||||
public int SliceLocation { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
public string SliceThickness { get; set; } = string.Empty;
|
|
||||||
public int NumberOfFrames { get; set; }
|
|
||||||
public string PixelSpacing { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public string ImagerPixelSpacing { get; set; } = string.Empty;
|
|
||||||
public string FrameOfReferenceUID { get; set; } = string.Empty;
|
|
||||||
public string WindowCenter { get; set; } = string.Empty;
|
|
||||||
public string WindowWidth { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public bool Anonymize { get; set; }
|
public bool Anonymize { get; set; }
|
||||||
public string Path { get; set; } = string.Empty;
|
|
||||||
|
public bool CPIStatus { get; set; }
|
||||||
|
|
||||||
public long? FileSize { get; set; }
|
public long? FileSize { get; set; }
|
||||||
|
|
||||||
|
[StringLength(500)]
|
||||||
|
public string FrameOfReferenceUID { get; set; } = null!;
|
||||||
|
|
||||||
|
public int ImageColumns { get; set; }
|
||||||
|
|
||||||
|
public int ImageRows { get; set; }
|
||||||
|
|
||||||
|
[StringLength(400)]
|
||||||
|
public string ImagerPixelSpacing { get; set; } = null!;
|
||||||
|
|
||||||
|
public int InstanceNumber { get; set; }
|
||||||
|
|
||||||
|
public DateTime? InstanceTime { get; set; }
|
||||||
|
|
||||||
|
public int NumberOfFrames { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
[MaxLength]
|
||||||
|
[Unicode(false)]
|
||||||
|
public string Path { get; set; } = null!;
|
||||||
|
|
||||||
|
[StringLength(400)]
|
||||||
|
public string PixelSpacing { get; set; } = null!;
|
||||||
|
|
||||||
|
public Guid SeqId { get; set; }
|
||||||
|
|
||||||
|
public Guid SeriesId { get; set; }
|
||||||
|
|
||||||
|
public string SeriesInstanceUid { get; set; } = null!;
|
||||||
|
|
||||||
|
public int SliceLocation { get; set; }
|
||||||
|
|
||||||
|
[StringLength(400)]
|
||||||
|
public string SliceThickness { get; set; } = null!;
|
||||||
|
|
||||||
|
public string SopInstanceUid { get; set; } = null!;
|
||||||
|
|
||||||
|
public Guid StudyId { get; set; }
|
||||||
|
|
||||||
|
public string StudyInstanceUid { get; set; } = null!;
|
||||||
|
|
||||||
|
[StringLength(400)]
|
||||||
|
public string WindowCenter { get; set; } = null!;
|
||||||
|
|
||||||
|
[StringLength(400)]
|
||||||
|
public string WindowWidth { get; set; } = null!;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,13 +1,15 @@
|
||||||
using System;
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("项目中心 - 推送检查患者")]
|
||||||
|
[Table("SCPPatient")]
|
||||||
|
public class SCPPatient : BaseFullAuditEntity
|
||||||
{
|
{
|
||||||
[Table("SCPPatient")]
|
|
||||||
public class SCPPatient : BaseFullAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public List<SCPStudy> SCPStudyList { get; set; }
|
public List<SCPStudy> SCPStudyList { get; set; }
|
||||||
|
@ -19,26 +21,28 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
public TrialSite TrialSite { get; set; }
|
public TrialSite TrialSite { get; set; }
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
public string PatientIdStr { get; set; } = string.Empty;
|
|
||||||
public string PatientName { get; set; } = string.Empty;
|
|
||||||
public string PatientAge { get; set; } = string.Empty;
|
|
||||||
public string PatientSex { get; set; } = string.Empty;
|
|
||||||
public string PatientBirthDate { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public DateTime? EarliestStudyTime { get; set; }
|
public DateTime? EarliestStudyTime { get; set; }
|
||||||
|
|
||||||
public DateTime? LatestStudyTime { get; set; }
|
|
||||||
|
|
||||||
public DateTime LatestPushTime { get; set; }
|
public DateTime LatestPushTime { get; set; }
|
||||||
|
|
||||||
|
public DateTime? LatestStudyTime { get; set; }
|
||||||
|
|
||||||
|
public string PatientAge { get; set; } = null!;
|
||||||
|
|
||||||
|
public string PatientBirthDate { get; set; } = null!;
|
||||||
|
|
||||||
|
public string PatientIdStr { get; set; } = null!;
|
||||||
|
|
||||||
|
public string PatientName { get; set; } = null!;
|
||||||
|
|
||||||
|
public string PatientSex { get; set; } = null!;
|
||||||
|
|
||||||
public Guid? SubjectId { get; set; }
|
public Guid? SubjectId { get; set; }
|
||||||
|
|
||||||
public Guid TrialId { get; set; }
|
public Guid TrialId { get; set; }
|
||||||
|
|
||||||
public Guid TrialSiteId { get; set; }
|
public Guid TrialSiteId { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,13 +1,15 @@
|
||||||
using System;
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("项目中心 - 推送序列")]
|
||||||
|
[Table("SCPSeries")]
|
||||||
|
public class SCPSeries : BaseFullDeleteAuditEntity, IEntitySeqId
|
||||||
{
|
{
|
||||||
[Table("SCPSeries")]
|
|
||||||
public class SCPSeries : BaseFullDeleteAuditEntity, IEntitySeqId
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
[ForeignKey("StudyId")]
|
[ForeignKey("StudyId")]
|
||||||
|
@ -18,33 +20,51 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
public Guid SeqId { get; set; }
|
public string AcquisitionNumber { get; set; } = null!;
|
||||||
public Guid StudyId { get; set; }
|
|
||||||
public string StudyInstanceUid { get; set; } = string.Empty;
|
public string AcquisitionTime { get; set; } = null!;
|
||||||
public string SeriesInstanceUid { get; set; } = string.Empty;
|
|
||||||
public int SeriesNumber { get; set; }
|
public string BodyPartExamined { get; set; } = null!;
|
||||||
public DateTime? SeriesTime { get; set; }
|
|
||||||
public string Modality { get; set; }=string.Empty;
|
public string BodyPartForEdit { get; set; } = null!;
|
||||||
public string Description { get; set; } = string.Empty;
|
|
||||||
|
[StringLength(500)]
|
||||||
|
public string Description { get; set; } = null!;
|
||||||
|
|
||||||
|
public string ImageOrientationPatient { get; set; } = null!;
|
||||||
|
|
||||||
|
public string ImagePositionPatient { get; set; } = null!;
|
||||||
|
|
||||||
|
[StringLength(520)]
|
||||||
|
public string ImageResizePath { get; set; } = null!;
|
||||||
|
|
||||||
|
public string ImagerPixelSpacing { get; set; } = null!;
|
||||||
|
|
||||||
public int InstanceCount { get; set; }
|
public int InstanceCount { get; set; }
|
||||||
public string SliceThickness { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public string ImagePositionPatient { get; set; } = string.Empty;
|
public bool? IsReading { get; set; }
|
||||||
public string ImageOrientationPatient { get; set; } = string.Empty;
|
|
||||||
public string BodyPartExamined { get; set; } = string.Empty;
|
|
||||||
public string SequenceName { get; set; } = string.Empty;
|
|
||||||
public string ProtocolName { get; set; } = string.Empty;
|
|
||||||
public string ImagerPixelSpacing { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public string AcquisitionTime { get; set; } = string.Empty;
|
public string Modality { get; set; } = null!;
|
||||||
public string AcquisitionNumber { get; set; } = string.Empty;
|
|
||||||
public string TriggerTime { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public string BodyPartForEdit { get; set; } = string.Empty;
|
[StringLength(500)]
|
||||||
|
public string ProtocolName { get; set; } = null!;
|
||||||
|
|
||||||
public bool IsReading { get; set; } = true;
|
public Guid SeqId { get; set; }
|
||||||
|
|
||||||
public string ImageResizePath { get; set; }=string.Empty;
|
public string SequenceName { get; set; } = null!;
|
||||||
|
|
||||||
|
public string SeriesInstanceUid { get; set; } = null!;
|
||||||
|
|
||||||
|
public int SeriesNumber { get; set; }
|
||||||
|
|
||||||
|
public DateTime? SeriesTime { get; set; }
|
||||||
|
|
||||||
|
public string SliceThickness { get; set; } = null!;
|
||||||
|
|
||||||
|
public Guid StudyId { get; set; }
|
||||||
|
|
||||||
|
public string StudyInstanceUid { get; set; } = null!;
|
||||||
|
|
||||||
|
public string TriggerTime { get; set; } = null!;
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,13 +1,15 @@
|
||||||
using System;
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("项目中心 - 推送检查")]
|
||||||
|
[Table("SCPStudy")]
|
||||||
|
public class SCPStudy : BaseFullDeleteAuditEntity, IEntitySeqId
|
||||||
{
|
{
|
||||||
[Table("SCPStudy")]
|
|
||||||
public class SCPStudy : BaseFullDeleteAuditEntity, IEntitySeqId
|
|
||||||
{
|
|
||||||
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
|
@ -24,64 +26,78 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public TrialSite TrialSite { get; set; }
|
public TrialSite TrialSite { get; set; }
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//0 未知 1 单重 2 双重
|
|
||||||
public bool IsDoubleReview { get; set; }
|
|
||||||
|
|
||||||
public Guid SeqId { get; set; }
|
|
||||||
|
|
||||||
[ForeignKey("PatientId")]
|
[ForeignKey("PatientId")]
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public SCPPatient Patient { get; set; }
|
public SCPPatient Patient { get; set; }
|
||||||
public Guid PatientId { get; set; }
|
|
||||||
|
|
||||||
public string StudyInstanceUid { get; set; } = string.Empty;
|
#endregion
|
||||||
public DateTime? StudyTime { get; set; }
|
|
||||||
public string Modalities { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public string Description { get; set; } = string.Empty;
|
public string AccessionNumber { get; set; } = null!;
|
||||||
public int SeriesCount { get; set; } = 0;
|
|
||||||
public int InstanceCount { get; set; } = 0;
|
|
||||||
|
|
||||||
|
public string AcquisitionNumber { get; set; } = null!;
|
||||||
|
|
||||||
public string InstitutionName { get; set; } = string.Empty;
|
public string AcquisitionTime { get; set; } = null!;
|
||||||
public string PatientIdStr { get; set; } = string.Empty;
|
|
||||||
public string PatientName { get; set; } = string.Empty;
|
|
||||||
public string PatientAge { get; set; } = string.Empty;
|
|
||||||
public string PatientSex { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public string StudyId { get; set; } = string.Empty;
|
[StringLength(512)]
|
||||||
public string AccessionNumber { get; set; } = string.Empty;
|
public string BodyPartExamined { get; set; } = null!;
|
||||||
public string PatientBirthDate { get; set; } = string.Empty;
|
|
||||||
public string AcquisitionTime { get; set; } = string.Empty;
|
|
||||||
public string AcquisitionNumber { get; set; } = string.Empty;
|
|
||||||
public string TriggerTime { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public string BodyPartExamined { get; set; } = string.Empty;
|
public string BodyPartForEdit { get; set; } = null!;
|
||||||
|
|
||||||
public string BodyPartForEdit { get; set; } = string.Empty;
|
public string CalledAE { get; set; } = null!;
|
||||||
|
|
||||||
public string ModalityForEdit { get; set; } = string.Empty;
|
public string CallingAE { get; set; } = null!;
|
||||||
|
|
||||||
|
[StringLength(1000)]
|
||||||
|
public string Description { get; set; } = null!;
|
||||||
|
|
||||||
|
public int InstanceCount { get; set; }
|
||||||
|
|
||||||
public string CallingAE { get; set; } = string.Empty;
|
public string InstitutionName { get; set; } = null!;
|
||||||
|
|
||||||
public string CalledAE { get; set; } = string.Empty;
|
public bool IsDoubleReview { get; set; }
|
||||||
|
|
||||||
public bool IsUploadFinished { get; set; }
|
public bool IsUploadFinished { get; set; }
|
||||||
|
|
||||||
|
public string Modalities { get; set; } = null!;
|
||||||
|
|
||||||
public Guid TrialId { get; set; }
|
public string ModalityForEdit { get; set; } = null!;
|
||||||
public Guid TrialSiteId { get; set; }
|
|
||||||
|
public string PatientAge { get; set; } = null!;
|
||||||
|
|
||||||
|
public string PatientBirthDate { get; set; } = null!;
|
||||||
|
|
||||||
|
public Guid PatientId { get; set; }
|
||||||
|
|
||||||
|
public string PatientIdStr { get; set; } = null!;
|
||||||
|
|
||||||
|
public string PatientName { get; set; } = null!;
|
||||||
|
|
||||||
|
public string PatientSex { get; set; } = null!;
|
||||||
|
|
||||||
|
[Comment(" 序列Id 避免内存移动")]
|
||||||
|
public Guid SeqId { get; set; }
|
||||||
|
|
||||||
|
public int SeriesCount { get; set; }
|
||||||
|
|
||||||
|
[Comment(" DicomTag.StudyID")]
|
||||||
|
public string StudyId { get; set; } = null!;
|
||||||
|
|
||||||
|
[StringLength(500)]
|
||||||
|
public string StudyInstanceUid { get; set; } = null!;
|
||||||
|
|
||||||
|
public DateTime? StudyTime { get; set; }
|
||||||
|
|
||||||
public Guid? SubjectVisitId { get; set; }
|
public Guid? SubjectVisitId { get; set; }
|
||||||
|
|
||||||
|
public Guid TrialId { get; set; }
|
||||||
|
|
||||||
|
public Guid TrialSiteId { get; set; }
|
||||||
|
|
||||||
|
public string TriggerTime { get; set; } = null!;
|
||||||
|
|
||||||
|
[Comment(" 上传时间")]
|
||||||
|
public DateTime? UploadedTime { get; set; }
|
||||||
|
|
||||||
|
public string Uploader { get; set; } = null!;
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,12 +1,14 @@
|
||||||
using System;
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("机构 - 医院")]
|
||||||
|
[Table("Hospital")]
|
||||||
|
public class Hospital : BaseFullAuditEntity
|
||||||
{
|
{
|
||||||
[Table("Hospital")]
|
|
||||||
public class Hospital : BaseFullAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
[ForeignKey("SiteId")]
|
[ForeignKey("SiteId")]
|
||||||
|
@ -17,26 +19,29 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
public string HospitalName { get; set; } = string.Empty;
|
public string City { get; set; } = null!;
|
||||||
public string UniversityAffiliated { get; set; } = string.Empty;
|
|
||||||
public string Country { get; set; } = string.Empty;
|
|
||||||
public string Province { get; set; } = string.Empty;
|
|
||||||
public string City { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public string HospitalNameCN { get; set; } = string.Empty;
|
public string CityCN { get; set; } = null!;
|
||||||
public string UniversityAffiliatedCN { get; set; } = string.Empty;
|
|
||||||
public string CountryCN { get; set; } = string.Empty;
|
|
||||||
public string ProvinceCN { get; set; } = string.Empty;
|
|
||||||
public string CityCN { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
|
public string Country { get; set; } = null!;
|
||||||
|
|
||||||
/// <summary>
|
public string CountryCN { get; set; } = null!;
|
||||||
/// 中心Id
|
|
||||||
/// </summary>
|
public string HospitalName { get; set; } = null!;
|
||||||
public Guid? SiteId { get; set; } = Guid.Empty;
|
|
||||||
|
public string HospitalNameCN { get; set; } = null!;
|
||||||
|
|
||||||
|
public string Province { get; set; } = null!;
|
||||||
|
|
||||||
|
public string ProvinceCN { get; set; } = null!;
|
||||||
|
|
||||||
|
public Guid? SiteId { get; set; }
|
||||||
|
|
||||||
|
public string UniversityAffiliated { get; set; } = null!;
|
||||||
|
|
||||||
|
public string UniversityAffiliatedCN { get; set; } = null!;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,12 +1,15 @@
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("»ú¹¹ - Site")]
|
||||||
|
[Table("Site")]
|
||||||
|
public partial class Site : BaseFullAuditEntity
|
||||||
{
|
{
|
||||||
[Table("Site")]
|
|
||||||
public partial class Site : BaseFullAuditEntity
|
|
||||||
{
|
|
||||||
#region µ¼º½ÊôÐÔ
|
#region µ¼º½ÊôÐÔ
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
[ForeignKey("HospitalId")]
|
[ForeignKey("HospitalId")]
|
||||||
|
@ -15,32 +18,45 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
public List<TrialSite> TrialSiteList { get; set; }
|
public List<TrialSite> TrialSiteList { get; set; }
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
public string SiteName { get; set; } = string.Empty;
|
[StringLength(500)]
|
||||||
public string SiteNameCN{ get; set; } = string.Empty;
|
public string Address { get; set; } = null!;
|
||||||
public string AliasName { get; set; } = string.Empty;
|
|
||||||
public string SiteCode { get; set; } = string.Empty;
|
public string AliasName { get; set; } = null!;
|
||||||
|
|
||||||
|
public string City { get; set; } = null!;
|
||||||
|
|
||||||
public int Code { get; set; }
|
public int Code { get; set; }
|
||||||
|
|
||||||
public string City { get; set; } = string.Empty;
|
public string ContactName { get; set; } = null!;
|
||||||
public string Country { get; set; } = string.Empty;
|
|
||||||
|
public string ContactPhone { get; set; } = null!;
|
||||||
|
|
||||||
|
public string Country { get; set; } = null!;
|
||||||
|
|
||||||
|
public string DirectorName { get; set; } = null!;
|
||||||
|
|
||||||
|
public string DirectorPhone { get; set; } = null!;
|
||||||
|
|
||||||
public Guid? HospitalId { get; set; }
|
public Guid? HospitalId { get; set; }
|
||||||
|
|
||||||
|
public string Province { get; set; } = null!;
|
||||||
|
|
||||||
|
[StringLength(500)]
|
||||||
|
public string SiteCode { get; set; } = null!;
|
||||||
|
|
||||||
|
[StringLength(500)]
|
||||||
|
public string SiteName { get; set; } = null!;
|
||||||
|
|
||||||
|
[StringLength(400)]
|
||||||
|
public string SiteNameCN { get; set; } = null!;
|
||||||
|
|
||||||
|
[Comment(" ÔÝʱδÓÃ")]
|
||||||
public int State { get; set; }
|
public int State { get; set; }
|
||||||
|
|
||||||
public string Province { get; set; } = string.Empty;
|
public string UniqueCode { get; set; } = null!;
|
||||||
|
|
||||||
public string UniqueCode { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public string Address { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public string DirectorName { get; set; } = string.Empty;
|
|
||||||
public string DirectorPhone { get; set; } = string.Empty;
|
|
||||||
public string ContactName { get; set; } = string.Empty;
|
|
||||||
public string ContactPhone { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,22 +1,27 @@
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System;
|
using System;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("»ú¹¹ - Sponsor")]
|
||||||
|
[Table("Sponsor")]
|
||||||
|
public partial class Sponsor : BaseFullAuditEntity
|
||||||
{
|
{
|
||||||
[Table("Sponsor")]
|
|
||||||
public partial class Sponsor : BaseFullAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
public string SponsorName { get; set; } = String.Empty;
|
|
||||||
public string SponsorNameCN { get; set; } = String.Empty;
|
|
||||||
|
|
||||||
public string SponsorCode { get; set; } = String.Empty;
|
|
||||||
|
|
||||||
public bool IsTrialLevel { get; set; }
|
public bool IsTrialLevel { get; set; }
|
||||||
|
|
||||||
|
public string SponsorCode { get; set; } = null!;
|
||||||
|
|
||||||
|
[StringLength(1000)]
|
||||||
|
public string SponsorName { get; set; } = null!;
|
||||||
|
|
||||||
|
[StringLength(1000)]
|
||||||
|
public string SponsorNameCN { get; set; } = null!;
|
||||||
|
|
||||||
public Guid? TrialId { get; set; }
|
public Guid? TrialId { get; set; }
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,12 @@
|
||||||
using System;
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models
|
||||||
{
|
{
|
||||||
|
[Comment("后台 - 系统菜单 (需要同步)")]
|
||||||
[Table("Menu")]
|
[Table("Menu")]
|
||||||
public class Menu : BaseFullAuditEntity
|
public class Menu : BaseFullAuditEntity
|
||||||
{
|
{
|
||||||
|
@ -12,51 +15,46 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
public List<UserTypeMenu> UserTypeMenuList { get; set; }
|
public List<UserTypeMenu> UserTypeMenuList { get; set; }
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
public string ApiPath { get; set; } = null!;
|
||||||
|
|
||||||
|
[StringLength(400)]
|
||||||
|
public string Component { get; set; } = null!;
|
||||||
|
|
||||||
//上级菜单
|
public bool IsCache { get; set; }
|
||||||
public Guid? ParentId { get; set; } = Guid.Empty;
|
|
||||||
|
|
||||||
// 类型(M目录 C菜单 F按钮 L链接)
|
|
||||||
public string MenuType { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public string MenuIcon { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public string MenuName { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
//路由地址
|
|
||||||
public string Path { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
//组件路径
|
|
||||||
public string Component { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public int ShowOrder { get; set; }
|
|
||||||
|
|
||||||
//启用 禁用
|
|
||||||
public bool IsEnable { get; set; } = true;
|
|
||||||
|
|
||||||
public bool IsCache { get; set; } = false;
|
|
||||||
|
|
||||||
public bool IsDisplay { get; set; }
|
public bool IsDisplay { get; set; }
|
||||||
|
|
||||||
public bool IsInTabDisplay { get; set; }
|
public bool IsEnable { get; set; }
|
||||||
|
|
||||||
public bool IsExternalLink { get; set; }
|
public bool IsExternalLink { get; set; }
|
||||||
|
|
||||||
//权限点
|
public bool? IsInTabDisplay { get; set; }
|
||||||
public string PermissionStr { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
//Api 接口地址
|
public string LanguageMark { get; set; } = null!;
|
||||||
public string ApiPath { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public string Note { get; set; } = string.Empty;
|
public string MenuIcon { get; set; } = null!;
|
||||||
|
|
||||||
public string Meta { get; set; } = string.Empty;
|
public string MenuName { get; set; } = null!;
|
||||||
|
[Comment("类型(M目录 C菜单 F按钮 L链接)")]
|
||||||
|
public string MenuType { get; set; } = null!;
|
||||||
|
|
||||||
public string Redirect { get; set; } = string.Empty;
|
public string Meta { get; set; } = null!;
|
||||||
|
|
||||||
|
|
||||||
public string LanguageMark { get; set; } = string.Empty;
|
[MaxLength]
|
||||||
|
public string Note { get; set; }
|
||||||
|
|
||||||
|
public Guid ParentId { get; set; }
|
||||||
|
|
||||||
|
[Comment("路由地址")]
|
||||||
|
[StringLength(500)]
|
||||||
|
public string Path { get; set; } = null!;
|
||||||
|
|
||||||
|
public string PermissionStr { get; set; } = null!;
|
||||||
|
|
||||||
|
public string Redirect { get; set; } = null!;
|
||||||
|
|
||||||
|
public int ShowOrder { get; set; }
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,50 +3,42 @@
|
||||||
// 此代码由T4模板自动生成 byzhouhang 20210918
|
// 此代码由T4模板自动生成 byzhouhang 20210918
|
||||||
// 生成时间 2021-11-22 11:15:18
|
// 生成时间 2021-11-22 11:15:18
|
||||||
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("受试者访视 - 既往放疗史")]
|
||||||
|
[Table("PreviousHistory")]
|
||||||
|
public class PreviousHistory : BaseAddAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
///PreviousHistory
|
|
||||||
///</summary>
|
|
||||||
[Table("PreviousHistory")]
|
|
||||||
public class PreviousHistory : BaseAddAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public SubjectVisit SubjectVisit { get; set; }
|
public SubjectVisit SubjectVisit { get; set; }
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
public DateTime? StartTime { get; set; }
|
[Comment(" 临床数据类型Id")]
|
||||||
|
public Guid ClinicalDataTrialSetId { get; set; }
|
||||||
|
|
||||||
public DateTime? EndTime { get; set; }
|
public DateTime? EndTime { get; set; }
|
||||||
|
|
||||||
|
public string FileName { get; set; } = null!;
|
||||||
|
|
||||||
public int? IsPD { get; set; }
|
public int IsPD { get; set; }
|
||||||
|
|
||||||
|
public bool IsSubjectLevel { get; set; }
|
||||||
|
|
||||||
|
public string Path { get; set; } = null!;
|
||||||
|
|
||||||
|
public string Position { get; set; } = null!;
|
||||||
|
|
||||||
|
public DateTime? StartTime { get; set; }
|
||||||
|
|
||||||
public Guid SubjectVisitId { get; set; }
|
public Guid SubjectVisitId { get; set; }
|
||||||
|
|
||||||
|
|
||||||
public bool IsSubjectLevel { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
public string Path { get; set; } = String.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
public string FileName { get; set; } = String.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
public string Position { get; set; } = String.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public Guid ClinicalDataTrialSetId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -3,51 +3,41 @@
|
||||||
// 此代码由T4模板自动生成 byzhouhang 20210918
|
// 此代码由T4模板自动生成 byzhouhang 20210918
|
||||||
// 生成时间 2021-11-22 11:15:18
|
// 生成时间 2021-11-22 11:15:18
|
||||||
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("受试者访视 - 既往其他治疗史")]
|
||||||
|
[Table("PreviousOther")]
|
||||||
|
public class PreviousOther : BaseAddAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
///PreviousOther
|
|
||||||
///</summary>
|
|
||||||
[Table("PreviousOther")]
|
|
||||||
public class PreviousOther : BaseAddAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
|
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public SubjectVisit SubjectVisit { get; set; }
|
public SubjectVisit SubjectVisit { get; set; }
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
public DateTime? StartTime { get; set; }
|
[Comment(" 临床数据类型Id")]
|
||||||
|
public Guid ClinicalDataTrialSetId { get; set; }
|
||||||
|
|
||||||
public DateTime? EndTime { get; set; }
|
public DateTime? EndTime { get; set; }
|
||||||
|
|
||||||
|
public string FileName { get; set; } = null!;
|
||||||
|
|
||||||
public bool IsPD { get; set; }
|
public bool? IsPD { get; set; }
|
||||||
|
|
||||||
public Guid SubjectVisitId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
public bool IsSubjectLevel { get; set; }
|
public bool IsSubjectLevel { get; set; }
|
||||||
|
|
||||||
|
public string Path { get; set; } = null!;
|
||||||
|
|
||||||
public string Path { get; set; } = String.Empty;
|
public DateTime? StartTime { get; set; }
|
||||||
|
|
||||||
|
public Guid SubjectVisitId { get; set; }
|
||||||
|
|
||||||
public string FileName { get; set; } = String.Empty;
|
public string TreatmentType { get; set; } = null!;
|
||||||
|
|
||||||
|
|
||||||
public string TreatmentType { get; set; } = String.Empty;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 临床数据类型Id
|
|
||||||
/// </summary>
|
|
||||||
[Required]
|
|
||||||
public Guid ClinicalDataTrialSetId { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,17 +4,16 @@
|
||||||
// 生成时间 2021-12-09 11:35:31
|
// 生成时间 2021-12-09 11:35:31
|
||||||
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
||||||
using IRaCIS.Core.Domain.Share;
|
using IRaCIS.Core.Domain.Share;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("受试者访视 - 临床数据配置")]
|
||||||
|
[Table("PreviousPDF")]
|
||||||
|
public class PreviousPDF : BaseAddAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
///PreviousPDF
|
|
||||||
///</summary>
|
|
||||||
[Table("PreviousPDF")]
|
|
||||||
public class PreviousPDF : BaseAddAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public SubjectVisit SubjectVisit { get; set; }
|
public SubjectVisit SubjectVisit { get; set; }
|
||||||
|
@ -22,37 +21,30 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
public Guid SubjectVisitId { get; set; }
|
[Comment("临床级别")]
|
||||||
|
public ClinicalLevel? ClinicalLevel { get; set; }
|
||||||
|
|
||||||
public string Path { get; set; } = string.Empty;
|
public ClinicalDataType? DataType { get; set; }
|
||||||
|
|
||||||
public string FileName { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
|
public string FileName { get; set; } = null!;
|
||||||
|
|
||||||
public bool? IsVisist { get; set; }
|
public bool? IsVisist { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
[StringLength(512)]
|
||||||
/// 临床级别
|
public string Path { get; set; } = null!;
|
||||||
/// </summary>
|
|
||||||
public ClinicalLevel? ClinicalLevel { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 数据类型
|
|
||||||
/// </summary>
|
|
||||||
public ClinicalDataType? DataType { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 上传方式
|
|
||||||
/// </summary>
|
|
||||||
public ClinicalUploadType? UploadType { get; set; }
|
|
||||||
|
|
||||||
public Guid? TrialId { get; set; }
|
|
||||||
|
|
||||||
public Guid? SubjectId { get; set; }
|
public Guid? SubjectId { get; set; }
|
||||||
|
|
||||||
}
|
public Guid SubjectVisitId { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
public Guid? TrialId { get; set; }
|
||||||
|
|
||||||
|
[Comment("上传方式")]
|
||||||
|
public ClinicalUploadType? UploadType { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -3,45 +3,39 @@
|
||||||
// 此代码由T4模板自动生成 byzhouhang 20210918
|
// 此代码由T4模板自动生成 byzhouhang 20210918
|
||||||
// 生成时间 2021-11-22 11:15:18
|
// 生成时间 2021-11-22 11:15:18
|
||||||
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("受试者访视 - 既往手术史")]
|
||||||
|
[Table("PreviousSurgery")]
|
||||||
|
public class PreviousSurgery : BaseAddAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
///PreviousSurgery
|
|
||||||
///</summary>
|
|
||||||
[Table("PreviousSurgery")]
|
|
||||||
public class PreviousSurgery : BaseAddAuditEntity
|
|
||||||
{
|
|
||||||
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
[Comment(" 临床数据类型Id")]
|
||||||
|
public Guid ClinicalDataTrialSetId { get; set; }
|
||||||
|
|
||||||
|
public string FileName { get; set; } = null!;
|
||||||
public DateTime? OperationTime { get; set; }
|
|
||||||
|
|
||||||
public Guid SubjectVisitId { get; set; }
|
|
||||||
|
|
||||||
public bool IsSubjectLevel { get; set; }
|
public bool IsSubjectLevel { get; set; }
|
||||||
|
|
||||||
public string Path { get; set; } = String.Empty;
|
public string OperationName { get; set; } = null!;
|
||||||
|
|
||||||
public string FileName { get; set; } = String.Empty;
|
public DateTime? OperationTime { get; set; }
|
||||||
|
|
||||||
public string OperationName { get; set; } = String.Empty;
|
public string Path { get; set; } = null!;
|
||||||
|
|
||||||
/// <summary>
|
public Guid SubjectVisitId { get; set; }
|
||||||
/// 临床数据类型Id
|
|
||||||
/// </summary>
|
|
||||||
[Required]
|
|
||||||
public Guid ClinicalDataTrialSetId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,29 +1,31 @@
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("稽查 - 后端接收前端上传 文件记录表")]
|
||||||
|
[Table("InspectionFile")]
|
||||||
|
public class InspectionFile : BaseAddAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
/// 一致性核查文件
|
|
||||||
///</summary>
|
|
||||||
[Table("InspectionFile")]
|
|
||||||
public class InspectionFile : BaseAddAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
public string FileName { get; set; } = string.Empty;
|
[Comment(" 文件名称")]
|
||||||
|
[StringLength(400)]
|
||||||
|
public string FileName { get; set; } = null!;
|
||||||
|
|
||||||
|
[Comment(" 相对路径")]
|
||||||
|
[StringLength(400)]
|
||||||
|
public string RelativePath { get; set; } = null!;
|
||||||
|
|
||||||
public string RelativePath { get; set; } = string.Empty;
|
[Comment(" 项目ID")]
|
||||||
|
|
||||||
public Guid TrialId { get; set; }
|
public Guid TrialId { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,16 @@
|
||||||
using IRaCIS.Core.Domain.Share;
|
using IRaCIS.Core.Domain.Share;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("受试者访视 - QC质疑")]
|
||||||
|
[Table("QCChallenge")]
|
||||||
|
public class QCChallenge : BaseAddAuditEntity
|
||||||
{
|
{
|
||||||
public class QCChallenge : BaseAddAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
[ForeignKey("LatestReplyUserId")]
|
[ForeignKey("LatestReplyUserId")]
|
||||||
|
@ -21,65 +25,57 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
[Comment(" 行动事项")]
|
||||||
|
[StringLength(1024)]
|
||||||
|
public string ActionContent { get; set; } = null!;
|
||||||
|
|
||||||
|
public string ChallengeCode { get; set; } = null!;
|
||||||
|
|
||||||
|
[StringLength(1024)]
|
||||||
public Guid TrialId { get; set; }
|
public string ChallengeType { get; set; } = null!;
|
||||||
public Guid SubjectVisitId { get; set; }
|
|
||||||
|
|
||||||
public DateTime? DeadlineTime { get; set; }
|
|
||||||
|
|
||||||
public string Note { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public QCChanllengeReuploadEnum ReuploadEnum { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
public DateTime? ReUploadedTime { get; set; }
|
|
||||||
|
|
||||||
public string ReUploader { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public Guid? ReUploadUserId { get; set; }
|
|
||||||
|
|
||||||
public TrialQCProcess QCProcessEnum { get; set; }
|
|
||||||
|
|
||||||
public CurrentQC CurrentQCEnum { get; set; }
|
|
||||||
|
|
||||||
public DateTime? LatestMsgTime { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
public Guid? LatestReplyUserId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
public string ChallengeCode { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public int Code { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public bool IsClosed { get; set; }
|
|
||||||
|
|
||||||
public DateTime? ClosedTime { get; set; }
|
public DateTime? ClosedTime { get; set; }
|
||||||
|
|
||||||
public string ClosedUser { get; set; } = string.Empty;
|
public string ClosedUser { get; set; } = null!;
|
||||||
|
|
||||||
|
public QCChallengeCloseEnum CloseResonEnum { get; set; }
|
||||||
|
|
||||||
|
public int Code { get; set; }
|
||||||
|
|
||||||
public QCChallengeCloseEnum CloseResonEnum { get; set;}
|
[Comment(" 质疑内容")]
|
||||||
|
[StringLength(1024)]
|
||||||
|
public string Content { get; set; } = null!;
|
||||||
|
|
||||||
public string Content { get; set; } = string.Empty;
|
[Comment(" 用于双审的时候 区分 第一个人和第二个人的数据")]
|
||||||
|
public CurrentQC CurrentQCEnum { get; set; }
|
||||||
|
|
||||||
public string ActionContent { get; set; } = string.Empty;
|
public DateTime? DeadlineTime { get; set; }
|
||||||
|
|
||||||
|
public bool IsClosed { get; set; }
|
||||||
|
|
||||||
|
public DateTime? LatestMsgTime { get; set; }
|
||||||
|
|
||||||
|
public Guid? LatestReplyUserId { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 额外补充")]
|
||||||
|
[StringLength(1024)]
|
||||||
|
public string Note { get; set; } = null!;
|
||||||
|
|
||||||
|
public TrialQCProcess QCProcessEnum { get; set; }
|
||||||
|
|
||||||
|
public DateTime? ReUploadedTime { get; set; }
|
||||||
|
|
||||||
|
public QCChanllengeReuploadEnum? ReuploadEnum { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 记录重传人")]
|
||||||
|
public string ReUploader { get; set; } = null!;
|
||||||
|
|
||||||
|
public Guid? ReUploadUserId { get; set; }
|
||||||
|
|
||||||
|
public Guid SubjectVisitId { get; set; }
|
||||||
|
|
||||||
|
public Guid TrialId { get; set; }
|
||||||
|
|
||||||
public UserTypeEnum UserTypeEnum { get; set; }
|
public UserTypeEnum UserTypeEnum { get; set; }
|
||||||
|
|
||||||
|
|
||||||
public string ChallengeType { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
|
@ -1,22 +1,26 @@
|
||||||
using IRaCIS.Core.Domain.Share;
|
using IRaCIS.Core.Domain.Share;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System;
|
using System;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("受试者访视 - QC质疑对话")]
|
||||||
|
[Table("QCChallengeDialog")]
|
||||||
|
public class QCChallengeDialog : BaseAddAuditEntity
|
||||||
{
|
{
|
||||||
public class QCChallengeDialog : BaseAddAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public QCChallenge QCChallenge { get; set; }
|
public QCChallenge QCChallenge { get; set; }
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
public string TalkContent { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public Guid QCChallengeId { get; set; }
|
public Guid QCChallengeId { get; set; }
|
||||||
|
|
||||||
public Guid SubjectVisitId { get; set; }
|
public Guid SubjectVisitId { get; set; }
|
||||||
|
|
||||||
|
[StringLength(500)]
|
||||||
|
public string TalkContent { get; set; } = null!;
|
||||||
|
|
||||||
public UserTypeEnum UserTypeEnum { get; set; }
|
public UserTypeEnum UserTypeEnum { get; set; }
|
||||||
}
|
|
||||||
}
|
}
|
|
@ -3,17 +3,16 @@
|
||||||
// 生成时间 2021-11-11 11:19:10
|
// 生成时间 2021-11-11 11:19:10
|
||||||
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
||||||
using IRaCIS.Core.Domain.Share;
|
using IRaCIS.Core.Domain.Share;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("后台 - QC质控问题(需要同步)")]
|
||||||
|
[Table("QCQuestion")]
|
||||||
|
public class QCQuestion : BaseFullAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
///QCQuestionConfigure
|
|
||||||
///</summary>
|
|
||||||
[Table("QCQuestion")]
|
|
||||||
public class QCQuestion : BaseFullAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
|
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
|
@ -21,31 +20,28 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
public QCQuestion ParentQuestion { get; set; }
|
public QCQuestion ParentQuestion { get; set; }
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
public string QuestionName { get; set; } = string.Empty;
|
public bool IsEnable { get; set; }
|
||||||
|
|
||||||
|
|
||||||
/// <summary> 语言类型 </summary>
|
|
||||||
public LanguageType LanguageType { get; set; } = LanguageType.Chinese;
|
|
||||||
|
|
||||||
|
|
||||||
public bool IsRequired { get; set; }
|
public bool IsRequired { get; set; }
|
||||||
|
|
||||||
public bool IsEnable { get; set; }
|
public LanguageType LanguageType { get; set; }
|
||||||
|
|
||||||
/// <summary> 下拉框、文本、单选、多选 </summary>
|
|
||||||
public string Type { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public string TypeValue { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public string ParentTriggerValue { get; set; } = string.Empty;
|
|
||||||
public Guid? ParentId { get; set; }
|
public Guid? ParentId { get; set; }
|
||||||
|
|
||||||
|
public string ParentTriggerValue { get; set; } = null!;
|
||||||
|
|
||||||
|
[StringLength(510)]
|
||||||
|
public string QuestionName { get; set; } = null!;
|
||||||
|
|
||||||
public int ShowOrder { get; set; }
|
public int ShowOrder { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 下拉框、文本、单选、多选")]
|
||||||
|
public string Type { get; set; } = null!;
|
||||||
|
|
||||||
|
public string TypeValue { get; set; } = null!;
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,15 +5,14 @@ using IRaCIS.Core.Domain.Share;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("项目阅片 - 临床数据")]
|
||||||
|
[Table("ReadingClinicalData")]
|
||||||
|
public class ReadingClinicalData : BaseAddAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
/// 项目的临床数据
|
|
||||||
///</summary>
|
|
||||||
[Table("ReadingClinicalData")]
|
|
||||||
public class ReadingClinicalData : BaseAddAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
|
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
|
@ -49,60 +48,34 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
public List<ReadingClinicalDataPDF> ReadingClinicalDataPDFList { get; set; }
|
public List<ReadingClinicalDataPDF> ReadingClinicalDataPDFList { get; set; }
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
public Guid TrialId { get; set; }
|
[Comment("临床数据类型Id")]
|
||||||
|
public Guid ClinicalDataTrialSetId { get; set; }
|
||||||
|
|
||||||
|
public int FileCount { get; set; }
|
||||||
|
|
||||||
|
public bool? IsBlind { get; set; }
|
||||||
|
|
||||||
|
public bool? IsComplete { get; set; }
|
||||||
|
|
||||||
|
public bool IsSign { get; set; }
|
||||||
|
|
||||||
|
public bool IsVisit { get; set; }
|
||||||
|
|
||||||
|
public ReadingClinicalDataStatus ReadingClinicalDataState { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 访视Id 或者模块Id
|
|
||||||
/// </summary>
|
|
||||||
public Guid ReadingId { get; set; }
|
public Guid ReadingId { get; set; }
|
||||||
|
|
||||||
public Guid? StudyId { get; set; }
|
public Guid? StudyId { get; set; }
|
||||||
|
|
||||||
|
|
||||||
public Guid SubjectId { get; set; }
|
public Guid SubjectId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
public Guid TrialId { get; set; }
|
||||||
/// 临床数据类型Id
|
|
||||||
/// </summary>
|
|
||||||
public Guid ClinicalDataTrialSetId { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否为访视
|
|
||||||
/// </summary>xiu
|
|
||||||
public bool IsVisit { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否签名
|
|
||||||
/// </summary>
|
|
||||||
public bool IsSign { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否盲化
|
|
||||||
/// </summary>
|
|
||||||
public bool? IsBlind { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否完整
|
|
||||||
/// </summary>
|
|
||||||
public bool? IsComplete { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
public int FileCount { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
//临床数据状态
|
|
||||||
public ReadingClinicalDataStatus ReadingClinicalDataState { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,12 +4,11 @@ using System;
|
||||||
using IRaCIS.Core.Domain.Share;
|
using IRaCIS.Core.Domain.Share;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models
|
||||||
{
|
{
|
||||||
///<summary>
|
[Comment("项目阅片 - 临床数据PDF文件")]
|
||||||
/// 项目的临床数据
|
|
||||||
///</summary>
|
|
||||||
[Table("ReadingClinicalDataPDF")]
|
[Table("ReadingClinicalDataPDF")]
|
||||||
public class ReadingClinicalDataPDF : BaseAddAuditEntity
|
public class ReadingClinicalDataPDF : BaseAddAuditEntity
|
||||||
{
|
{
|
||||||
|
@ -19,20 +18,18 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
public ReadingClinicalData ReadingClinicalData { get; set; }
|
public ReadingClinicalData ReadingClinicalData { get; set; }
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
/// <summary>
|
[StringLength(1000)]
|
||||||
/// 阅片临床数据ID
|
public string FileName { get; set; } = null!;
|
||||||
/// </summary>
|
|
||||||
|
[StringLength(2000)]
|
||||||
|
public string Path { get; set; } = null!;
|
||||||
|
|
||||||
|
[Comment("阅片临床数据ID")]
|
||||||
public Guid ReadingClinicalDataId { get; set; }
|
public Guid ReadingClinicalDataId { get; set; }
|
||||||
|
|
||||||
public string Path { get; set; } = string.Empty;
|
public int Size { get; set; }
|
||||||
|
|
||||||
|
public string Type { get; set; } = null!;
|
||||||
public string FileName { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
public int Size { get; set; } = 0;
|
|
||||||
|
|
||||||
public string Type { get; set; } = string.Empty;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,15 +5,14 @@ using IRaCIS.Core.Domain.Share;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("项目阅片 - 一致性分析临床数据")]
|
||||||
|
[Table("ReadingConsistentClinicalData")]
|
||||||
|
public class ReadingConsistentClinicalData : BaseAddAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
/// 一致性分析临床数据
|
|
||||||
///</summary>
|
|
||||||
[Table("ReadingConsistentClinicalData")]
|
|
||||||
public class ReadingConsistentClinicalData : BaseAddAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
[ForeignKey("ClinicalDataTrialSetId")]
|
[ForeignKey("ClinicalDataTrialSetId")]
|
||||||
|
@ -50,66 +49,30 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public List<ReadingConsistentClinicalDataPDF> ReadingClinicalDataPDFList { get; set; }
|
public List<ReadingConsistentClinicalDataPDF> ReadingClinicalDataPDFList { get; set; }
|
||||||
#endregion
|
#endregion
|
||||||
/// <summary>
|
|
||||||
/// 项目ID
|
|
||||||
/// </summary>
|
|
||||||
public Guid TrialId { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
public Guid ClinicalDataTrialSetId { get; set; }
|
||||||
/// 访视Id 或者模块Id
|
|
||||||
/// </summary>
|
public int FileCount { get; set; }
|
||||||
|
[Comment("是否盲化")]
|
||||||
|
public bool? IsBlind { get; set; }
|
||||||
|
[Comment("是否完整")]
|
||||||
|
public bool? IsComplete { get; set; }
|
||||||
|
|
||||||
|
public bool IsSign { get; set; }
|
||||||
|
|
||||||
|
public bool IsVisit { get; set; }
|
||||||
|
|
||||||
|
public ReadingClinicalDataStatus ReadingClinicalDataState { get; set; }
|
||||||
|
|
||||||
public Guid ReadingId { get; set; }
|
public Guid ReadingId { get; set; }
|
||||||
|
|
||||||
public Guid? StudyId { get; set; }
|
public Guid? StudyId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 受试者ID
|
|
||||||
/// </summary>
|
|
||||||
public Guid SubjectId { get; set; }
|
public Guid SubjectId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
public Guid TrialId { get; set; }
|
||||||
/// 临床数据类型Id
|
|
||||||
/// </summary>
|
|
||||||
public Guid ClinicalDataTrialSetId { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否为访视
|
|
||||||
/// </summary>xiu
|
|
||||||
public bool IsVisit { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否签名
|
|
||||||
/// </summary>
|
|
||||||
public bool IsSign { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否盲化
|
|
||||||
/// </summary>
|
|
||||||
public bool? IsBlind { get; set; } = false;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否完整
|
|
||||||
/// </summary>
|
|
||||||
public bool? IsComplete { get; set; } = true;
|
|
||||||
|
|
||||||
|
|
||||||
public int FileCount { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
//临床数据状态
|
|
||||||
public ReadingClinicalDataStatus ReadingClinicalDataState { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,44 +4,34 @@ using System;
|
||||||
using IRaCIS.Core.Domain.Share;
|
using IRaCIS.Core.Domain.Share;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("项目阅片 - 一致性分析临床数据PDF")]
|
||||||
|
[Table("ReadingConsistentClinicalDataPDF")]
|
||||||
|
public class ReadingConsistentClinicalDataPDF : BaseAddAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
/// 一致性分析临床数据
|
|
||||||
///</summary>
|
|
||||||
[Table("ReadingConsistentClinicalDataPDF")]
|
|
||||||
public class ReadingConsistentClinicalDataPDF : BaseAddAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
[ForeignKey("ReadingConsistentClinicalDataId")]
|
[ForeignKey("ReadingConsistentClinicalDataId")]
|
||||||
public ReadingConsistentClinicalData ReadingConsistentClinicalData { get; set; }
|
public ReadingConsistentClinicalData ReadingConsistentClinicalData { get; set; }
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
/// <summary>
|
[StringLength(1000)]
|
||||||
/// 阅片临床数据ID
|
public string FileName { get; set; } = null!;
|
||||||
/// </summary>
|
|
||||||
|
[StringLength(2000)]
|
||||||
|
public string Path { get; set; } = null!;
|
||||||
|
|
||||||
public Guid ReadingConsistentClinicalDataId { get; set; }
|
public Guid ReadingConsistentClinicalDataId { get; set; }
|
||||||
|
|
||||||
public string Path { get; set; } = string.Empty;
|
public int Size { get; set; }
|
||||||
|
|
||||||
|
|
||||||
public string FileName { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public int Size { get; set; } = 0;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 文件类型
|
|
||||||
/// </summary>
|
|
||||||
public string Type { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public string Type { get; set; } = null!;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -7,33 +7,37 @@ using System;
|
||||||
using IRaCIS.Core.Domain.Share;
|
using IRaCIS.Core.Domain.Share;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models
|
||||||
{
|
{
|
||||||
///<summary>
|
[Comment("受试者 - 阅片模块临床表单")]
|
||||||
///ReadModuleCriterionFrom
|
|
||||||
///</summary>
|
|
||||||
[Table("ReadModuleCriterionFrom")]
|
[Table("ReadModuleCriterionFrom")]
|
||||||
public class ReadModuleCriterionFrom : BaseAddAuditEntity
|
public class ReadModuleCriterionFrom : BaseAddAuditEntity
|
||||||
{
|
{
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
[ForeignKey("ReadModuleId")]
|
|
||||||
public Guid ReadModuleId { get; set; }
|
|
||||||
|
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
[ForeignKey("ClinicalFormId")]
|
[ForeignKey("ClinicalFormId")]
|
||||||
public ClinicalForm ClinicalForm { get; set; }
|
public ClinicalForm ClinicalForm { get; set; }
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
[Comment(" 表单Id")]
|
||||||
|
public Guid ClinicalFormId { get; set; }
|
||||||
|
|
||||||
|
[ForeignKey("ReadModuleId")]
|
||||||
|
|
||||||
|
[Comment(" 阅片期Id")]
|
||||||
|
public Guid ReadModuleId { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 受试者Id")]
|
||||||
public Guid SubjectId { get; set; }
|
public Guid SubjectId { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 项目Id")]
|
||||||
public Guid TrialId { get; set; }
|
public Guid TrialId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 表单Id
|
|
||||||
/// </summary>
|
|
||||||
public Guid ClinicalFormId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -9,15 +9,14 @@ using System.ComponentModel.DataAnnotations;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("项目阅片 - 医学审核对话")]
|
||||||
|
[Table("ReadingMedicalReviewDialog")]
|
||||||
|
public class ReadingMedicalReviewDialog : BaseAddAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
///阅片医学审核对话
|
|
||||||
///</summary>
|
|
||||||
[Table("ReadingMedicalReviewDialog")]
|
|
||||||
public class ReadingMedicalReviewDialog : BaseAddAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
[ForeignKey("TaskMedicalReviewId")]
|
[ForeignKey("TaskMedicalReviewId")]
|
||||||
|
@ -49,84 +48,50 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
/// <summary>
|
|
||||||
/// 医学审核Id
|
|
||||||
/// </summary>
|
|
||||||
public Guid TaskMedicalReviewId { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
public AuditAdvice AuditAdviceEnum { get; set; }
|
||||||
/// 任务Id
|
|
||||||
/// </summary>
|
|
||||||
public Guid VisitTaskId { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
[StringLength(4000)]
|
||||||
/// 对话内容
|
public string Content { get; set; } = null!;
|
||||||
/// </summary>
|
|
||||||
public string Content { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
/// <summary>
|
[StringLength(400)]
|
||||||
/// 用户角色
|
public string DisagreeReason { get; set; } = null!;
|
||||||
/// </summary>
|
|
||||||
public string UserTypeShortName { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
/// <summary>
|
public MedicalReviewDoctorUserIdea DoctorUserIdeaEnum { get; set; }
|
||||||
/// 医学审核对话关闭原因
|
|
||||||
/// </summary>
|
|
||||||
public MedicalDialogClose? MedicalDialogCloseEnum { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 用户角色枚举
|
|
||||||
/// </summary>
|
|
||||||
public int UserTypeEnumInt { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
[MaxLength]
|
||||||
/// 阅片人是否认同
|
public string FileName { get; set; } = null!;
|
||||||
/// </summary>
|
|
||||||
public MedicalReviewDoctorUserIdea DoctorUserIdeaEnum { get; set; } = MedicalReviewDoctorUserIdea.defalut;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否有问题
|
|
||||||
/// </summary>
|
|
||||||
public bool IsHaveQuestion { get; set; } = false;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 质询问题
|
|
||||||
/// </summary>
|
|
||||||
public string Questioning { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 审核建议
|
|
||||||
/// </summary>
|
|
||||||
public AuditAdvice AuditAdviceEnum { get; set; } = AuditAdvice.None;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 不同意重阅原因
|
|
||||||
/// </summary>
|
|
||||||
public string DisagreeReason { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
[MaxLength]
|
||||||
/// 是否申请重阅
|
public string ImagePath { get; set; } = null!;
|
||||||
/// </summary>
|
|
||||||
|
[Comment("是否申请重阅")]
|
||||||
public bool? IsApplyHeavyReading { get; set; }
|
public bool? IsApplyHeavyReading { get; set; }
|
||||||
|
|
||||||
|
[Comment("是否有问题")]
|
||||||
|
public bool IsHaveQuestion { get; set; }
|
||||||
|
|
||||||
|
[Comment("医学审核对话关闭原因")]
|
||||||
|
public MedicalDialogClose? MedicalDialogCloseEnum { get; set; }
|
||||||
|
|
||||||
|
[Comment("质询问题")]
|
||||||
|
[StringLength(1000)]
|
||||||
|
public string Questioning { get; set; } = null!;
|
||||||
|
|
||||||
|
public Guid TaskMedicalReviewId { get; set; }
|
||||||
|
|
||||||
|
public int UserTypeEnumInt { get; set; }
|
||||||
|
|
||||||
|
public string UserTypeShortName { get; set; } = null!;
|
||||||
|
|
||||||
|
public Guid VisitTaskId { get; set; }
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 图片路径
|
|
||||||
/// </summary>
|
|
||||||
public string ImagePath { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 文件名称
|
|
||||||
/// </summary>
|
|
||||||
public string FileName { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -3,14 +3,13 @@ using System;
|
||||||
using IRaCIS.Core.Domain.Share;
|
using IRaCIS.Core.Domain.Share;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
namespace IRaCIS.Core.Domain.Models
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("项目阅片 - 医学审核任务问题答案")]
|
||||||
|
[Table("ReadingMedicineQuestionAnswer")]
|
||||||
|
public class ReadingMedicineQuestionAnswer : BaseFullAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
/// 阅片医学问题答案
|
|
||||||
///</summary>
|
|
||||||
[Table("ReadingMedicineQuestionAnswer")]
|
|
||||||
public class ReadingMedicineQuestionAnswer : BaseFullAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
|
|
||||||
|
|
||||||
|
@ -19,25 +18,18 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
public TaskMedicalReview TaskMedicalReview { get; set; }
|
public TaskMedicalReview TaskMedicalReview { get; set; }
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
/// <summary>
|
[StringLength(400)]
|
||||||
/// 医学审核问题Id
|
public string Answer { get; set; } = null!;
|
||||||
/// </summary>
|
[Comment("医学审核问题Id")]
|
||||||
public Guid ReadingMedicineQuestionId { get; set; }
|
public Guid ReadingMedicineQuestionId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 医学审核Id
|
|
||||||
/// </summary>
|
|
||||||
|
|
||||||
public Guid TaskMedicalReviewId { get; set; }
|
public Guid TaskMedicalReviewId { get; set; }
|
||||||
|
|
||||||
public Guid VisitTaskId { get; set; }
|
public Guid VisitTaskId { get; set; }
|
||||||
|
|
||||||
|
|
||||||
public string Answer { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -9,15 +9,14 @@ using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("系统标准 - 医学审核问题 (需要同步)")]
|
||||||
|
[Table("ReadingMedicineSystemQuestion")]
|
||||||
|
public class ReadingMedicineSystemQuestion : BaseFullAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
/// 阅片医学审核系统问题
|
|
||||||
///</summary>
|
|
||||||
[Table("ReadingMedicineSystemQuestion")]
|
|
||||||
public class ReadingMedicineSystemQuestion : BaseFullAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
|
|
||||||
|
@ -29,68 +28,32 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
// [NotMapped]
|
// [NotMapped]
|
||||||
// public List<int> CriterionEnumList => CriterionEnumStr.Split('|', StringSplitOptions.RemoveEmptyEntries).Where(t => !string.IsNullOrEmpty(t)).Select(t=> Convert.ToInt32(t.Trim()) ).ToList(
|
// public List<int> CriterionEnumList => CriterionEnumStr.Split('|', StringSplitOptions.RemoveEmptyEntries).Where(t => !string.IsNullOrEmpty(t)).Select(t=> Convert.ToInt32(t.Trim()) ).ToList(
|
||||||
#endregion
|
#endregion
|
||||||
/// <summary>
|
|
||||||
/// 类型
|
|
||||||
/// </summary>
|
|
||||||
public string Type { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 父问题触发
|
|
||||||
/// </summary>
|
|
||||||
public string ParentTriggerValue { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 问题名称
|
|
||||||
/// </summary>
|
|
||||||
public string QuestionName { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 语言类型
|
|
||||||
/// </summary>
|
|
||||||
public LanguageType LanguageType { get; set; } = LanguageType.Chinese;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否是必须
|
|
||||||
/// </summary>
|
|
||||||
public bool IsRequired { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 排序
|
|
||||||
/// </summary>
|
|
||||||
public int ShowOrder { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 父问题ID
|
|
||||||
/// </summary>
|
|
||||||
public Guid? ParentId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 类型值
|
|
||||||
/// </summary>
|
|
||||||
public string TypeValue { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否启用
|
|
||||||
/// </summary>
|
|
||||||
public bool IsEnable { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 任务类型
|
|
||||||
/// </summary>
|
|
||||||
public ReadingCategory ReadingCategory { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public CriterionType? CriterionTypeEnum { get; set; }
|
public CriterionType? CriterionTypeEnum { get; set; }
|
||||||
|
|
||||||
|
public bool IsEnable { get; set; }
|
||||||
|
|
||||||
public bool IsGeneral { get; set; }
|
public bool IsGeneral { get; set; }
|
||||||
|
|
||||||
|
public bool IsRequired { get; set; }
|
||||||
|
|
||||||
|
public LanguageType LanguageType { get; set; }
|
||||||
|
|
||||||
|
public Guid? ParentId { get; set; }
|
||||||
|
|
||||||
|
public string ParentTriggerValue { get; set; } = null!;
|
||||||
|
|
||||||
|
[StringLength(510)]
|
||||||
|
public string QuestionName { get; set; } = null!;
|
||||||
|
|
||||||
|
public ReadingCategory ReadingCategory { get; set; }
|
||||||
|
|
||||||
|
public int ShowOrder { get; set; }
|
||||||
|
|
||||||
|
public string Type { get; set; } = null!;
|
||||||
|
|
||||||
|
public string TypeValue { get; set; } = null!;
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -7,14 +7,13 @@ using System;
|
||||||
using IRaCIS.Core.Domain.Share;
|
using IRaCIS.Core.Domain.Share;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
namespace IRaCIS.Core.Domain.Models
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("项目标准 - 医学审核问题")]
|
||||||
|
[Table("ReadingMedicineTrialQuestion")]
|
||||||
|
public class ReadingMedicineTrialQuestion : BaseFullAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
///阅片医学审核项目问题
|
|
||||||
///</summary>
|
|
||||||
[Table("ReadingMedicineTrialQuestion")]
|
|
||||||
public class ReadingMedicineTrialQuestion : BaseFullAuditEntity
|
|
||||||
{
|
|
||||||
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
|
@ -22,79 +21,38 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
public ReadingMedicineTrialQuestion ParentQuestion { get; set; }
|
public ReadingMedicineTrialQuestion ParentQuestion { get; set; }
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 类型
|
|
||||||
/// </summary>
|
|
||||||
public string Type { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 父问题触发值
|
|
||||||
/// </summary>
|
|
||||||
public string ParentTriggerValue { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 问题名称
|
|
||||||
/// </summary>
|
|
||||||
public string QuestionName { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 语言类型
|
|
||||||
/// </summary>
|
|
||||||
public LanguageType LanguageType { get; set; } = LanguageType.Chinese;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 类型值
|
|
||||||
/// </summary>
|
|
||||||
public string TypeValue { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 项目ID
|
|
||||||
/// </summary>
|
|
||||||
public Guid TrialId { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否启用
|
|
||||||
/// </summary>
|
|
||||||
public bool IsEnable { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否必须
|
|
||||||
/// </summary>
|
|
||||||
public bool IsRequired { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 排序
|
|
||||||
/// </summary>
|
|
||||||
public int ShowOrder { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 父问题
|
|
||||||
/// </summary>
|
|
||||||
public Guid? ParentId { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否确认
|
|
||||||
/// </summary>
|
|
||||||
public bool IsConfirm { get; set; }
|
public bool IsConfirm { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
public bool IsEnable { get; set; }
|
||||||
/// 任务类型
|
|
||||||
/// </summary>
|
public bool IsRequired { get; set; }
|
||||||
|
|
||||||
|
public LanguageType LanguageType { get; set; }
|
||||||
|
|
||||||
|
public Guid? ParentId { get; set; }
|
||||||
|
|
||||||
|
public string ParentTriggerValue { get; set; } = null!;
|
||||||
|
|
||||||
|
[StringLength(510)]
|
||||||
|
public string QuestionName { get; set; } = null!;
|
||||||
|
|
||||||
public ReadingCategory ReadingCategory { get; set; }
|
public ReadingCategory ReadingCategory { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
public int ShowOrder { get; set; }
|
||||||
/// 项目标准
|
|
||||||
/// </summary>
|
|
||||||
public Guid TrialReadingCriterionId { get; set; }
|
|
||||||
|
|
||||||
public Guid? SystemQuestionId { get; set; }
|
public Guid? SystemQuestionId { get; set; }
|
||||||
|
|
||||||
|
public Guid TrialId { get; set; }
|
||||||
|
|
||||||
|
public Guid TrialReadingCriterionId { get; set; }
|
||||||
|
|
||||||
|
public string Type { get; set; } = null!;
|
||||||
|
|
||||||
|
public string TypeValue { get; set; } = null!;
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -7,94 +7,54 @@ using System;
|
||||||
using IRaCIS.Core.Domain.Share;
|
using IRaCIS.Core.Domain.Share;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
namespace IRaCIS.Core.Domain.Models
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("后台 - 系统标准器官 (需要同步)")]
|
||||||
|
[Table("OrganInfo")]
|
||||||
|
public class OrganInfo : BaseAddAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
///OrganInfo
|
|
||||||
///</summary>
|
|
||||||
[Table("OrganInfo")]
|
|
||||||
public class OrganInfo : BaseAddAuditEntity
|
|
||||||
{
|
|
||||||
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
/// <summary>
|
|
||||||
/// 分类
|
|
||||||
/// </summary>
|
|
||||||
public string Classification { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
/// <summary>
|
[Comment("分类")]
|
||||||
/// 分类 英文
|
public string Classification { get; set; } = null!;
|
||||||
/// </summary>
|
|
||||||
public string ClassificationEN { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
/// <summary>
|
public string ClassificationEN { get; set; } = null!;
|
||||||
/// 部位
|
|
||||||
/// </summary>
|
|
||||||
public string Part { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
/// <summary>
|
[Comment("是否可编辑位置")]
|
||||||
/// 部位 英文
|
|
||||||
/// </summary>
|
|
||||||
public string PartEN { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// TULOC 器官
|
|
||||||
/// </summary>
|
|
||||||
public string TULOC { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// TULOC 器官 英文
|
|
||||||
/// </summary>
|
|
||||||
public string TULOCEN { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 位置
|
|
||||||
/// </summary>
|
|
||||||
public string TULAT { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 位置 英文
|
|
||||||
/// </summary>
|
|
||||||
public string TULATEN { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 备注
|
|
||||||
/// </summary>
|
|
||||||
public string Remark { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否是淋巴结
|
|
||||||
/// </summary>
|
|
||||||
public IsLymph IsLymphNodes { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 器官类型
|
|
||||||
/// </summary>
|
|
||||||
public OrganType OrganType { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 标准Id
|
|
||||||
/// </summary>
|
|
||||||
public Guid SystemCriterionId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否可编辑位置
|
|
||||||
/// </summary>
|
|
||||||
public bool IsCanEditPosition { get; set; }
|
public bool IsCanEditPosition { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
[Comment("是否是淋巴结")]
|
||||||
/// 序号
|
public IsLymph IsLymphNodes { get; set; }
|
||||||
/// </summary>
|
|
||||||
public int ShowOrder { get; set; } = 0;
|
|
||||||
|
|
||||||
|
public OrganType OrganType { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 部位")]
|
||||||
|
public string Part { get; set; } = null!;
|
||||||
|
|
||||||
|
public string PartEN { get; set; } = null!;
|
||||||
|
|
||||||
|
public string Remark { get; set; } = null!;
|
||||||
|
|
||||||
|
public int ShowOrder { get; set; }
|
||||||
|
|
||||||
|
public Guid SystemCriterionId { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 位置")]
|
||||||
|
public string TULAT { get; set; } = null!;
|
||||||
|
|
||||||
|
public string TULATEN { get; set; } = null!;
|
||||||
|
|
||||||
|
public string TULOC { get; set; } = null!;
|
||||||
|
|
||||||
|
public string TULOCEN { get; set; } = null!;
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -7,101 +7,57 @@ using System;
|
||||||
using IRaCIS.Core.Domain.Share;
|
using IRaCIS.Core.Domain.Share;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
namespace IRaCIS.Core.Domain.Models
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("项目标准 - 器官")]
|
||||||
|
[Table("OrganTrialInfo")]
|
||||||
|
public class OrganTrialInfo : BaseAddAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
///OrganTrialInfo
|
|
||||||
///</summary>
|
|
||||||
[Table("OrganTrialInfo")]
|
|
||||||
public class OrganTrialInfo : BaseAddAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
|
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
[ForeignKey("OrganInfoId")]
|
[ForeignKey("OrganInfoId")]
|
||||||
public OrganInfo OrganInfo { get; set; }
|
public OrganInfo OrganInfo { get; set; }
|
||||||
#endregion
|
#endregion
|
||||||
/// <summary>
|
|
||||||
/// 器官Id
|
|
||||||
/// </summary>
|
|
||||||
public Guid OrganInfoId { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
[Comment("分类")]
|
||||||
/// 项目Id
|
public string Classification { get; set; } = null!;
|
||||||
/// </summary>
|
|
||||||
public Guid TrialId { get; set; }
|
public string ClassificationEN { get; set; } = null!;
|
||||||
|
|
||||||
|
[Comment("是否可编辑位置")]
|
||||||
|
public bool IsCanEditPosition { get; set; }
|
||||||
|
|
||||||
public bool IsEnable { get; set; }
|
public bool IsEnable { get; set; }
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 标准Id
|
|
||||||
/// </summary>
|
|
||||||
public Guid TrialCriterionId { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 部位
|
|
||||||
/// </summary>
|
|
||||||
public string Part { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 部位 英文
|
|
||||||
/// </summary>
|
|
||||||
public string PartEN { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// TULOC 器官
|
|
||||||
/// </summary>
|
|
||||||
public string TULOC { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// TULOC 器官 英文
|
|
||||||
/// </summary>
|
|
||||||
public string TULOCEN { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 位置
|
|
||||||
/// </summary>
|
|
||||||
public string TULAT { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 位置 英文
|
|
||||||
/// </summary>
|
|
||||||
public string TULATEN { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否是淋巴结
|
|
||||||
/// </summary>
|
|
||||||
public IsLymph IsLymphNodes { get; set; }
|
public IsLymph IsLymphNodes { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
[Comment(" 器官Id")]
|
||||||
/// 是否可编辑位置
|
public Guid OrganInfoId { get; set; }
|
||||||
/// </summary>
|
|
||||||
public bool IsCanEditPosition { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 分类
|
|
||||||
/// </summary>
|
|
||||||
public string Classification { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 分类 英文
|
|
||||||
/// </summary>
|
|
||||||
public string ClassificationEN { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 序号
|
|
||||||
/// </summary>
|
|
||||||
public int ShowOrder { get; set; } = 0;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 器官类型
|
|
||||||
/// </summary>
|
|
||||||
public OrganType? OrganType { get; set; }
|
public OrganType? OrganType { get; set; }
|
||||||
|
|
||||||
|
public string Part { get; set; } = null!;
|
||||||
|
|
||||||
}
|
public string PartEN { get; set; } = null!;
|
||||||
|
|
||||||
|
public int ShowOrder { get; set; }
|
||||||
|
|
||||||
|
public Guid TrialCriterionId { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 项目Id")]
|
||||||
|
public Guid TrialId { get; set; }
|
||||||
|
|
||||||
|
public string TULAT { get; set; } = null!;
|
||||||
|
|
||||||
|
public string TULATEN { get; set; } = null!;
|
||||||
|
|
||||||
|
public string TULOC { get; set; } = null!;
|
||||||
|
|
||||||
|
public string TULOCEN { get; set; } = null!;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -8,52 +8,32 @@ using IRaCIS.Core.Domain.Share;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("项目标准 - 分页")]
|
||||||
|
[Table("ReadingCriterionPage")]
|
||||||
|
public class ReadingCriterionPage : BaseAddAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
///阅片标准分页
|
|
||||||
///</summary>
|
|
||||||
[Table("ReadingCriterionPage")]
|
|
||||||
public class ReadingCriterionPage : BaseAddAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public List<ReadingQuestionTrial> ReadingQuestionList { get; set; } = new List<ReadingQuestionTrial>();
|
public List<ReadingQuestionTrial> ReadingQuestionList { get; set; } = new List<ReadingQuestionTrial>();
|
||||||
#endregion
|
#endregion
|
||||||
/// <summary>
|
|
||||||
/// 项目ID
|
|
||||||
/// </summary>
|
|
||||||
public Guid TrialId { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 分页名称
|
|
||||||
/// </summary>
|
|
||||||
public string PageName { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否启用
|
|
||||||
/// </summary>
|
|
||||||
public bool IsEnable { get; set; }
|
public bool IsEnable { get; set; }
|
||||||
|
|
||||||
|
[Comment("是否公共分页")]
|
||||||
|
public bool IsPublicPage { get; set; }
|
||||||
|
|
||||||
|
public string PageName { get; set; } = null!;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否公共分页
|
|
||||||
/// </summary>
|
|
||||||
public bool IsPublicPage { get; set; } = false;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 排序
|
|
||||||
/// </summary>
|
|
||||||
public int ShowOrder { get; set; } = 0;
|
|
||||||
|
|
||||||
|
|
||||||
public Guid ReadingQuestionCriterionTrialId { get; set; }
|
public Guid ReadingQuestionCriterionTrialId { get; set; }
|
||||||
|
|
||||||
|
public int ShowOrder { get; set; }
|
||||||
|
|
||||||
|
public Guid TrialId { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,83 +5,41 @@ using IRaCIS.Core.Domain.Share;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("系统标准 - 标准配置 (需要同步)")]
|
||||||
|
[Table("ReadingQuestionCriterionSystem")]
|
||||||
|
public class ReadingQuestionCriterionSystem : BaseAddAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
/// 系统阅片标准
|
|
||||||
///</summary>
|
|
||||||
[Table("ReadingQuestionCriterionSystem")]
|
|
||||||
public class ReadingQuestionCriterionSystem : BaseAddAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public List<ReadingQuestionSystem> ReadingQuestionSystemList { get; set; } = new List<ReadingQuestionSystem>();
|
public List<ReadingQuestionSystem> ReadingQuestionSystemList { get; set; } = new List<ReadingQuestionSystem>();
|
||||||
#endregion
|
#endregion
|
||||||
/// <summary>
|
|
||||||
/// 标准
|
|
||||||
/// </summary>
|
|
||||||
public string CriterionName { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否启用
|
|
||||||
/// </summary>
|
|
||||||
public bool IsEnable { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 排序
|
|
||||||
/// </summary>
|
|
||||||
public int ShowOrder { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否完成配置
|
|
||||||
/// </summary>
|
|
||||||
public bool IsCompleteConfig { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 确认时间
|
|
||||||
/// </summary>
|
|
||||||
public DateTime ConfirmTime { get; set; }
|
public DateTime ConfirmTime { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
[StringLength(400)]
|
||||||
/// 描述
|
public string CriterionName { get; set; } = null!;
|
||||||
/// </summary>
|
|
||||||
public string Description { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 标准类型
|
|
||||||
/// </summary>
|
|
||||||
public CriterionType CriterionType { get; set; }
|
public CriterionType CriterionType { get; set; }
|
||||||
|
|
||||||
|
[StringLength(600)]
|
||||||
|
public string Description { get; set; } = null!;
|
||||||
|
|
||||||
/// <summary>
|
public bool IsCompleteConfig { get; set; }
|
||||||
/// 肿瘤学阅片
|
|
||||||
/// </summary>
|
|
||||||
public bool IsOncologyReading { get; set; } = false;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// eCRF报告是否显示在图像页面
|
|
||||||
/// </summary>
|
|
||||||
public bool IseCRFShowInDicomReading { get; set; } = false;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否必须全局阅片
|
|
||||||
/// </summary>
|
|
||||||
public bool IsMustGlobalReading { get; set; } = false;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[Comment("eCRF报告是否显示在图像页面")]
|
||||||
|
public bool IseCRFShowInDicomReading { get; set; }
|
||||||
|
|
||||||
|
public bool IsEnable { get; set; }
|
||||||
|
[Comment("是否必须全局阅片")]
|
||||||
|
public bool IsMustGlobalReading { get; set; }
|
||||||
|
|
||||||
|
public bool IsOncologyReading { get; set; }
|
||||||
|
|
||||||
|
public int ShowOrder { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -6,15 +6,14 @@ using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("系统标准问题 (需要同步)")]
|
||||||
|
[Table("ReadingQuestionSystem")]
|
||||||
|
public class ReadingQuestionSystem : BaseAddAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
/// 系统阅片问题
|
|
||||||
///</summary>
|
|
||||||
[Table("ReadingQuestionSystem")]
|
|
||||||
public class ReadingQuestionSystem : BaseAddAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
[ForeignKey("GroupId")]
|
[ForeignKey("GroupId")]
|
||||||
|
@ -292,11 +291,7 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -7,15 +7,14 @@ using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using IRaCIS.Core.Domain.Share.Reading;
|
using IRaCIS.Core.Domain.Share.Reading;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("项目标准 - 标准配置")]
|
||||||
|
[Table("ReadingQuestionCriterionTrial")]
|
||||||
|
public class ReadingQuestionTrial : BaseAddAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
/// 项目阅片问题
|
|
||||||
///</summary>
|
|
||||||
[Table("ReadingQuestionTrial")]
|
|
||||||
public class ReadingQuestionTrial : BaseAddAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 分页标准
|
/// 分页标准
|
||||||
|
@ -256,7 +255,7 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 关联Value
|
/// 关联Value
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string RelevanceValue { get; set; }=string.Empty;
|
public string RelevanceValue { get; set; } = string.Empty;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 图片数量
|
/// 图片数量
|
||||||
|
@ -271,7 +270,7 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 默认值
|
/// 默认值
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string DefaultValue { get; set; } =string.Empty;
|
public string DefaultValue { get; set; } = string.Empty;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 最大问题数
|
/// 最大问题数
|
||||||
|
@ -401,19 +400,15 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public class CalculateInfo
|
public class CalculateInfo
|
||||||
{
|
{
|
||||||
public bool IsTable { get; set; }
|
public bool IsTable { get; set; }
|
||||||
|
|
||||||
public Guid? QuestionId { get; set; }
|
public Guid? QuestionId { get; set; }
|
||||||
|
|
||||||
public Guid? TableQuestionId { get; set; }
|
public Guid? TableQuestionId { get; set; }
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,16 +3,15 @@ using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using IRaCIS.Core.Domain.Share;
|
using IRaCIS.Core.Domain.Share;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("系统标准 - 全局配置 (需要同步)")]
|
||||||
|
[Table("ReadingSystemCriterionDictionary")]
|
||||||
|
public class ReadingSystemCriterionDictionary : BaseAddAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
///ReadingCriterionDictionary
|
|
||||||
///</summary>
|
|
||||||
[Table("ReadingSystemCriterionDictionary")]
|
|
||||||
public class ReadingSystemCriterionDictionary : BaseAddAuditEntity
|
|
||||||
{
|
|
||||||
#region µ¼º½ÊôÐÔ
|
#region µ¼º½ÊôÐÔ
|
||||||
|
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
|
@ -20,33 +19,21 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
public Dictionary Dictionary { get; set; }
|
public Dictionary Dictionary { get; set; }
|
||||||
#endregion
|
#endregion
|
||||||
public Guid CriterionId { get; set; }
|
public Guid CriterionId { get; set; }
|
||||||
|
[Comment("标准字典分组")]
|
||||||
|
public CrterionDictionaryGroup CrterionDictionaryGroup { get; set; } = CrterionDictionaryGroup.General;
|
||||||
|
|
||||||
public Guid DictionaryId { get; set; }
|
public Guid DictionaryId { get; set; }
|
||||||
|
|
||||||
|
public bool IsBaseLineUse { get; set; }
|
||||||
|
|
||||||
|
public bool IsFollowVisitUse { get; set; }
|
||||||
|
|
||||||
|
public bool IsSystemCriterion { get; set; }
|
||||||
|
|
||||||
public bool IsSystemCriterion { get; set; } = false;
|
public string ParentCode { get; set; } = null!;
|
||||||
|
|
||||||
public string ParentCode { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
public bool IsBaseLineUse { get; set; } = false;
|
|
||||||
|
|
||||||
|
|
||||||
public bool IsFollowVisitUse { get; set; } = false;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// ±ê×¼×Öµä·Ö×é
|
|
||||||
/// </summary>
|
|
||||||
public CrterionDictionaryGroup CrterionDictionaryGroup { get; set; } = CrterionDictionaryGroup.General;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -7,14 +7,13 @@ using System;
|
||||||
using IRaCIS.Core.Domain.Share;
|
using IRaCIS.Core.Domain.Share;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
namespace IRaCIS.Core.Domain.Models
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("项目阅片标准 - 全局配置")]
|
||||||
|
[Table("ReadingTrialCriterionDictionary")]
|
||||||
|
public class ReadingTrialCriterionDictionary : BaseAddAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
///ReadingTrialCriterionDictionary
|
|
||||||
///</summary>
|
|
||||||
[Table("ReadingTrialCriterionDictionary")]
|
|
||||||
public class ReadingTrialCriterionDictionary : BaseAddAuditEntity
|
|
||||||
{
|
|
||||||
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
|
@ -27,21 +26,17 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
#endregion
|
#endregion
|
||||||
public Guid CriterionId { get; set; }
|
public Guid CriterionId { get; set; }
|
||||||
|
|
||||||
|
public CrterionDictionaryGroup CrterionDictionaryGroup { get; set; }
|
||||||
|
|
||||||
public Guid DictionaryId { get; set; }
|
public Guid DictionaryId { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public string ParentCode { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public bool IsBaseLineUse { get; set; }
|
public bool IsBaseLineUse { get; set; }
|
||||||
|
|
||||||
public bool IsFollowVisitUse { get; set; }
|
public bool IsFollowVisitUse { get; set; }
|
||||||
|
|
||||||
public CrterionDictionaryGroup CrterionDictionaryGroup { get; set; }
|
public string ParentCode { get; set; } = null!;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -7,32 +7,33 @@ using System;
|
||||||
using IRaCIS.Core.Domain.Share;
|
using IRaCIS.Core.Domain.Share;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
namespace IRaCIS.Core.Domain.Models
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("项目阅片 - 自定义标记")]
|
||||||
|
[Table("ReadingCustomTag")]
|
||||||
|
public class ReadingCustomTag : BaseAddAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
///ReadingCustomTag
|
|
||||||
///</summary>
|
|
||||||
[Table("ReadingCustomTag")]
|
|
||||||
public class ReadingCustomTag : BaseAddAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
public Guid VisitTaskId { get; set; }
|
|
||||||
|
|
||||||
public Guid? StudyId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
public Guid? SeriesId { get; set; }
|
|
||||||
|
|
||||||
public Guid? InstanceId { get; set; }
|
public Guid? InstanceId { get; set; }
|
||||||
|
|
||||||
public string MeasureData { get; set; } = string.Empty;
|
|
||||||
|
[MaxLength]
|
||||||
|
public string MeasureData { get; set; } = null!;
|
||||||
|
|
||||||
public int? NumberOfFrames { get; set; }
|
public int? NumberOfFrames { get; set; }
|
||||||
|
|
||||||
}
|
public Guid? SeriesId { get; set; }
|
||||||
|
|
||||||
|
public Guid? StudyId { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 任务Id")]
|
||||||
|
public Guid VisitTaskId { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -3,14 +3,13 @@ using System;
|
||||||
using IRaCIS.Core.Domain.Share;
|
using IRaCIS.Core.Domain.Share;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
namespace IRaCIS.Core.Domain.Models
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("项目阅片 - 全局阅片结果")]
|
||||||
|
[Table("ReadingGlobalTaskInfo")]
|
||||||
|
public class ReadingGlobalTaskInfo : BaseAddAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
/// 阅片全局任务信息
|
|
||||||
///</summary>
|
|
||||||
[Table("ReadingGlobalTaskInfo")]
|
|
||||||
public class ReadingGlobalTaskInfo : BaseAddAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
[ForeignKey("TaskId")]
|
[ForeignKey("TaskId")]
|
||||||
|
@ -26,39 +25,22 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
public ReadingQuestionTrial TrialReadingQuestion { get; set; }
|
public ReadingQuestionTrial TrialReadingQuestion { get; set; }
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
/// <summary>
|
[StringLength(4000)]
|
||||||
/// 全局任务Id
|
public string Answer { get; set; } = null!;
|
||||||
/// </summary>
|
[Comment("全局答案类型")]
|
||||||
|
public GlobalAnswerType GlobalAnswerType { get; set; }
|
||||||
|
[Comment("全局任务Id")]
|
||||||
public Guid GlobalTaskId { get; set; }
|
public Guid GlobalTaskId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 原任务ID
|
|
||||||
/// </summary>
|
|
||||||
|
|
||||||
public Guid TaskId { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 问题ID
|
|
||||||
/// </summary>
|
|
||||||
public Guid? QuestionId { get; set; }
|
public Guid? QuestionId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
public Guid SubjectId { get; set; }
|
||||||
/// 问题答案
|
[Comment("原任务ID")]
|
||||||
/// </summary>
|
public Guid TaskId { get; set; }
|
||||||
|
|
||||||
public string Answer { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
public Guid TrialId { get; set; }
|
public Guid TrialId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 全局答案类型
|
|
||||||
/// </summary>
|
|
||||||
public GlobalAnswerType GlobalAnswerType { get; set; }
|
|
||||||
|
|
||||||
public Guid SubjectId { get; set; }
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,43 +4,27 @@ using System;
|
||||||
using IRaCIS.Core.Domain.Share;
|
using IRaCIS.Core.Domain.Share;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
namespace IRaCIS.Core.Domain.Models
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("项目阅片 - 产生裁判信息记录")]
|
||||||
|
[Table("ReadingJudgeInfo")]
|
||||||
|
public class ReadingJudgeInfo : BaseAddAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
///阅片裁判信息
|
|
||||||
///</summary>
|
|
||||||
[Table("ReadingJudgeInfo")]
|
|
||||||
public class ReadingJudgeInfo : BaseAddAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
/// <summary>
|
|
||||||
/// 第一个任务ID
|
|
||||||
/// </summary>
|
|
||||||
[Required]
|
|
||||||
public Guid TaskIdOne { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 第二个任务ID
|
|
||||||
/// </summary>
|
|
||||||
[Required]
|
|
||||||
public Guid TaskIdTwo { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 裁判任务ID
|
|
||||||
/// </summary>
|
|
||||||
[Required]
|
|
||||||
public Guid JudgeTaskId { get; set; }
|
public Guid JudgeTaskId { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public Guid TrialId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
public Guid SubjectId { get; set; }
|
public Guid SubjectId { get; set; }
|
||||||
|
|
||||||
}
|
public Guid TaskIdOne { get; set; }
|
||||||
|
|
||||||
|
public Guid TaskIdTwo { get; set; }
|
||||||
|
|
||||||
|
public Guid TrialId { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -7,14 +7,13 @@ using System;
|
||||||
using IRaCIS.Core.Domain.Share;
|
using IRaCIS.Core.Domain.Share;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
namespace IRaCIS.Core.Domain.Models
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("项目阅片 - 肿瘤学结果")]
|
||||||
|
[Table("ReadingOncologyTaskInfo")]
|
||||||
|
public class ReadingOncologyTaskInfo : BaseAddAuditEntity
|
||||||
{
|
{
|
||||||
/// <summary>
|
|
||||||
/// 阅片肿瘤学 针对访视任务 添加了一个结果
|
|
||||||
/// </summary>
|
|
||||||
[Table("ReadingOncologyTaskInfo")]
|
|
||||||
public class ReadingOncologyTaskInfo : BaseAddAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
|
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
|
@ -25,39 +24,22 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
[ForeignKey("VisitTaskId")]
|
[ForeignKey("VisitTaskId")]
|
||||||
public VisitTask VisitTask { get; set; }
|
public VisitTask VisitTask { get; set; }
|
||||||
#endregion
|
#endregion
|
||||||
/// <summary>
|
|
||||||
/// 肿瘤学 阅片任务ID
|
[StringLength(1000)]
|
||||||
/// </summary>
|
public string EvaluationReason { get; set; } = null!;
|
||||||
|
|
||||||
|
public string EvaluationResult { get; set; } = null!;
|
||||||
|
|
||||||
public Guid OncologyTaskId { get; set; }
|
public Guid OncologyTaskId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 产生肿瘤学阅片任务的 访视类型的阅片任务Id
|
|
||||||
/// </summary>
|
|
||||||
public Guid VisitTaskId { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 结果
|
|
||||||
/// </summary>
|
|
||||||
public string EvaluationResult { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 原因
|
|
||||||
/// </summary>
|
|
||||||
public string EvaluationReason { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 项目Id
|
|
||||||
/// </summary>
|
|
||||||
public Guid TrialId { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 受试者Id
|
|
||||||
/// </summary>
|
|
||||||
public Guid SubjectId { get; set; }
|
public Guid SubjectId { get; set; }
|
||||||
|
|
||||||
|
public Guid TrialId { get; set; }
|
||||||
|
|
||||||
}
|
public Guid VisitTaskId { get; set; }
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -9,12 +9,11 @@ using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics.CodeAnalysis;
|
using System.Diagnostics.CodeAnalysis;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models
|
||||||
{
|
{
|
||||||
///<summary>
|
[Comment("项目阅片 - 表格问题行记录")]
|
||||||
/// 表格问题答案行数据
|
|
||||||
///</summary>
|
|
||||||
[Table("ReadingTableAnswerRowInfo")]
|
[Table("ReadingTableAnswerRowInfo")]
|
||||||
public class ReadingTableAnswerRowInfo : BaseFullDeleteAuditEntity
|
public class ReadingTableAnswerRowInfo : BaseFullDeleteAuditEntity
|
||||||
{
|
{
|
||||||
|
|
|
@ -7,14 +7,13 @@ using System;
|
||||||
using IRaCIS.Core.Domain.Share;
|
using IRaCIS.Core.Domain.Share;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
namespace IRaCIS.Core.Domain.Models
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("项目阅片 - 表格问题行记录子项答案")]
|
||||||
|
[Table("ReadingTableQuestionAnswer")]
|
||||||
|
public class ReadingTableQuestionAnswer : BaseFullDeleteAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
///ReadingTableQuestionAnswer
|
|
||||||
///</summary>
|
|
||||||
[Table("ReadingTableQuestionAnswer")]
|
|
||||||
public class ReadingTableQuestionAnswer : BaseFullDeleteAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
[ForeignKey("RowId")]
|
[ForeignKey("RowId")]
|
||||||
|
@ -41,28 +40,29 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
|
[Comment(" 答案")]
|
||||||
|
[MaxLength]
|
||||||
|
public string Answer { get; set; } = null!;
|
||||||
|
|
||||||
|
[Comment(" 问题Id")]
|
||||||
public Guid QuestionId { get; set; }
|
public Guid QuestionId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 表格问题Id
|
|
||||||
/// </summary>
|
|
||||||
public Guid TableQuestionId { get; set; }
|
|
||||||
|
|
||||||
public Guid VisitTaskId { get; set; }
|
|
||||||
|
|
||||||
public Guid TrialId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
public decimal RowIndex { get; set; }
|
|
||||||
|
|
||||||
public string Answer { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
public Guid RowId { get; set; }
|
public Guid RowId { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 行号")]
|
||||||
|
[DecimalPrecision(18, 2)]
|
||||||
|
public decimal RowIndex { get; set; }
|
||||||
|
|
||||||
|
public Guid TableQuestionId { get; set; }
|
||||||
|
|
||||||
}
|
[Comment(" 项目Id")]
|
||||||
|
public Guid TrialId { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 任务Id")]
|
||||||
|
public Guid VisitTaskId { get; set; }
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,15 +5,14 @@ using IRaCIS.Core.Domain.Share;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("项目阅片 - 问题答案")]
|
||||||
|
[Table("ReadingTaskQuestionAnswer")]
|
||||||
|
public class ReadingTaskQuestionAnswer : BaseAddAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
/// 阅片任务答案
|
|
||||||
///</summary>
|
|
||||||
[Table("ReadingTaskQuestionAnswer")]
|
|
||||||
public class ReadingTaskQuestionAnswer : BaseAddAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
|
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
|
@ -24,49 +23,27 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
[ForeignKey("ReadingQuestionTrialId")]
|
[ForeignKey("ReadingQuestionTrialId")]
|
||||||
public ReadingQuestionTrial ReadingQuestionTrial { get; set; }
|
public ReadingQuestionTrial ReadingQuestionTrial { get; set; }
|
||||||
#endregion
|
#endregion
|
||||||
/// <summary>
|
[MaxLength]
|
||||||
/// 项目问题Id
|
public string Answer { get; set; } = null!;
|
||||||
/// </summary>
|
|
||||||
public Guid ReadingQuestionTrialId { get; set; }
|
[Comment("全局阅片修改的答案")]
|
||||||
|
[StringLength(400)]
|
||||||
|
public string GlobalChangeAnswer { get; set; } = null!;
|
||||||
|
|
||||||
|
[Comment("全局阅片是否修改")]
|
||||||
|
public bool IsGlobalChange { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 项目问题标准Id
|
|
||||||
/// </summary>
|
|
||||||
public Guid ReadingQuestionCriterionTrialId { get; set; }
|
public Guid ReadingQuestionCriterionTrialId { get; set; }
|
||||||
|
|
||||||
public Guid TrialId { get; set; }
|
public Guid ReadingQuestionTrialId { get; set; }
|
||||||
|
|
||||||
public Guid SubjectId { get; set; }
|
public Guid SubjectId { get; set; }
|
||||||
|
|
||||||
|
public Guid TrialId { get; set; }
|
||||||
|
|
||||||
public Guid VisitTaskId { get; set; }
|
public Guid VisitTaskId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 答案
|
|
||||||
/// </summary>
|
|
||||||
public string Answer { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 全局阅片修改的答案
|
|
||||||
/// </summary>
|
|
||||||
public string GlobalChangeAnswer { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 全局阅片是否修改
|
|
||||||
/// </summary>
|
|
||||||
public bool IsGlobalChange { get; set; } = false;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -7,14 +7,15 @@ using System;
|
||||||
using IRaCIS.Core.Domain.Share;
|
using IRaCIS.Core.Domain.Share;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
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 导航属性
|
#region 导航属性
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
[ForeignKey("QuestionId")]
|
[ForeignKey("QuestionId")]
|
||||||
|
@ -26,49 +27,59 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
#endregion
|
#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; }
|
[StringLength(1000)]
|
||||||
|
public string MarkTool { get; set; } = null!;
|
||||||
|
|
||||||
|
|
||||||
public Guid? StudyId { get; set; }
|
[MaxLength]
|
||||||
|
public string MeasureData { get; set; } = null!;
|
||||||
|
|
||||||
public string MarkTool { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public string PicturePath { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public int? NumberOfFrames { get; set; }
|
public int? NumberOfFrames { get; set; }
|
||||||
|
|
||||||
public string MeasureData { get; set; } = string.Empty;
|
public string OrderMarkName { get; set; } = null!;
|
||||||
|
|
||||||
|
|
||||||
public Guid? FirstAddTaskId { get; set; }
|
|
||||||
|
|
||||||
public QuestionType? QuestionType { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
public string OrderMarkName { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public Guid? OtherInstanceId { get; set; }
|
public Guid? OtherInstanceId { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
[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? OtherSeriesId { get; set; }
|
||||||
|
|
||||||
public Guid? OtherStudyId { get; set; }
|
public Guid? OtherStudyId { get; set; }
|
||||||
|
|
||||||
public string OtherMarkTool { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public string OtherPicturePath { get; set; } = string.Empty;
|
[MaxLength]
|
||||||
|
public string PicturePath { get; set; } = null!;
|
||||||
|
|
||||||
public int? OtherNumberOfFrames { get; set; }
|
[Comment(" 问题Id")]
|
||||||
public string OtherMeasureData { get; set; } = string.Empty;
|
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; }
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -7,14 +7,13 @@ using System;
|
||||||
using IRaCIS.Core.Domain.Share;
|
using IRaCIS.Core.Domain.Share;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
namespace IRaCIS.Core.Domain.Models
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("项目阅片 - 任务关联")]
|
||||||
|
[Table("ReadingTaskRelation")]
|
||||||
|
public class ReadingTaskRelation : BaseAddAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
///任务关系表
|
|
||||||
///</summary>
|
|
||||||
[Table("ReadingTaskRelation")]
|
|
||||||
public class ReadingTaskRelation : BaseAddAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
|
|
||||||
[ForeignKey("TaskId")]
|
[ForeignKey("TaskId")]
|
||||||
|
@ -22,25 +21,15 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
public VisitTask VisitTask { get; set; }
|
public VisitTask VisitTask { get; set; }
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 任务ID
|
|
||||||
/// </summary>
|
|
||||||
public Guid TaskId { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 关联的任务ID
|
|
||||||
/// </summary>
|
|
||||||
public Guid RelevanceTaskId { get; set; }
|
public Guid RelevanceTaskId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 类型具体解释 看枚举
|
|
||||||
/// </summary>
|
|
||||||
public RelevanceType RelevanceType { get; set; }
|
public RelevanceType RelevanceType { get; set; }
|
||||||
|
|
||||||
|
public Guid TaskId { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,15 +5,14 @@ using IRaCIS.Core.Domain.Share;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("受试者 - 阅片模块")]
|
||||||
|
[Table("ReadModule")]
|
||||||
|
public class ReadModule : BaseFullDeleteAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
///读片模块
|
|
||||||
///</summary>
|
|
||||||
[Table("ReadModule")]
|
|
||||||
public class ReadModule : BaseFullDeleteAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
|
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
|
@ -57,67 +56,49 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
public List<ReadingClinicalData> ReadingClinicalDataList { get; set; }
|
public List<ReadingClinicalData> ReadingClinicalDataList { get; set; }
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
public Guid SubjectId { get; set; }
|
|
||||||
|
|
||||||
public Guid TrialReadingCriterionId { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 模块类型
|
|
||||||
/// </summary>
|
|
||||||
public ModuleTypeEnum ModuleType { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 模块名称
|
|
||||||
/// </summary>
|
|
||||||
public string ModuleName { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否加急
|
|
||||||
/// </summary>
|
|
||||||
public bool? IsUrgent { get; set; }
|
|
||||||
|
|
||||||
public Guid SubjectVisitId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 阅片计划ID
|
|
||||||
/// </summary>
|
|
||||||
public Guid? ReadingPeriodSetId { get; set; }
|
|
||||||
|
|
||||||
public Guid TrialId { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
public bool IsCRCConfirm { get; set; } = false;
|
|
||||||
|
|
||||||
public bool IsPMConfirm { get; set; } = false;
|
|
||||||
|
|
||||||
public bool IsNotNeedPMConfirm { get; set; } = false;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// CRC是否正在申请撤回
|
|
||||||
/// </summary>
|
|
||||||
public bool IsCRCApplicationRevoke { get; set; } = false;
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 临床数据是否完整
|
|
||||||
/// </summary>
|
|
||||||
public bool? IsClinicalDataComplete { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 临床数据是否盲化
|
|
||||||
/// </summary>
|
|
||||||
public bool? IsClinicalDataBlind { get; set; }
|
public bool? IsClinicalDataBlind { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
[Comment("临床数据是否完整")]
|
||||||
/// 阅片配置的类型
|
public bool? IsClinicalDataComplete { get; set; }
|
||||||
/// </summary>
|
|
||||||
|
[Comment("CRC是否正在申请撤回")]
|
||||||
|
public bool IsCRCApplicationRevoke { get; set; }
|
||||||
|
|
||||||
|
public bool IsCRCConfirm { get; set; }
|
||||||
|
|
||||||
|
public bool IsNotNeedPMConfirm { get; set; }
|
||||||
|
|
||||||
|
public bool IsPMConfirm { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 是否加急")]
|
||||||
|
public bool? IsUrgent { get; set; }
|
||||||
|
|
||||||
|
public Guid? LastVisitIdSetId { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 模块名称")]
|
||||||
|
public string ModuleName { get; set; } = null!;
|
||||||
|
|
||||||
|
[Comment(" 模块类型")]
|
||||||
|
public ModuleTypeEnum ModuleType { get; set; }
|
||||||
|
|
||||||
|
public Guid? ReadingPeriodSetId { get; set; }
|
||||||
|
|
||||||
public ReadingSetType ReadingSetType { get; set; }
|
public ReadingSetType ReadingSetType { get; set; }
|
||||||
|
|
||||||
public ReadingStatusEnum ReadingStatus { get; set; } = ReadingStatusEnum.TaskAllocate;
|
public ReadingStatusEnum ReadingStatus { get; set; } = ReadingStatusEnum.TaskAllocate;
|
||||||
}
|
|
||||||
|
|
||||||
|
public Guid? ReadModuleId { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 状态")]
|
||||||
|
public int Status { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 受试者ID")]
|
||||||
|
public Guid SubjectId { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 访视ID")]
|
||||||
|
public Guid SubjectVisitId { get; set; }
|
||||||
|
|
||||||
|
public Guid TrialId { get; set; }
|
||||||
|
|
||||||
|
public Guid TrialReadingCriterionId { get; set; }
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,15 +4,14 @@ using System;
|
||||||
using IRaCIS.Core.Domain.Share;
|
using IRaCIS.Core.Domain.Share;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("项目 - 阅片期计划")]
|
||||||
|
[Table("ReadingPeriodPlan")]
|
||||||
|
public class ReadingPeriodPlan : BaseFullDeleteAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
/// 阅片计划
|
|
||||||
///</summary>
|
|
||||||
[Table("ReadingPeriodPlan")]
|
|
||||||
public class ReadingPeriodPlan : BaseFullDeleteAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
// <summary>
|
// <summary>
|
||||||
/// 访视
|
/// 访视
|
||||||
|
@ -28,22 +27,15 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public ReadingPeriodSet ReadingPeriodSet { get; set; }
|
public ReadingPeriodSet ReadingPeriodSet { get; set; }
|
||||||
#endregion
|
#endregion
|
||||||
/// <summary>
|
|
||||||
/// 阅片期配置ID
|
[Comment(" 阅片期配置ID")]
|
||||||
/// </summary>
|
|
||||||
public Guid ReadingPeriodSetId { get; set; }
|
public Guid ReadingPeriodSetId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
[Comment(" 访视Id")]
|
||||||
/// 访视
|
|
||||||
/// </summary>
|
|
||||||
public Guid SubjectVisitId { get; set; }
|
public Guid SubjectVisitId { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,12 +5,11 @@ using IRaCIS.Core.Domain.Share;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models
|
||||||
{
|
{
|
||||||
///<summary>
|
[Comment("项目 - 阅片期配置")]
|
||||||
///阅片期设置 只会设计到所有人 或者某个Site 针对全局
|
|
||||||
///</summary>
|
|
||||||
[Table("ReadingPeriodSet")]
|
[Table("ReadingPeriodSet")]
|
||||||
public class ReadingPeriodSet : BaseFullDeleteAuditEntity
|
public class ReadingPeriodSet : BaseFullDeleteAuditEntity
|
||||||
{
|
{
|
||||||
|
@ -31,61 +30,35 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
public List<ReadingPeriodPlan> ReadingPeriodPlanList { get; set; } = new List<ReadingPeriodPlan>();
|
public List<ReadingPeriodPlan> ReadingPeriodPlanList { get; set; } = new List<ReadingPeriodPlan>();
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
[Comment("生效时间")]
|
||||||
|
public DateTime? EffectOfTime { get; set; }
|
||||||
|
[Comment("")]
|
||||||
|
public DateTime? ExpirationDate { get; set; }
|
||||||
|
[Comment("截止访视")]
|
||||||
|
[DecimalPrecision(18, 0)]
|
||||||
|
public decimal? ExpirationVisitNum { get; set; }
|
||||||
|
|
||||||
|
public bool IsGlobal { get; set; }
|
||||||
|
|
||||||
|
public ReadingPeriodStatus IsTakeEffect { get; set; }
|
||||||
|
|
||||||
|
[StringLength(400)]
|
||||||
|
public string ReadingPeriodName { get; set; } = null!;
|
||||||
|
[Comment("阅片范围")]
|
||||||
|
public ReadingScopeEnum ReadingScope { get; set; }
|
||||||
|
[Comment("阅片配置的类型")]
|
||||||
|
public ReadingSetType ReadingSetType { get; set; }
|
||||||
|
|
||||||
|
public Guid? SiteId { get; set; }
|
||||||
|
|
||||||
public Guid TrialId { get; set; }
|
public Guid TrialId { get; set; }
|
||||||
|
|
||||||
public Guid TrialReadingCriterionId { get; set; }
|
public Guid TrialReadingCriterionId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 阅片期名称
|
|
||||||
/// </summary>
|
|
||||||
public string ReadingPeriodName { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 阅片范围
|
|
||||||
/// </summary>
|
|
||||||
public ReadingScopeEnum ReadingScope { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 截止日期
|
|
||||||
/// </summary>
|
|
||||||
public DateTime? ExpirationDate { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 截止访视
|
|
||||||
/// </summary>
|
|
||||||
public decimal? ExpirationVisitNum { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 访视计划ID
|
|
||||||
/// </summary>
|
|
||||||
public Guid? VisitStageId { get; set; }
|
public Guid? VisitStageId { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否生效
|
|
||||||
/// </summary>
|
|
||||||
public ReadingPeriodStatus IsTakeEffect { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 生效时间
|
|
||||||
/// </summary>
|
|
||||||
public DateTime? EffectOfTime { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是否为全局阅片
|
|
||||||
/// </summary>
|
|
||||||
public bool IsGlobal { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 阅片配置的类型
|
|
||||||
/// </summary>
|
|
||||||
public ReadingSetType ReadingSetType { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,15 +4,14 @@ using System;
|
||||||
using IRaCIS.Core.Domain.Share;
|
using IRaCIS.Core.Domain.Share;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("阅片期和中心关联")]
|
||||||
|
[Table("ReadingPeriodSite")]
|
||||||
|
public class ReadingPeriodSite : BaseAddAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
/// 阅片期和中心关联
|
|
||||||
///</summary>
|
|
||||||
[Table("ReadingPeriodSite")]
|
|
||||||
public class ReadingPeriodSite : BaseAddAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public TrialSite TrialSite { get; set; }
|
public TrialSite TrialSite { get; set; }
|
||||||
|
@ -20,10 +19,8 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public ReadingPeriodSet ReadingPeriodSet { get; set; }
|
public ReadingPeriodSet ReadingPeriodSet { get; set; }
|
||||||
#endregion
|
#endregion
|
||||||
/// <summary>
|
|
||||||
///阅片期配置ID
|
|
||||||
/// </summary>
|
|
||||||
|
|
||||||
|
[Comment(" 阅片期配置ID")]
|
||||||
public Guid ReadingPeriodSetId { get; set; }
|
public Guid ReadingPeriodSetId { get; set; }
|
||||||
|
|
||||||
public Guid TrialId { get; set; }
|
public Guid TrialId { get; set; }
|
||||||
|
@ -32,11 +29,4 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,48 +7,38 @@ using System;
|
||||||
using IRaCIS.Core.Domain.Share;
|
using IRaCIS.Core.Domain.Share;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
namespace IRaCIS.Core.Domain.Models
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("用户配置 - 快捷键")]
|
||||||
|
[Table("ShortcutKey")]
|
||||||
|
public class ShortcutKey : BaseAddAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
///ShortcutKey
|
|
||||||
///</summary>
|
|
||||||
[Table("ShortcutKey")]
|
|
||||||
public class ShortcutKey : BaseAddAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
/// <summary>
|
public bool AltKey { get; set; }
|
||||||
/// 对应的键盘按键
|
|
||||||
/// </summary>
|
|
||||||
public string Keyboardkey { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
/// <summary>
|
public string Code { get; set; } = null!;
|
||||||
/// 按键枚举
|
|
||||||
/// </summary>
|
|
||||||
public int ShortcutKeyEnum { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
public bool CtrlKey { get; set; }
|
||||||
/// 影像工具类型
|
|
||||||
/// </summary>
|
[Comment("影像工具类型")]
|
||||||
public int ImageToolType { get; set; }
|
public int ImageToolType { get; set; }
|
||||||
|
|
||||||
|
public string Keyboardkey { get; set; } = null!;
|
||||||
|
|
||||||
|
public bool MetaKey { get; set; }
|
||||||
|
|
||||||
|
public bool ShiftKey { get; set; }
|
||||||
|
[Comment("按键枚举")]
|
||||||
|
public int ShortcutKeyEnum { get; set; }
|
||||||
|
|
||||||
|
public string Text { get; set; } = null!;
|
||||||
|
|
||||||
public Guid UserId { get; set; }
|
public Guid UserId { get; set; }
|
||||||
|
|
||||||
public bool AltKey { get; set; } = false;
|
|
||||||
|
|
||||||
public bool CtrlKey { get; set; } = false;
|
|
||||||
|
|
||||||
public bool ShiftKey { get; set; } = false;
|
|
||||||
|
|
||||||
public bool MetaKey { get; set; } = false;
|
|
||||||
|
|
||||||
public string Text { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public string Code { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,17 @@
|
||||||
using IRaCIS.Core.Domain.Share;
|
using IRaCIS.Core.Domain.Share;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("医生 - 入组项目中间记录表")]
|
||||||
|
[Table("Enroll")]
|
||||||
|
public partial class Enroll : BaseFullAuditEntity
|
||||||
{
|
{
|
||||||
[Table("Enroll")]
|
#region 导航属性
|
||||||
public partial class Enroll : BaseFullAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
[ForeignKey("TrialId")]
|
[ForeignKey("TrialId")]
|
||||||
public virtual Trial Trial { get; set; }
|
public virtual Trial Trial { get; set; }
|
||||||
|
@ -26,45 +29,65 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
public Guid DoctorId { get; set; }
|
[Comment(" 裁定")]
|
||||||
public Guid TrialId { get; set; }
|
|
||||||
public Guid AttachmentId { get; set; } = Guid.Empty;
|
|
||||||
public EnrollStatus EnrollStatus { get; set; }
|
|
||||||
|
|
||||||
public decimal? AdjustmentMultiple { get; set; }
|
|
||||||
public DateTime? EnrollTime { get; set; }
|
|
||||||
public DateTime? OutEnrollTime { get; set; }
|
|
||||||
|
|
||||||
public string Memo { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public int ReviewerReadingType { get; set; } = 0;
|
|
||||||
|
|
||||||
public int? Training { get; set; }
|
|
||||||
|
|
||||||
public int? RefresherTraining { get; set; }
|
|
||||||
|
|
||||||
public int? Timepoint { get; set; }
|
|
||||||
|
|
||||||
public int? Timepoint48H { get; set; }
|
|
||||||
|
|
||||||
public int? Timepoint24H { get; set; }
|
|
||||||
|
|
||||||
public int? Adjudication { get; set; }
|
public int? Adjudication { get; set; }
|
||||||
|
|
||||||
public int? Adjudication48H { get; set; }
|
[Comment(" 裁定24小时")]
|
||||||
|
|
||||||
public int? Adjudication24H { get; set; }
|
public int? Adjudication24H { get; set; }
|
||||||
|
|
||||||
public int? Global { get; set; }
|
[Comment(" 裁定48小时")]
|
||||||
|
public int? Adjudication48H { get; set; }
|
||||||
|
|
||||||
public int? Downtime { get; set; }
|
[Comment(" 价格")]
|
||||||
|
[DecimalPrecision(18, 2)]
|
||||||
|
public decimal? AdjustmentMultiple { get; set; }
|
||||||
|
|
||||||
|
public Guid? AttachmentId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
public Guid DoctorId { get; set; }
|
||||||
/// 生成账号 加入到项目中后 赋值
|
|
||||||
/// </summary>
|
public int DoctorTrialState { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 生成账号 加入到项目中后 赋值")]
|
||||||
public Guid? DoctorUserId { get; set; }
|
public Guid? DoctorUserId { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 空跑")]
|
||||||
|
public int? Downtime { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 入组状态")]
|
||||||
|
public EnrollStatus EnrollStatus { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 入组时间")]
|
||||||
|
public DateTime? EnrollTime { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 总体")]
|
||||||
|
public int? Global { get; set; }
|
||||||
|
|
||||||
|
[StringLength(500)]
|
||||||
|
public string Memo { get; set; } = null!;
|
||||||
|
|
||||||
|
[Comment(" 出组时间")]
|
||||||
|
public DateTime? OutEnrollTime { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 重新培训")]
|
||||||
|
public int? RefresherTraining { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 0代表裁判和TP都可以 1代表Tp 2 代表裁判")]
|
||||||
|
public int ReviewerReadingType { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 时间点")]
|
||||||
|
public int? Timepoint { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 时间点24小时")]
|
||||||
|
public int? Timepoint24H { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 时间点48小时")]
|
||||||
|
public int? Timepoint48H { get; set; }
|
||||||
|
|
||||||
|
[Comment(" 培训")]
|
||||||
|
public int? Training { get; set; }
|
||||||
|
|
||||||
|
public Guid TrialId { get; set; }
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,12 +1,15 @@
|
||||||
using IRaCIS.Core.Domain.Share;
|
using IRaCIS.Core.Domain.Share;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
using System;
|
using System;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("医生 - 入组项目流程记录表")]
|
||||||
|
[Table("EnrollDetail")]
|
||||||
|
public partial class EnrollDetail : BaseAddAuditEntity
|
||||||
{
|
{
|
||||||
[Table("EnrollDetail")]
|
|
||||||
public partial class EnrollDetail : BaseAddAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public virtual TrialStatusDetail TrialDetail { get; set; }
|
public virtual TrialStatusDetail TrialDetail { get; set; }
|
||||||
|
@ -16,15 +19,19 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
|
|
||||||
|
|
||||||
public Guid DoctorId { get; set; }
|
public Guid DoctorId { get; set; }
|
||||||
public Guid TrialId { get; set; }
|
|
||||||
public EnrollStatus EnrollStatus { get; set; }
|
|
||||||
public Guid? EnrollId { get; set; }
|
|
||||||
public string Memo { get; set; } = string.Empty;
|
|
||||||
public int OptUserType { get; set; }
|
|
||||||
|
|
||||||
|
public Guid? EnrollId { get; set; }
|
||||||
|
|
||||||
|
public EnrollStatus EnrollStatus { get; set; }
|
||||||
|
|
||||||
|
[StringLength(1024)]
|
||||||
|
public string Memo { get; set; } = null!;
|
||||||
|
|
||||||
|
public int OptUserType { get; set; }
|
||||||
|
|
||||||
public Guid TrialDetailId { get; set; }
|
public Guid TrialDetailId { get; set; }
|
||||||
|
|
||||||
|
public Guid TrialId { get; set; }
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,14 +7,13 @@ using System;
|
||||||
using IRaCIS.Core.Domain.Share;
|
using IRaCIS.Core.Domain.Share;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
namespace IRaCIS.Core.Domain.Models
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("医生 - 项目阅片标准阅片类型配置表")]
|
||||||
|
[Table("EnrollReadingCategory")]
|
||||||
|
public class EnrollReadingCategory : BaseAddAuditEntity
|
||||||
{
|
{
|
||||||
///<summary>
|
|
||||||
///EnrollReadingCategory
|
|
||||||
///</summary>
|
|
||||||
[Table("EnrollReadingCategory")]
|
|
||||||
public class EnrollReadingCategory : BaseAddAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
|
|
||||||
|
|
||||||
|
@ -31,6 +30,4 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
public Guid TrialReadingCriterionId { get; set; }
|
public Guid TrialReadingCriterionId { get; set; }
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using IRaCIS.Core.Domain.Share;
|
using IRaCIS.Core.Domain.Share;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Domain.Models
|
namespace IRaCIS.Core.Domain.Models;
|
||||||
|
|
||||||
|
[Comment("项目 - 受试者")]
|
||||||
|
[Table("Subject")]
|
||||||
|
public class Subject : BaseFullDeleteAuditEntity
|
||||||
{
|
{
|
||||||
/// <summary>
|
|
||||||
/// 受试者
|
|
||||||
/// </summary>
|
|
||||||
[Table("Subject")]
|
|
||||||
public class Subject : BaseFullDeleteAuditEntity
|
|
||||||
{
|
|
||||||
#region 导航属性
|
#region 导航属性
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public List<TaskStudy> TaskStudyList { get; set; } = new List<TaskStudy>();
|
public List<TaskStudy> TaskStudyList { get; set; } = new List<TaskStudy>();
|
||||||
|
@ -64,58 +64,70 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
public List<ClinicalForm> ClinicalFormList { get; set; }
|
public List<ClinicalForm> ClinicalFormList { get; set; }
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
public int? Age { get; set; }
|
||||||
|
|
||||||
|
public DateTime? BirthDate { get; set; }
|
||||||
|
|
||||||
|
[StringLength(400)]
|
||||||
|
public string Code { get; set; } = null!;
|
||||||
|
|
||||||
public Guid? FinalSubjectVisitId { get; set; }
|
public Guid? FinalSubjectVisitId { get; set; }
|
||||||
|
|
||||||
|
public DateTime? FirstGiveMedicineTime { get; set; }
|
||||||
|
|
||||||
public Guid TrialSiteId { get; set; }
|
[StringLength(400)]
|
||||||
|
public string FirstName { get; set; } = null!;
|
||||||
|
|
||||||
public string Code { get; set; } = string.Empty;
|
public string Height { get; set; } = null!;
|
||||||
public string FirstName { get; set; } = string.Empty;
|
|
||||||
public string LastName { get; set; } = string.Empty;
|
|
||||||
public int? Age { get; set; }
|
|
||||||
public string Sex { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
|
public bool IsEnrollment { get; set; }
|
||||||
|
|
||||||
|
public bool IsEnrollmentConfirm { get; set; }
|
||||||
|
|
||||||
|
public bool IsMissingImages { get; set; }
|
||||||
|
|
||||||
|
public bool IsReReadingOrBackInfluenceAnalysis { get; set; }
|
||||||
|
|
||||||
|
public bool IsUrgent { get; set; }
|
||||||
|
|
||||||
|
[StringLength(400)]
|
||||||
|
public string LastName { get; set; } = null!;
|
||||||
|
|
||||||
|
[Comment(" 最新受试者访视")]
|
||||||
public Guid? LatestSubjectVisitId { get; set; }
|
public Guid? LatestSubjectVisitId { get; set; }
|
||||||
|
|
||||||
|
[StringLength(400)]
|
||||||
|
public string MedicalNo { get; set; } = null!;
|
||||||
public Guid TrialId { get; set; } = Guid.Empty;
|
|
||||||
public string MedicalNo { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public SubjectStatus Status { get; set; } = SubjectStatus.OnVisit;//1 访视中,2 出组 3 访视结束
|
|
||||||
public string Reason { get; set; } = string.Empty;
|
|
||||||
public bool IsEnrollment { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
public DateTime? OutEnrollmentTime { get; set; }
|
public DateTime? OutEnrollmentTime { get; set; }
|
||||||
|
|
||||||
public DateTime? VisitOverTime { get; set; }
|
[Comment(" 出组原因")]
|
||||||
|
|
||||||
|
[MaxLength]
|
||||||
|
public string? Reason { get; set; }
|
||||||
|
|
||||||
public string ShortName { get; set; } = String.Empty;
|
[StringLength(400)]
|
||||||
|
public string Sex { get; set; } = null!;
|
||||||
|
|
||||||
public string Height { get; set; } = String.Empty;
|
[Comment(" 受试者名称缩写")]
|
||||||
|
public string ShortName { get; set; } = null!;
|
||||||
|
|
||||||
public string Weight { get; set; } = String.Empty;
|
[Comment(" 知情同意书签署日期")]
|
||||||
|
|
||||||
public DateTime? BirthDate { get; set; }
|
|
||||||
public DateTime? SignDate { get; set; }
|
public DateTime? SignDate { get; set; }
|
||||||
|
|
||||||
public int StudyCount { get; set; } = 0;
|
public SubjectStatus Status { get; set; } = SubjectStatus.OnVisit;
|
||||||
public string Modalities { get; set; } = string.Empty;
|
|
||||||
|
|
||||||
public DateTime? FirstGiveMedicineTime { get; set; }
|
|
||||||
|
|
||||||
public bool IsUrgent { get; set; }
|
public Guid TrialId { get; set; }
|
||||||
|
|
||||||
|
public Guid TrialSiteId { get; set; }
|
||||||
|
|
||||||
|
public DateTime? VisitOverTime { get; set; }
|
||||||
|
|
||||||
|
[StringLength(400)]
|
||||||
|
public string Weight { get; set; } = null!;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public bool IsReReadingOrBackInfluenceAnalysis { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue