using Furion.JsonSerialization; using YBEE.EQM.Core; namespace YBEE.EQM.Application; /// /// 附件信息转换 /// public class AttachmentMapper : IRegister { public void Register(TypeAdapterConfig config) { config.ForType().Map(d => d.AttachmentList, s => JSON.Deserialize>(s.Attachments, null)); config.ForType().Map(d => d.AttachmentList, s => JSON.Deserialize>(s.Attachments, null)); } }