75 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			C#
		
	
	
			
		
		
	
	
			75 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			C#
		
	
	
| //--------------------------------------------------------------------
 | |
| //     此代码由T4模板自动生成  byzhouhang 20210918
 | |
| //	   生成时间 2024-03-22 15:44:37 
 | |
| //     对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
 | |
| //--------------------------------------------------------------------
 | |
| using System.ComponentModel.DataAnnotations;
 | |
| namespace IRaCIS.Core.Application.ViewModel
 | |
| {
 | |
|     /// <summary> DicomAEView  列表视图模型 </summary>
 | |
|     public class DicomAEView : DicomAEAddOrEdit
 | |
|     {
 | |
|         public DateTime CreateTime { get; set; }
 | |
|         public Guid CreateUserId { get; set; }
 | |
|         public Guid UpdateUserId { get; set; }
 | |
|         public DateTime UpdateTime { get; set; }
 | |
| 
 | |
|         public DateTime? LatestTestTime { get; set; }
 | |
| 
 | |
| 
 | |
|         //public bool IsPACSConnect { get; set; }
 | |
| 
 | |
|         //public bool IsTrialPACSConfirmed { get; set; }
 | |
| 
 | |
|     }
 | |
| 
 | |
|     ///<summary>DicomAEQuery  列表查询参数模型</summary>
 | |
|     public class DicomAEQuery : PageInput
 | |
|     {
 | |
|         public Guid? TrialId { get; set; }
 | |
| 
 | |
|         public string? CalledAE { get; set; }
 | |
| 
 | |
|         public string? IP { get; set; }
 | |
| 
 | |
| 
 | |
|         public int? Port { get; set; }
 | |
| 
 | |
| 
 | |
|         public string? Modality { get; set; }
 | |
| 
 | |
|         public string? Description { get; set; }
 | |
|     }
 | |
| 
 | |
|     ///<summary> DicomAEAddOrEdit  列表查询参数模型</summary>
 | |
|     public class DicomAEAddOrEdit
 | |
|     {
 | |
|         public Guid? Id { get; set; }
 | |
| 
 | |
|         [NotDefault]
 | |
|         public Guid TrialId { get; set; }
 | |
| 
 | |
|         public string CalledAE { get; set; } = string.Empty;
 | |
|         public string IP { get; set; } = string.Empty;
 | |
|         public int? Port { get; set; }
 | |
|         public string Modality { get; set; } = string.Empty;
 | |
|         public string Description { get; set; } = string.Empty;
 | |
| 
 | |
| 
 | |
|         public bool IsPACSConnect { get; set; }
 | |
| 
 | |
|         public bool? IsTestOK { get; set; }
 | |
|     }
 | |
| 
 | |
|     public class TestAECommand
 | |
|     {
 | |
|         public string CalledAE { get; set; } = string.Empty;
 | |
|         public string IP { get; set; } = string.Empty;
 | |
|         public int Port { get; set; }
 | |
|     }
 | |
| 
 | |
| 
 | |
| }
 | |
| 
 | |
| 
 |