增加Global Using
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-09-20 10:19:08 +08:00
parent 115017197b
commit fc30cb39ee
408 changed files with 11031 additions and 12556 deletions
@@ -3,9 +3,6 @@
// 生成时间 2021-12-06 10:56:50
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
//--------------------------------------------------------------------
using IRaCIS.Core.Application.Service.Inspection.DTO;
using Microsoft.AspNetCore.Http;
namespace IRaCIS.Core.Application.Contracts
{
/// <summary> NoneDicomStudyFileView 列表视图模型 </summary>
@@ -3,16 +3,14 @@
// 生成时间 2021-12-06 10:56:50
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
//--------------------------------------------------------------------
using System;
using System.Collections.Generic;
namespace IRaCIS.Core.Application.Contracts
{
/// <summary> NoneDicomStudyView 列表视图模型 </summary>
public class NoneDicomStudyView:NoneDicomStudyAddOrEdit
public class NoneDicomStudyView : NoneDicomStudyAddOrEdit
{
public DateTime UpdateTime { get; set; }
public string CodeView { get; set; }
public int FileCount { get; set; }
public List<NoneDicomStudyFileView> NoneDicomStudyFileList { get; set; } = new List<NoneDicomStudyFileView>();
@@ -20,7 +18,7 @@ namespace IRaCIS.Core.Application.Contracts
}
public class TaskDicomStudyView: NoneDicomStudyView
public class TaskDicomStudyView : NoneDicomStudyView
{
}
@@ -43,14 +41,14 @@ namespace IRaCIS.Core.Application.Contracts
public class NoneDicomStudyAddOrEdit
{
public Guid? Id { get; set; }
public Guid TrialId { 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 Description { get; set; } = string.Empty;
public int Code { get; set; }
@@ -68,7 +66,7 @@ namespace IRaCIS.Core.Application.Contracts
public class NoneDicomStudyAddReturnDto
{
public Guid Id{ get; set; }
public Guid Id { get; set; }
public string StudyCode { get; set; } = string.Empty;
}
@@ -3,8 +3,6 @@
// 生成时间 2021-11-22 11:27:53
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
//--------------------------------------------------------------------
using System;
using System.Collections.Generic;
namespace IRaCIS.Core.Application.Contracts
{
/// <summary> PreviousOtherView 列表视图模型 </summary>
@@ -41,13 +39,13 @@ namespace IRaCIS.Core.Application.Contracts
public class PreviousOtherAddOrEdit
{
public Guid? Id { get; set; }
public DateTime? StartTime { get; set; }
public DateTime? EndTime { get; set; }
public bool IsPD { get; set; }
public Guid? SubjectVisitId { get; set; }
public bool IsSubjectLevel { get; set; } = true;
public string Path { get; set; }=String.Empty;
public string Path { get; set; } = String.Empty;
public string FileName { get; set; } = String.Empty;
public string TreatmentType { get; set; } = String.Empty;
@@ -38,7 +38,7 @@ namespace IRaCIS.Core.Application.Contracts
public class PreviousSurgeryAddOrEdit
{
public Guid? Id { get; set; }
public DateTime? OperationTime { get; set; }
public Guid? SubjectVisitId { get; set; }
public bool IsSubjectLevel { get; set; } = true;
@@ -97,7 +97,7 @@ namespace IRaCIS.Core.Application.Contracts
public Guid? SubjectId { get; set; }
}
///<summary> PreviousPDFAddOrEdit 列表查询参数模型</summary>
public class PreviousPDFAddOrEdit
@@ -1,5 +1,4 @@
using IRaCIS.Application.Contracts;
using IRaCIS.Core.Domain.Share;
using IRaCIS.Core.Domain.Share;
using Newtonsoft.Json;
namespace IRaCIS.Core.Application.Contracts.DTO
@@ -169,7 +168,7 @@ namespace IRaCIS.Core.Application.Contracts.DTO
}
public class GetConsistencyCheckFileInDto:PageInput
public class GetConsistencyCheckFileInDto : PageInput
{
public Guid TrialId { get; set; }
@@ -241,9 +240,9 @@ namespace IRaCIS.Core.Application.Contracts.DTO
}
public class ChallengeAndDialog: QCChallengeWithUser
public class ChallengeAndDialog : QCChallengeWithUser
{
public List<QCChanllengeDialogDTO> DialogList { get; set; } = new List<QCChanllengeDialogDTO>();
}
@@ -254,8 +253,8 @@ namespace IRaCIS.Core.Application.Contracts.DTO
public class TrialVisitQADTO
{
public bool ExistsManual { get; set; }
public bool IsHaveStudyClinicalData { get; set; }
public SubjectClinicalDataDto SubjectClinicalData { get; set; } = new SubjectClinicalDataDto();
public bool IsHaveStudyClinicalData { get; set; }
public SubjectClinicalDataDto SubjectClinicalData { get; set; } = new SubjectClinicalDataDto();
public List<NoneDicomStudyView> NoneDicomStudyList { get; set; } = new List<NoneDicomStudyView>();
@@ -391,7 +390,7 @@ namespace IRaCIS.Core.Application.Contracts.DTO
public bool IsCompleteClinicalData { get; set; }
}
}
public class QASeriesInfoDto
{
@@ -475,12 +474,13 @@ namespace IRaCIS.Core.Application.Contracts.DTO
public List<ParamInfoDto> ParamInfoList
{
get {
get
{
try
{
return JsonConvert.DeserializeObject<List<ParamInfoDto>>(ParamInfo);
return JsonConvert.DeserializeObject<List<ParamInfoDto>>(ParamInfo);
}
catch (Exception )
catch (Exception)
{
return new List<ParamInfoDto>();
@@ -1,15 +1,11 @@
using IRaCIS.Core.API._ServiceExtensions.NewtonsoftJson;
using IRaCIS.Core.Application.Contracts.DTO;
using IRaCIS.Core.Application.Helper;
using IRaCIS.Core.Application.ViewModel;
using IRaCIS.Core.Domain.Share;
using MiniExcelLibs.Attributes;
using Newtonsoft.Json;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Web;
using static MassTransit.ValidationResultExtensions;
namespace IRaCIS.Core.Application.Contracts
{
@@ -4,8 +4,6 @@
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
//--------------------------------------------------------------------
using IRaCIS.Core.Domain.Share;
using System;
using System.Collections.Generic;
namespace IRaCIS.Core.Application.Contracts
{
@@ -22,11 +20,11 @@ namespace IRaCIS.Core.Application.Contracts
public Guid Id { get; set; }
public string QuestionName { get; set; } = String.Empty;
/// <summary>
/// 语言类型
/// </summary>
public LanguageType LanguageType { get; set; } = LanguageType.Chinese;
public bool IsRequired { get; set; }
/// <summary>
/// 语言类型
/// </summary>
public LanguageType LanguageType { get; set; } = LanguageType.Chinese;
public bool IsRequired { get; set; }
public bool IsEnable { get; set; }
public string Type { get; set; } = String.Empty;
public string ParentTriggerValue { get; set; }
@@ -50,11 +48,11 @@ namespace IRaCIS.Core.Application.Contracts
public Guid Id { get; set; }
public string QuestionName { get; set; } = String.Empty;
/// <summary>
/// 语言类型
/// </summary>
public LanguageType LanguageType { get; set; } = LanguageType.Chinese;
public bool IsRequired { get; set; }
/// <summary>
/// 语言类型
/// </summary>
public LanguageType LanguageType { get; set; } = LanguageType.Chinese;
public bool IsRequired { get; set; }
public bool IsEnable { get; set; }
public string Type { get; set; } = String.Empty;
public string ParentTriggerValue { get; set; }
@@ -63,7 +61,7 @@ namespace IRaCIS.Core.Application.Contracts
public int ShowOrder { get; set; }
public string ParentQuestionName { get; set; } = String.Empty;
public int? ParentShowOrder { get; set; }
public Guid CreateUserId { get; set; }
@@ -73,18 +71,18 @@ namespace IRaCIS.Core.Application.Contracts
}
///<summary>QCQuestionQuery 列表查询参数模型</summary>
public class QCQuestionQuery:PageInput
public class QCQuestionQuery : PageInput
{
///<summary> QuestionName</summary>
public string QuestionName { get; set; } = String.Empty;
/// <summary>
/// 语言类型
/// </summary>
public LanguageType? LanguageType { get; set; }
/// <summary>
/// 语言类型
/// </summary>
public LanguageType? LanguageType { get; set; }
///<summary> TypeValue</summary>
public string Type { get; set; } = String.Empty;
///<summary> TypeValue</summary>
public string Type { get; set; } = String.Empty;
public bool? IsEnable { get; set; }
@@ -101,11 +99,11 @@ namespace IRaCIS.Core.Application.Contracts
public Guid? Id { get; set; }
public string QuestionName { get; set; } = String.Empty;
/// <summary>
/// 语言类型
/// </summary>
public LanguageType LanguageType { get; set; } = LanguageType.Chinese;
public bool IsRequired { get; set; }
/// <summary>
/// 语言类型
/// </summary>
public LanguageType LanguageType { get; set; } = LanguageType.Chinese;
public bool IsRequired { get; set; }
public bool IsEnable { get; set; }
public string Type { get; set; } = String.Empty;
@@ -15,11 +15,11 @@ namespace IRaCIS.Core.Application.Contracts
public Guid TrialId { get; set; }
public string QuestionName { get; set; } = string.Empty;
/// <summary>
/// 语言类型
/// </summary>
public LanguageType LanguageType { get; set; } = LanguageType.Chinese;
public bool IsRequired { get; set; }
/// <summary>
/// 语言类型
/// </summary>
public LanguageType LanguageType { get; set; } = LanguageType.Chinese;
public bool IsRequired { get; set; }
public bool IsEnable { get; set; }
public string Type { get; set; } = string.Empty;
public string TypeValue { get; set; } = string.Empty;
@@ -52,7 +52,7 @@ namespace IRaCIS.Core.Application.Contracts
public Guid? Id { get; set; }
public string[] TypeArray { get; set; }=new string[0];
public string[] TypeArray { get; set; } = new string[0];
}
public class TrialQCQuestionSelect
@@ -60,12 +60,12 @@ namespace IRaCIS.Core.Application.Contracts
public Guid Id { get; set; }
public string QuestionName { get; set; } = string.Empty;
/// <summary>
/// 语言类型
/// </summary>
public LanguageType LanguageType { get; set; } = LanguageType.Chinese;
/// <summary>
/// 语言类型
/// </summary>
public LanguageType LanguageType { get; set; } = LanguageType.Chinese;
public Guid? ParentId { get; set; }
public Guid? ParentId { get; set; }
public int ShowOrder { get; set; }
public string TypeValue { get; set; }
@@ -84,13 +84,13 @@ namespace IRaCIS.Core.Application.Contracts
///<summary> QuestionName</summary>
public string QuestionName { get; set; } = string.Empty;
/// <summary>
/// 语言类型
/// </summary>
public LanguageType? LanguageType { get; set; }
/// <summary>
/// 语言类型
/// </summary>
public LanguageType? LanguageType { get; set; }
///<summary> TypeValue</summary>
public string Type { get; set; }=String.Empty;
///<summary> TypeValue</summary>
public string Type { get; set; } = String.Empty;
public bool? IsEnable { get; set; }
@@ -100,7 +100,7 @@ namespace IRaCIS.Core.Application.Contracts
}
///<summary> TrialQCQuestionAddOrEdit 列表查询参数模型</summary>
public class TrialQCQuestionAddOrEdit:TrialQCQuestionConfigureBatchAdd
public class TrialQCQuestionAddOrEdit : TrialQCQuestionConfigureBatchAdd
{
public Guid TrialId { get; set; }
@@ -115,15 +115,15 @@ namespace IRaCIS.Core.Application.Contracts
}
public class TrialQCQuestionConfigureBatchAdd
{
public Guid? Id { get; set; }
public string QuestionName { get; set; } = string.Empty;
/// <summary>
/// 语言类型
/// </summary>
public LanguageType LanguageType { get; set; } = LanguageType.Chinese;
public bool IsRequired { get; set; }
/// <summary>
/// 语言类型
/// </summary>
public LanguageType LanguageType { get; set; } = LanguageType.Chinese;
public bool IsRequired { get; set; }
public bool IsEnable { get; set; }
public string Type { get; set; } = string.Empty;
public Guid? ParentId { get; set; }