diff --git a/IRaCIS.Core.Application/Service/Doctor/DTO/DoctorModel.cs b/IRaCIS.Core.Application/Service/Doctor/DTO/DoctorModel.cs index 721359c42..871908244 100644 --- a/IRaCIS.Core.Application/Service/Doctor/DTO/DoctorModel.cs +++ b/IRaCIS.Core.Application/Service/Doctor/DTO/DoctorModel.cs @@ -204,6 +204,8 @@ namespace IRaCIS.Application.Contracts public string City { get; set; } = string.Empty; public string HospitalName { get; set; } = string.Empty; + + public string HospitalNameCN { get; set; } = string.Empty; public string Country { get; set; } = string.Empty; } @@ -265,6 +267,8 @@ namespace IRaCIS.Application.Contracts public List SubspecialityIds => DictionaryList.Where(t => t.ParentCode == StaticData.Subspeciality).OrderBy(t => t.ShowOrder).Select(t => t.Id).ToList(); public Guid? HospitalId { get; set; } + + } diff --git a/IRaCIS.Core.Application/Service/Doctor/_MapConfig.cs b/IRaCIS.Core.Application/Service/Doctor/_MapConfig.cs index cb4a52055..1a01c00d9 100644 --- a/IRaCIS.Core.Application/Service/Doctor/_MapConfig.cs +++ b/IRaCIS.Core.Application/Service/Doctor/_MapConfig.cs @@ -210,6 +210,8 @@ namespace IRaCIS.Core.Application.Service .ForMember(d => d.SpecialityCN, u => u.MapFrom(s => s.Doctor.Speciality.ValueCN)) .ForMember(d => d.Id, u => u.MapFrom(s => s.Doctor.Id)) .ForMember(d => d.Code, u => u.MapFrom(s => s.DoctorUser.UserName)) + .ForMember(d => d.HospitalName, u => u.MapFrom(s => s.Doctor.HospitalName)) + .ForMember(d => d.HospitalNameCN, u => u.MapFrom(s => s.Doctor.HospitalNameCN)) ; CreateMap(); CreateMap();