47 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			C#
		
	
	
			
		
		
	
	
			47 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			C#
		
	
	
using System;
 | 
						|
using IRaCIS.Core.Infrastructure.Extention;
 | 
						|
 | 
						|
namespace IRaCIS.Application.Contracts
 | 
						|
{
 | 
						|
    public class SiteDTO: SiteCommand
 | 
						|
    {
 | 
						|
       
 | 
						|
    }
 | 
						|
 | 
						|
    public class SiteCommand
 | 
						|
    {
 | 
						|
        public Guid? Id { get; set; }
 | 
						|
        public string SiteName { get; set; } = String.Empty;
 | 
						|
        public string SiteCode { get; set; } = String.Empty;
 | 
						|
 | 
						|
        public string Address { get; set; } = String.Empty;
 | 
						|
        public string UniqueCode { get; set; } = string.Empty;
 | 
						|
        public string City { get; set; } = string.Empty;
 | 
						|
        public string Country { get; set; } = string.Empty;
 | 
						|
        public Guid? HospitalId { get; set; } 
 | 
						|
        public string DirectorName { get; set; } = string.Empty;
 | 
						|
        public string DirectorPhone { get; set; } = string.Empty;
 | 
						|
        public string ContactName { get; set; } = string.Empty;
 | 
						|
        public string ContactPhone { get; set; } = string.Empty;
 | 
						|
    }
 | 
						|
 | 
						|
    public class SiteSelectionDTO
 | 
						|
    {
 | 
						|
        public Guid Id { get; set; }
 | 
						|
        public string SiteName { get; set; } = String.Empty;
 | 
						|
        public string City { get; set; } = String.Empty;
 | 
						|
        public string Country { get; set; } = String.Empty;
 | 
						|
    }
 | 
						|
 | 
						|
    public class SiteSelectDTO : SiteDTO
 | 
						|
    {
 | 
						|
        public string HospitalName { get; set; } = String.Empty;
 | 
						|
        public bool IsSelect { get; set; }
 | 
						|
    }
 | 
						|
 | 
						|
    public class SiteQueryParam : PageInput
 | 
						|
    {
 | 
						|
        public string SiteName { get; set; } = String.Empty;
 | 
						|
        public Guid UserId { get; set; } = Guid.Empty;
 | 
						|
    }
 | 
						|
} |