diff --git a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml index fbcb10d6a..62ac3efaa 100644 --- a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml +++ b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml @@ -10011,6 +10011,46 @@ 文件类型 + + + 文件名称 + + + + + 文件路径 + + + + + 标准类型 + + + + + 医生Id + + + + + 备注 + + + + + 文件类型 + + + + + CreateUserId + + + + + CreateTime + + 文件类型 @@ -10051,6 +10091,41 @@ 后台查询模型 + + + 文件名称 + + + + + 文件路径 + + + + + 标准类型 + + + + + 医生Id + + + + + 备注 + + + + + 文件类型 + + + + + 待办数量 + + 获取是和否 diff --git a/IRaCIS.Core.Domain/Management/User.cs b/IRaCIS.Core.Domain/Management/User.cs index 4239ad586..2aa4d1e0e 100644 --- a/IRaCIS.Core.Domain/Management/User.cs +++ b/IRaCIS.Core.Domain/Management/User.cs @@ -19,6 +19,7 @@ namespace IRaCIS.Core.Domain.Models public List UserDoctors { get; set; } = new List(); [JsonIgnore] public List UserTrials { get; set; } = new List(); + [JsonIgnore] public List VisitTaskList { get; set; } diff --git a/IRaCIS.Core.Infra.EFCore/EntityConfigration/DoctorConfigration.cs b/IRaCIS.Core.Infra.EFCore/EntityConfigration/DoctorConfigration.cs index afcafa48f..7c6cc7b08 100644 --- a/IRaCIS.Core.Infra.EFCore/EntityConfigration/DoctorConfigration.cs +++ b/IRaCIS.Core.Infra.EFCore/EntityConfigration/DoctorConfigration.cs @@ -22,6 +22,25 @@ namespace IRaCIS.Core.Infra.EFCore.EntityConfigration .WithMany(d => d.DoctorDicRelationList) .HasForeignKey(dd => dd.DictionaryId); } + + + } + + public class DoctorTaskConfigration : IEntityTypeConfiguration + { + + + public void Configure(EntityTypeBuilder builder) + { + builder + .HasOne(dd => dd.DoctorUser) + .WithMany(p => p.VisitTaskList) + .HasForeignKey(dd => dd.DoctorUserId); + + + } + + } public class DictionaryConfigration : IEntityTypeConfiguration