Test_IRC_Net8
he 2025-03-18 15:20:05 +08:00
parent 5cf8c7a898
commit d34f3f1576
2 changed files with 6 additions and 0 deletions

View File

@ -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<Guid> SubspecialityIds => DictionaryList.Where(t => t.ParentCode == StaticData.Subspeciality).OrderBy(t => t.ShowOrder).Select(t => t.Id).ToList();
public Guid? HospitalId { get; set; }
}

View File

@ -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<Doctor, ConfirmationReviewerDTO>();
CreateMap<Hospital, ConfirmationReviewerDTO>();