This commit is contained in:
2025-10-20 12:36:33 +08:00
parent 958593b35d
commit 252a99d586
9 changed files with 283 additions and 14 deletions

View File

@@ -48,5 +48,7 @@ public class MappingProfile : Profile
CreateMap<DbTrigger, Trigger>()
.ForMember(dest => dest.Variables, opt => opt.Ignore()) // 忽略Variables属性映射因为可能需要特殊处理
.ReverseMap();
CreateMap<DbTriggerVariable, TriggerVariable>().ReverseMap();
}
}
}