//--------------------------------------------------------------------
//     此代码由T4模板自动生成  byzhouhang 20210918
//	   生成时间 2024-03-22 15:44:37 
//     对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
//--------------------------------------------------------------------
using System.ComponentModel.DataAnnotations;
namespace IRaCIS.Core.Application.ViewModel
{
    ///  DicomAEView  列表视图模型 
    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; }
    }
    ///DicomAEQuery  列表查询参数模型
    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; }
    }
    /// DicomAEAddOrEdit  列表查询参数模型
    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; }
    }
}