diff --git a/IRaCIS.Core.Application/Service/Institution/DTO/SiteModel.cs b/IRaCIS.Core.Application/Service/Institution/DTO/SiteModel.cs index 989616973..b7ab48d64 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 4bd473546..683dc8d5a 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 c89bcf9a1..7465935fa 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; }