增加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,10 +3,6 @@
// 生成时间 2022-01-05 09:17:10
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
//--------------------------------------------------------------------
using IRaCIS.Core.Domain.Models;
using IRaCIS.Core.Infrastructure.Extention;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace IRaCIS.Core.Application.Contracts
@@ -18,9 +14,9 @@ namespace IRaCIS.Core.Application.Contracts
public DateTime CreateTime { get; set; }
public DateTime UpdateTime { get; set; }
public string FileType { get; set; } = string.Empty;
public string FileType { get; set; } = string.Empty;
public List<NeedConfirmedUserTypeView> NeedConfirmedUserTypeList { get; set; }=new List<NeedConfirmedUserTypeView>();
public List<NeedConfirmedUserTypeView> NeedConfirmedUserTypeList { get; set; } = new List<NeedConfirmedUserTypeView>();
}
public class UnionDocumentView : SystemDocumentAddOrEdit
@@ -31,11 +27,11 @@ namespace IRaCIS.Core.Application.Contracts
public bool IsSystemDoc { get; set; }
public string FileType { get; set; } = string.Empty;
public string FileType { get; set; } = string.Empty;
}
public class TrialSignDocView:UnionDocumentWithConfirmInfoView
public class TrialSignDocView : UnionDocumentWithConfirmInfoView
{
public string TrialCode { get; set; }
public string ResearchProgramNo { get; set; }
@@ -45,9 +41,9 @@ namespace IRaCIS.Core.Application.Contracts
}
public class UnionDocumentWithConfirmInfoView: UnionDocumentView
public class UnionDocumentWithConfirmInfoView : UnionDocumentView
{
public DateTime? ConfirmTime { get; set; }
@@ -60,7 +56,7 @@ namespace IRaCIS.Core.Application.Contracts
public string RealName { get; set; } = string.Empty;
public Guid UserTypeId { get; set; }
public Guid UserTypeId { get; set; }
public string UserTypeShortName { get; set; } = string.Empty;
}
@@ -73,7 +69,7 @@ namespace IRaCIS.Core.Application.Contracts
public string RealName { get; set; } = string.Empty;
}
public class DocumentUnionWithUserStatView: UnionDocumentView
public class DocumentUnionWithUserStatView : UnionDocumentView
{
public int? DocumentUserCount { get; set; }
public int? DocumentConfirmedUserCount { get; set; }
@@ -97,7 +93,7 @@ namespace IRaCIS.Core.Application.Contracts
}
@@ -131,7 +127,7 @@ namespace IRaCIS.Core.Application.Contracts
public Guid? FileTypeId { get; set; }
public string TrialCode { get; set;} = string.Empty;
public string TrialCode { get; set; } = string.Empty;
public string Name { get; set; } = string.Empty;
@@ -140,7 +136,7 @@ namespace IRaCIS.Core.Application.Contracts
}
public class TrialUserDocUnionQuery: PageInput
public class TrialUserDocUnionQuery : PageInput
{
[NotDefault]
public Guid TrialId { get; set; }
@@ -156,7 +152,7 @@ namespace IRaCIS.Core.Application.Contracts
public class UserConfirmCommand
{
[NotDefault]
public Guid DocumentId { get; set; }
@@ -168,14 +164,14 @@ namespace IRaCIS.Core.Application.Contracts
public class DocumentTrialUnionQuery : TrialUserDocUnionQuery
{
public Guid? UserTypeId { get; set; }
public Guid? UserId { get; set; }
public bool? IsConfirmed { get; set; }
public bool? IsConfirmed { get; set; }
public bool? IsDeleted { get; set; }
}
public bool? IsDeleted { get; set; }
}
///<summary> SystemDocumentAddOrEdit 列表查询参数模型</summary>
public class SystemDocumentAddOrEdit
@@ -194,7 +190,7 @@ namespace IRaCIS.Core.Application.Contracts
public class AddOrEditSystemDocument : SystemDocumentAddOrEdit
{
public List<Guid> NeedConfirmedUserTypeIdList { get; set; }=new List<Guid>();
public List<Guid> NeedConfirmedUserTypeIdList { get; set; } = new List<Guid>();
}
}
@@ -3,8 +3,6 @@
// 生成时间 2022-01-05 09:17:10
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
//--------------------------------------------------------------------
using System;
using System.Collections.Generic;
namespace IRaCIS.Core.Application.Contracts
{
/// <summary> TrialDocumentUserConfirmView 列表视图模型 </summary>
@@ -28,7 +26,7 @@ namespace IRaCIS.Core.Application.Contracts
public class NeedConfirmedUserTypeView
@@ -39,7 +37,7 @@ namespace IRaCIS.Core.Application.Contracts
}
}
@@ -4,7 +4,6 @@
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
//--------------------------------------------------------------------
using IRaCIS.Core.Infrastructure.Extention;
using System.ComponentModel.DataAnnotations;
namespace IRaCIS.Core.Application.Contracts
@@ -14,7 +13,7 @@ namespace IRaCIS.Core.Application.Contracts
{
public string FullFilePath { get; set; } = String.Empty;
public bool IsSomeUserSigned{get;set;}
public bool IsSomeUserSigned { get; set; }
public DateTime CreateTime { get; set; }
public Guid CreateUserId { get; set; }
@@ -33,8 +32,8 @@ namespace IRaCIS.Core.Application.Contracts
///<summary>TrialDocumentQuery 列表查询参数模型</summary>
public class TrialDocumentQuery : PageInput
{
public bool? IsDeleted { get; set; }
public Guid? FileTypeId { get; set; }
public bool? IsDeleted { get; set; }
public Guid? FileTypeId { get; set; }
public Guid? UserTypeId { get; set; }
@@ -63,7 +62,7 @@ namespace IRaCIS.Core.Application.Contracts
}
public class AddOrEditTrialDocument: TrialDocumentAddOrEdit
public class AddOrEditTrialDocument : TrialDocumentAddOrEdit
{
public List<Guid> NeedConfirmedUserTypeIdList { get; set; } = new List<Guid>();
@@ -71,7 +70,7 @@ namespace IRaCIS.Core.Application.Contracts
}
@@ -3,11 +3,8 @@
// 生成时间 2022-10-20 11:52:31
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
//--------------------------------------------------------------------
using System;
using IRaCIS.Core.Domain.Share;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Newtonsoft.Json;
namespace IRaCIS.Core.Application.ViewModel
{