76 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			C#
		
	
	
			
		
		
	
	
			76 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			C#
		
	
	
| //--------------------------------------------------------------------
 | |
| //     此代码由T4模板自动生成  byzhouhang 20210918
 | |
| //	   生成时间 2022-01-05 09:17:10 
 | |
| //     对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
 | |
| //--------------------------------------------------------------------
 | |
| 
 | |
| using IRaCIS.Core.Infrastructure.Extention;
 | |
| using System.ComponentModel.DataAnnotations;
 | |
| 
 | |
| namespace IRaCIS.Core.Application.Contracts
 | |
| {
 | |
|     /// <summary> TrialDocumentView  列表视图模型 </summary>
 | |
|     public class TrialDocumentView : TrialDocumentAddOrEdit
 | |
|     {
 | |
|         public string FullFilePath { get; set; } = String.Empty;
 | |
| 
 | |
|         public bool IsSomeUserSigned{get;set;}
 | |
| 
 | |
|         public DateTime CreateTime { get; set; }
 | |
|         public Guid CreateUserId { get; set; }
 | |
|         public DateTime UpdateTime { get; set; }
 | |
|         public Guid UpdateUserId { get; set; }
 | |
| 
 | |
|         public string FileType { get; set; } = string.Empty;
 | |
| 
 | |
|         public List<NeedConfirmedUserTypeView> NeedConfirmedUserTypeList { get; set; } = new List<NeedConfirmedUserTypeView>();
 | |
| 
 | |
| 
 | |
|     }
 | |
| 
 | |
| 
 | |
| 
 | |
|     ///<summary>TrialDocumentQuery  列表查询参数模型</summary>
 | |
|     public class TrialDocumentQuery : PageInput
 | |
|     {
 | |
| 
 | |
|         public Guid? FileTypeId { get; set; }
 | |
| 
 | |
|         public string Name { get; set; } = String.Empty;
 | |
| 
 | |
|         [NotDefault]
 | |
|         public Guid TrialId { get; set; }
 | |
| 
 | |
|     }
 | |
| 
 | |
|     ///<summary> TrialDocumentAddOrEdit  列表查询参数模型</summary>
 | |
|     public class TrialDocumentAddOrEdit
 | |
|     {
 | |
|         public Guid? Id { get; set; }
 | |
|         public Guid TrialId { get; set; }
 | |
| 
 | |
|         public Guid FileTypeId { get; set; }
 | |
|         public string Name { get; set; } = String.Empty;
 | |
|         public string Path { get; set; } = String.Empty;
 | |
| 
 | |
|         [MaxLength(250)]
 | |
|         public string Description { get; set; } = String.Empty;
 | |
|         public bool IsDeleted { get; set; }
 | |
| 
 | |
|         public int SignViewMinimumMinutes { get; set; }
 | |
| 
 | |
|     }
 | |
| 
 | |
|     public class AddOrEditTrialDocument: TrialDocumentAddOrEdit
 | |
|     {
 | |
| 
 | |
|         public List<Guid> NeedConfirmedUserTypeIdList { get; set; } = new List<Guid>();
 | |
|     }
 | |
| 
 | |
| 
 | |
| 
 | |
|    
 | |
| }
 | |
| 
 | |
| 
 |