using Furion.JsonSerialization; using YBEE.EQM.Core; namespace YBEE.EQM.Application; public class ExamCourseMapper : IRegister { public void Register(TypeAdapterConfig config) { config.ForType().Map(d => d.ScoreReportConfig, s => JSON.Deserialize(s.ScoreReportConfig, null)); config.ForType().Map(d => d.ScoreReportConfig, s => JSON.Deserialize(s.ScoreReportConfig, null)); } }