From 57b28e7356a7fb0d6ff3a6b6f197a1e415af206d Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Mon, 9 Jan 2023 11:51:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/Institution/DTO/SiteModel.cs | 6 ++++++ IRaCIS.Core.Domain/Institution/Hospital.cs | 2 +- IRaCIS.Core.Domain/Institution/Site.cs | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/Institution/DTO/SiteModel.cs b/IRaCIS.Core.Application/Service/Institution/DTO/SiteModel.cs index 98961697..b7ab48d6 100644 --- a/IRaCIS.Core.Application/Service/Institution/DTO/SiteModel.cs +++ b/IRaCIS.Core.Application/Service/Institution/DTO/SiteModel.cs @@ -17,11 +17,15 @@ namespace IRaCIS.Application.Contracts public string SiteCode { get; set; } = String.Empty; public string Address { get; set; } = String.Empty; + + public string Province { get; set; } = string.Empty; public string UniqueCode { get; set; } = string.Empty; public string AliasName { get; set; } = string.Empty; public string City { get; set; } = string.Empty; public string Country { get; set; } = string.Empty; + + public string Province { get; set; } = string.Empty; public Guid? HospitalId { get; set; } public string DirectorName { get; set; } = string.Empty; public string DirectorPhone { get; set; } = string.Empty; @@ -34,6 +38,8 @@ namespace IRaCIS.Application.Contracts public Guid Id { get; set; } public string SiteName { get; set; } = String.Empty; public string City { get; set; } = String.Empty; + + public string Province { get; set; } = string.Empty; public string Country { get; set; } = String.Empty; } diff --git a/IRaCIS.Core.Domain/Institution/Hospital.cs b/IRaCIS.Core.Domain/Institution/Hospital.cs index 4bd47354..683dc8d5 100644 --- a/IRaCIS.Core.Domain/Institution/Hospital.cs +++ b/IRaCIS.Core.Domain/Institution/Hospital.cs @@ -33,7 +33,7 @@ namespace IRaCIS.Core.Domain.Models [JsonIgnore] - [ForeignKey("SiteId")]] + [ForeignKey("SiteId")] public Site Site { get; set; } [JsonIgnore] diff --git a/IRaCIS.Core.Domain/Institution/Site.cs b/IRaCIS.Core.Domain/Institution/Site.cs index c89bcf9a..7465935f 100644 --- a/IRaCIS.Core.Domain/Institution/Site.cs +++ b/IRaCIS.Core.Domain/Institution/Site.cs @@ -21,6 +21,8 @@ namespace IRaCIS.Core.Domain.Models public Guid? HospitalId { get; set; } public int State { get; set; } + public string Province { get; set; } = string.Empty; + public string UniqueCode { get; set; } = string.Empty; public string Address { get; set; }