添加项目文件。
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using IRaCIS.Core.Infrastructure.Extention;
|
||||
|
||||
namespace IRaCIS.Application.Contracts
|
||||
{
|
||||
public class CROCompanyDTO
|
||||
{
|
||||
public Guid? Id { get; set; }
|
||||
public string CROName { get; set; } = string.Empty;
|
||||
public string CROCode { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public class CroSelectDTO
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public string CROName { get; set; } = string.Empty;
|
||||
public string CROCode { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public class CROCompanyQueryDTO : PageInput
|
||||
{
|
||||
public string CROName { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public class CROCompanySelectSearchDTO
|
||||
{
|
||||
public string CROName { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using IRaCIS.Core.Infrastructure.Extention;
|
||||
|
||||
namespace IRaCIS.Application.Contracts
|
||||
{
|
||||
public class HospitalDTO : HospitalCommand
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public class HospitalCommand
|
||||
{
|
||||
public Guid? Id { get; set; }
|
||||
public string HospitalName { get; set; } = String.Empty;
|
||||
public string UniversityAffiliated { get; set; } = String.Empty;
|
||||
public string Country { get; set; } = String.Empty;
|
||||
public string Province { get; set; } = String.Empty;
|
||||
public string City { get; set; } = String.Empty;
|
||||
|
||||
|
||||
public string HospitalNameCN { get; set; } = String.Empty;
|
||||
public string UniversityAffiliatedCN { get; set; } = String.Empty;
|
||||
public string CountryCN { get; set; } = String.Empty;
|
||||
public string ProvinceCN { get; set; } = String.Empty;
|
||||
public string CityCN { get; set; } = String.Empty;
|
||||
}
|
||||
|
||||
public class HospitalQueryDTO : PageInput
|
||||
{
|
||||
public string HospitalName { get; set; } = string.Empty;
|
||||
public string Province { get; set; } = string.Empty;
|
||||
public string City { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using IRaCIS.Core.Infrastructure.Extention;
|
||||
|
||||
namespace IRaCIS.Application.Contracts
|
||||
{
|
||||
public class SponsorDTO
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public string SponsorName { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public class SponsorCommand
|
||||
{
|
||||
public Guid? Id { get; set; }
|
||||
public string SponsorName { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public class SponsorQueryDTO : PageInput
|
||||
{
|
||||
public string SponsorName { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public class SponsorSelectDTO
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public string SponsorName { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user